RE: Trouble compiling dhcpcd wiht glibc 2.3.5 and gcc 3.4.4
Saima
Wed Apr 23 23:45:54 2014
thanks, this worked. I had to define some constants and after that the compilation succeeded.
Saima
> Date: Wed, 23 Apr 2014 10:37:32 +0100
> From: roy@xxxxxxxxxxxx
> To: dhcpcd-discuss@xxxxxxxxxxxx
> Subject: RE: [dhcpcd-discuss] Trouble compiling dhcpcd wiht glibc 2.3.5 and gcc 3.4.4
>
> On 22/04/2014 14:55, Saima wrote:
> > dhcpcd.c: In function `write_pid':
> > dhcpcd.c:109: warning: implicit declaration of function `dprintf'
> > dhcpcd.c: In function `find_interface':
> > dhcpcd.c:301: warning: implicit declaration of function
> > `TAILQ_FOREACH'
>
> So no TAILQ support at all.
> This patch should help:
> http://roy.marples.name/projects/dhcpcd/ci/f8b7a57af1?sbs=0
>
> I suspect linking will fail on dprintf, but there could be more errors.
> Can you try the latest fossil head?
> I've attached a patch which may compile to 6.3.2 if you can't use
> fossil.
>
> Roy
Archive administrator: postmaster@marples.name