Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 67654

Summary: NTP does not compile on uclibc profiles (patch included)
Product: Gentoo Linux Reporter: Thierry Carrez (RETIRED) <koon>
Component: Current packagesAssignee: SpanKY <vapier>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
URL: http://bugzilla.ntp.org/show_bug.cgi?id=303
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch needed to compile on uclibc

Description Thierry Carrez (RETIRED) gentoo-dev 2004-10-15 06:07:53 UTC
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 Thierry Carrez (RETIRED) gentoo-dev 2004-10-15 06:09:14 UTC
Created attachment 41863 [details, diff]
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 SpanKY gentoo-dev 2004-11-09 07:45:36 UTC
4.2.0.20040617 has this patch