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

Simon Kelley simon at thekelleys.org.uk
Mon Nov 28 07:38:29 GMT 2011


On 28/11/11 07:18, Shantanu Gadgil wrote:
> 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! :)
>

Have you enabled DHCPv6? That's bery much work-in-progress and not 
currently complete or even compileable, sorry.


Simon.

> 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 ---
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss




More information about the Dnsmasq-discuss mailing list