i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../librsaref -march=athlon-xp -O3 -fgcse -fgcse-lm -fgcse-sm -fomit-frame-pointer -pipe -Wall -Wcast-qual -Wmissing-prototypes -Wshadow -Wstrict-prototypes -pipe -c `test -f ntp_control.c || echo './'`ntp_control.c ntp_config.c:130: `CONFIG_PHONE' undeclared here (not in a function) ntp_config.c:130: initializer element is not constant ntp_config.c:130: (near initialization for `keywords[21].keytype') ntp_config.c:130: initializer element is not constant ntp_config.c:130: (near initialization for `keywords[21]') ntp_config.c:131: initializer element is not constant ntp_config.c:131: (near initialization for `keywords[22]') ntp_config.c:132: initializer element is not constant ntp_config.c:132: (near initialization for `keywords[23]') ntp_config.c:133: initializer element is not constant ntp_config.c:133: (near initialization for `keywords[24]') ntp_config.c:134: initializer element is not constant ntp_config.c:134: (near initialization for `keywords[25]') ntp_config.c:135: initializer element is not constant ntp_config.c:135: (near initialization for `keywords[26]') ntp_config.c:136: initializer element is not constant ntp_config.c:136: (near initialization for `keywords[27]') ntp_config.c:137: initializer element is not constant ntp_config.c:137: (near initialization for `keywords[28]') ntp_config.c:138: initializer element is not constant ntp_config.c:138: (near initialization for `keywords[29]') ntp_config.c:139: initializer element is not constant ntp_config.c:139: (near initialization for `keywords[30]') ntp_config.c:140: initializer element is not constant ntp_config.c:140: (near initialization for `keywords[31]') ntp_config.c:141: initializer element is not constant ntp_config.c:141: (near initialization for `keywords[32]') ntp_config.c:142: initializer element is not constant ntp_config.c:142: (near initialization for `keywords[33]') ntp_config.c:143: initializer element is not constant ntp_config.c:143: (near initialization for `keywords[34]') source='ntp_crypto.c' object='ntp_crypto.o' libtool=no \ depfile='.deps/ntp_crypto.Po' tmpdepfile='.deps/ntp_crypto.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../librsaref -march=athlon-xp -O3 -fgcse -fgcse-lm -fgcse-sm -fomit-frame-pointer -pipe -Wall -Wcast-qual -Wmissing-prototypes -Wshadow -Wstrict-prototypes -pipe -c `test -f ntp_crypto.c || echo './'`ntp_crypto.c source='ntp_filegen.c' object='ntp_filegen.o' libtool=no \ depfile='.deps/ntp_filegen.Po' tmpdepfile='.deps/ntp_filegen.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../librsaref -march=athlon-xp -O3 -fgcse -fgcse-lm -fgcse-sm -fomit-frame-pointer -pipe -Wall -Wcast-qual -Wmissing-prototypes -Wshadow -Wstrict-prototypes -pipe -c `test -f ntp_filegen.c || echo './'`ntp_filegen.c ntp_config.c: In function `getconfig': ntp_config.c:1619: `CONFIG_PHONE' undeclared (first use in this function) ntp_config.c:1619: (Each undeclared identifier is reported only once ntp_config.c:1619: for each function it appears in.) make[2]: *** [ntp_config.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/ntp-4.1.1b-r3/work/ntp-4.1.1b/ntpd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/ntp-4.1.1b-r3/work/ntp-4.1.1b' make: *** [all] Error 2 !!! ERROR: net-misc/ntp-4.1.1b-r3 failed. !!! Function src_compile, Line 32, Exitcode 2 !!! (no error message)
please post `emerge info` ... nothing has changed in the compile stage from -r2 and -r1 ...
Portage 2.0.46-r4 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r3) ================================================================= System uname: 2.4.20-lolo-r1_rc1 i686 AMD Duron(tm) processor USE="x86 oss 3dnow apm avi crypt cups encode gif java jpeg libg++ libwww mikmod mmx mpeg ncurses nls pdflib png qtmt spell truetype xml2 xmms xv zlib gdbm berkdb slang readline svga tcltk guile sdl tcpd pam ssl perl python esd imlib oggvorbis motif opengl X gtk2 gtk gtkhtml quicktime -gpm -qt -arts -gnome -kde -alsa" ARCH="x86" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -fgcse -fgcse-lm -fgcse-sm -fomit-frame-pointer -pipe" CXXFLAGS="-march=athlon-xp -O3 -fgcse -fgcse-lm -fgcse-sm -fomit-frame-pointer -pipe -Wno-deprecated" ACCEPT_KEYWORDS="x86 ~x86" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" MAKEOPTS="-j3" JDK_HOME="/opt/blackdown-jdk-1.4.1_beta" JAVA_HOME="/opt/blackdown-jdk-1.4.1_beta" AUTOCLEAN="yes" SYNC="rsync://rsync5.us.gentoo.org/gentoo-portage" GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
note this looks like a duplicate of bug 6432
also duplicate of bug 8807
could you verify that joel ? just read those 2 bug reports and see if they apply to you
fixed ... just needed to reorder the #include files ... http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/net-misc/ntp/files/linux-config-phone.patch?rev=1.1&content-type=text/vnd.viewcvs-markup