Bug 67654 - NTP does not compile on uclibc profiles (patch included)
Bug#: 67654 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: vapier@gentoo.org Reported By: koon@gentoo.org
Component: Applications
URL:  http://bugzilla.ntp.org/show_bug.cgi?id=303
Summary: NTP does not compile on uclibc profiles (patch included)
Keywords:  
Status Whiteboard: 
Opened: 2004-10-15 06:07 0000
Description:   Opened: 2004-10-15 06:07 0000
When built under the uclibc/hardened/x86 profile, NTP fails to compile (see
error below). According to their BitKeeper Changeset, this bug should affect
all platforms that do not have IPv6 support.

------------------------
gcc  -Os -mcpu=i586 -pipe -Wall -Wcast-qual -Wmissing-prototypes
-Wshadow -Wstrict-prototypes  -L/usr/lib -o ntpd  cmd_args.o
ntp_config.o ntp_io.o ntpd.o version.o libntpd.a  libntpd.a
../libntp/libntp.a -lm -lcrypto -lcap
libntpd.a(ntp_intres.o)(.text+0xed8): In function `ntp_intres':
: undefined reference to `in6addr_any'
collect2: ld returned 1 exit status
make[2]: *** [ntpd] Error 1
------------------------

------- Comment #1 From Thierry Carrez (RETIRED) 2004-10-15 06:09:14 0000 -------
Created an attachment (id=41863) [details]
Patch needed to compile on uclibc

Applying this patch (from http://bugzilla.ntp.org/show_bug.cgi?id=303 solving
an AIX problem !?) solved the compilation problem for me.

------- Comment #2 From SpanKY 2004-11-09 07:45:36 0000 -------
4.2.0.20040617 has this patch