The Samba-Bugzilla – Bug 12528
Flex/yacc global symbol name clash between Heimdal and mdssvc
Last modified: 2017-01-31 06:34:29 UTC
When building with --nonshared-binary=smbd/smbd:
[3139/3620] Linking default/source3/smbd/smbd
default/source4/heimdal/lib/hx509/sel-lex_116.o: In function `yy_get_previous_state':
/usr/build/packages/samba-4.5/bin/../source4/heimdal/lib/hx509/sel-lex.c:1122:multiple definition of `yyin'
default/source3/rpc_server/mdssvc/sparql_lexer_28.o:/usr/build/packages/samba-4.5/bin/sparql_lexer.c:1149:first defined here
The fix is to use namespace prefixes in the parser and the lexer as described here:
Patch to follow...
Created attachment 12873 [details]
Patch for 4.4 cherry-picked from master
Created attachment 12875 [details]
Patch for 4.5 cherry-picked from master
Created attachment 12876 [details]
Patch for 4.6 cherry-picked from master