Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67654 - NTP does not compile on uclibc profiles (patch included)
Summary: NTP does not compile on uclibc profiles (patch included)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: SpanKY
URL: http://bugzilla.ntp.org/show_bug.cgi?...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-15 06:07 UTC by Thierry Carrez (RETIRED)
Modified: 2004-11-09 07:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch needed to compile on uclibc (ntp_uclibc.patch,506 bytes, patch)
2004-10-15 06:09 UTC, Thierry Carrez (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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