[Dnsmasq-discuss] Compilation failure for v2.60 test version

Shantanu Gadgil shantanugadgil at yahoo.com
Mon Nov 28 07:18:31 GMT 2011


Hi,

I got the following errors when trying to compile the v2.60. Some variable declarations are missing. I could get past a couple of errors, but then I was stumped while trying to fix the third, so I stopped! :)

Regards,
Shantanu

--- snip --
...
...
cc -Wall -W -O2     -c dhcp6.c
dhcp6.c: In function ‘dhcp6_packet’:
dhcp6.c:147: error: ‘context’ undeclared (first use in this function)
dhcp6.c:147: error: (Each undeclared identifier is reported only once
dhcp6.c:147: error: for each function it appears in.)
dhcp6.c:150: error: ‘parm’ undeclared (first use in this function)
dhcp6.c:151: error: ‘iface_index’ undeclared (first use in this function)
dhcp6.c:153: error: ‘complete_context6’ undeclared (first use in this function)
dhcp6.c:159: error: ‘iov’ undeclared (first use in this function)
dhcp6.c:159: error: ‘ifr’ undeclared (first use in this function)
dhcp6.c:160: error: ‘unicast_dest’ undeclared (first use in this function)
dhcp6.c:160: error: ‘is_inform’ undeclared (first use in this function)
dhcp6.c:160: error: ‘pxe_fd’ undeclared (first use in this function)
dhcp6.c:160: error: ‘iface_addr’ undeclared (first use in this function)
dhcp6.c: In function ‘complete_context6’:
dhcp6.c:192: error: expected declaration or statement at end of input
dhcp6.c:192: warning: no return statement in function returning non-void
dhcp6.c:173: warning: unused parameter ‘scope’
make[1]: *** [dhcp6.o] Error 1
make[1]: Leaving directory `/data/sources/dnsmasq-2.60/src'
make: *** [all] Error 2
--- snip ---



More information about the Dnsmasq-discuss mailing list