dhcpcd-discuss

Trouble compiling dhcpcd wiht glibc 2.3.5 and gcc 3.4.4

Farooqui, Saima

Thu Apr 17 00:05:46 2014

Hi,

I am getting the following errors in compiling dhcpcd 6.3.2 with gcc 3.4.4 and glibc 2.3.5:

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'
dhcpcd.c:301: error: `next' undeclared (first use in this function)
dhcpcd.c:301: error: (Each undeclared identifier is reported only once
dhcpcd.c:301: error: for each function it appears in.)
dhcpcd.c:301: error: syntax error before '{' token
dhcpcd.c:302: error: `__s1_len' undeclared (first use in this function)
dhcpcd.c:302: error: `__s2_len' undeclared (first use in this function)
dhcpcd.c:302: error: syntax error before ')' token
dhcpcd.c: In function `warn_iaid_conflict':
dhcpcd.c:552: error: syntax error before '{' token
dhcpcd.c:557: error: break statement not within loop or switch
dhcpcd.c: At top level:
dhcpcd.c:566: error: syntax error before "if"
dhcpcd.c: In function `handle_interface':
dhcpcd.c:732: warning: implicit declaration of function `TAILQ_FIRST'
dhcpcd.c:732: warning: assignment makes pointer from integer without a cast
dhcpcd.c:732: warning: implicit declaration of function `TAILQ_NEXT'
dhcpcd.c:732: warning: assignment makes pointer from integer without a cast
dhcpcd.c:754: warning: assignment makes pointer from integer without a cast
dhcpcd.c: In function `reconf_reboot':
dhcpcd.c:810: warning: assignment makes pointer from integer without a cast
dhcpcd.c: In function `stop_all_interfaces':
dhcpcd.c:838: warning: implicit declaration of function `TAILQ_LAST'
dhcpcd.c:838: error: `if_head' undeclared (first use in this function)
dhcpcd.c:838: warning: assignment makes pointer from integer without a cast
dhcpcd.c:854: confused by earlier errors, bailing out
make[1]: *** [dhcpcd.o] Error 1

Any help is greatly appreciated.

Thanks,
Saima

Follow-Ups:
Re: Trouble compiling dhcpcd wiht glibc 2.3.5 and gcc 3.4.4Roy Marples
Archive administrator: postmaster@marples.name