Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270649 - net-misc/ntp-4.2.4_p6 fails w/ undeclared MOD_NANO
Summary: net-misc/ntp-4.2.4_p6 fails w/ undeclared MOD_NANO
Status: RESOLVED DUPLICATE of bug 270483
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-21 02:26 UTC by Joe Sapp (RETIRED)
Modified: 2009-05-21 03:44 UTC (History)
0 users

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


Attachments
emerge --info (info,13.40 KB, text/plain)
2009-05-21 02:27 UTC, Joe Sapp (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Sapp (RETIRED) gentoo-dev 2009-05-21 02:26:58 UTC
My guess is it's related to sys-kernel/linux-headers (http://sourceware.org/ml/libc-alpha/2008-03/msg00076.html gave me a hint).  Could not test with sys-kernel/linux-headers-2.6.23-r3 (problem with redefined 'readline'), but the build fails with all other 2.6.* versions.

--
make[3]: Entering directory `/var/tmp/portage/net-misc/ntp-4.2.4_p6/work/ntp-4.2.4p6/ntpd'
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include -I../include -I../libopts -D_GNU_SOURCE -I/usr/include  -march=nocona -O2 -pipe  -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-ar
ith -Wshadow -Wstrict-prototypes -MT ntp_control.o -MD -MP -MF ".deps/ntp_control.Tpo" -c -o ntp_control.o ntp_control.c; \
 then mv -f ".deps/ntp_control.Tpo" ".deps/ntp_control.Po"; else rm -f ".deps/ntp_control.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include -I../include -I../libopts -D_GNU_SOURCE -I/usr/include  -march=nocona -O2 -pipe  -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-ar
ith -Wshadow -Wstrict-prototypes -MT ntp_crypto.o -MD -MP -MF ".deps/ntp_crypto.Tpo" -c -o ntp_crypto.o ntp_crypto.c; \
 then mv -f ".deps/ntp_crypto.Tpo" ".deps/ntp_crypto.Po"; else rm -f ".deps/ntp_crypto.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include -I../include -I../libopts -D_GNU_SOURCE -I/usr/include  -march=nocona -O2 -pipe  -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-ar
ith -Wshadow -Wstrict-prototypes -MT ntp_filegen.o -MD -MP -MF ".deps/ntp_filegen.Tpo" -c -o ntp_filegen.o ntp_filegen.c; \
 then mv -f ".deps/ntp_filegen.Tpo" ".deps/ntp_filegen.Po"; else rm -f ".deps/ntp_filegen.Tpo"; exit 1; fi
ntp_filegen.c: In function 'filegen_init':
ntp_filegen.c:65: warning: declaration of 'basename' shadows a global declaration
/usr/include/string.h:604: warning: shadowed declaration is here
ntp_filegen.c: In function 'filegen_open':
ntp_filegen.c:89: warning: declaration of 'basename' shadows a global declaration
/usr/include/string.h:604: warning: shadowed declaration is here
ntp_filegen.c: In function 'filegen_config':
ntp_filegen.c:374: warning: declaration of 'basename' shadows a global declaration
/usr/include/string.h:604: warning: shadowed declaration is here
ntp_filegen.c: In function 'valid_fileref':
ntp_filegen.c:432: warning: declaration of 'basename' shadows a global declaration
/usr/include/string.h:604: warning: shadowed declaration is here
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include -I../include -I../libopts -D_GNU_SOURCE -I/usr/include  -march=nocona -O2 -pipe  -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-ar
ith -Wshadow -Wstrict-prototypes -MT ntp_intres.o -MD -MP -MF ".deps/ntp_intres.Tpo" -c -o ntp_intres.o ntp_intres.c; \
 then mv -f ".deps/ntp_intres.Tpo" ".deps/ntp_intres.Po"; else rm -f ".deps/ntp_intres.Tpo"; exit 1; fi
ntp_crypto.c: In function 'crypto_recv':
ntp_crypto.c:633: warning: passing argument 2 of 'd2i_X509' from incompatible pointer type
ntp_crypto.c: In function 'crypto_encrypt':
ntp_crypto.c:1656: warning: passing argument 3 of 'd2i_PublicKey' from incompatible pointer type
ntp_crypto.c: In function 'cert_parse':
ntp_crypto.c:3030: warning: passing argument 2 of 'd2i_X509' from incompatible pointer type
ntp_crypto.c: In function 'cert_sign':
ntp_crypto.c:3242: warning: passing argument 2 of 'd2i_X509' from incompatible pointer type
ntp_crypto.c: In function 'cert_valid':
ntp_crypto.c:3347: warning: passing argument 2 of 'd2i_X509' from incompatible pointer type
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include -I../include -I../libopts -D_GNU_SOURCE -I/usr/include  -march=nocona -O2 -pipe  -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-ar
ith -Wshadow -Wstrict-prototypes -MT ntp_loopfilter.o -MD -MP -MF ".deps/ntp_loopfilter.Tpo" -c -o ntp_loopfilter.o ntp_loopfilter.c; \
 then mv -f ".deps/ntp_loopfilter.Tpo" ".deps/ntp_loopfilter.Po"; else rm -f ".deps/ntp_loopfilter.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include -I../include -I../libopts -D_GNU_SOURCE -I/usr/include  -march=nocona -O2 -pipe  -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-ar
ith -Wshadow -Wstrict-prototypes -MT ntp_monitor.o -MD -MP -MF ".deps/ntp_monitor.Tpo" -c -o ntp_monitor.o ntp_monitor.c; \
 then mv -f ".deps/ntp_monitor.Tpo" ".deps/ntp_monitor.Po"; else rm -f ".deps/ntp_monitor.Tpo"; exit 1; fi
ntp_loopfilter.c: In function 'local_clock':
ntp_loopfilter.c:571: error: 'MOD_NANO' undeclared (first use in this function)
ntp_loopfilter.c:571: error: (Each undeclared identifier is reported only once
ntp_loopfilter.c:571: error: for each function it appears in.)
ntp_loopfilter.c: In function 'loop_config':
ntp_loopfilter.c:896: error: 'MOD_NANO' undeclared (first use in this function)
make[3]: *** [ntp_loopfilter.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/net-misc/ntp-4.2.4_p6/work/ntp-4.2.4p6/ntpd'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/net-misc/ntp-4.2.4_p6/work/ntp-4.2.4p6/ntpd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-misc/ntp-4.2.4_p6/work/ntp-4.2.4p6'
make: *** [all] Error 2
Comment 1 Joe Sapp (RETIRED) gentoo-dev 2009-05-21 02:27:26 UTC
Created attachment 191976 [details]
emerge --info
Comment 2 Serkan Kaba (RETIRED) gentoo-dev 2009-05-21 03:44:17 UTC

*** This bug has been marked as a duplicate of bug 270483 ***