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

Shantanu Gadgil shantanugadgil at yahoo.com
Mon Nov 28 10:08:28 GMT 2011


I never 'enabled' anything explicitly ... my automated script downloads and tries to compile/install using just 'make'.

The build works OK when run with 'make COPTS=-DNO_DHCP6' instead of just 'make'.

Regards,
Shantanu

--- On Mon, 11/28/11, Simon Kelley <simon at thekelleys.org.uk> wrote:

> From: Simon Kelley <simon at thekelleys.org.uk>
> Subject: Re: [Dnsmasq-discuss] Compilation failure for v2.60 test version
> To: dnsmasq-discuss at lists.thekelleys.org.uk
> Date: Monday, November 28, 2011, 1:08 PM
> 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
> 
> 
> _______________________________________________
> 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