Error while compiling mDNSResponder on ubuntu linux -
i'm trying compile mdnsresponder-320.10.80
on ubuntu 14.04. getting following error. same has been compiled on fedora successfully. please suggest me possible solution it.
../mdnsshared/dnsextd_parser.y: in function ‘yyparse’: ../mdnsshared/dnsextd_parser.y:188:22: error: ‘context’ undeclared (first use in function) ( ( daemoninfo* ) context )->private_port = mdnsopaque16fromintval( $3 ); ^ ../mdnsshared/dnsextd_parser.y:188:22: note: each undeclared identifier reported once each function appears in ../mdnsshared/dnsextd_parser.y: in function ‘parseconfig’: ../mdnsshared/dnsextd_parser.y:448:2: error: many arguments function ‘yyparse’ err = yyparse( ( void* ) d ); ^ objects/prod/dnsextd_parser.c:1125:1: note: declared here yyparse (void) ^ make: *** [objects/prod/dnsextd_parser.y.o] error 1
br gaurav singla
ubuntu 14.04 upgraded bison 3 dropped support yyparse_param had been deprecated while ago. see news section in: http://savannah.gnu.org/forum/forum.php?forum_id=7663 why dnsextd_parser.y fails on ubuntu 14.04.
there few patches around (search "patch dnsextd_parser.y") make dnsextd_parser.y compatible bison 3. used 1 from: http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/net/mdnsresponder/patches/patch-mdnsshared_dnsextd__parser.y
Comments
Post a Comment