Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65530 - net-dialup/ppp-2.4.2-r5 without
Summary: net-dialup/ppp-2.4.2-r5 without
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Dialup Developers
Depends on:
Reported: 2004-09-27 06:40 UTC by Giacomo Perale
Modified: 2004-11-10 22:23 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Giacomo Perale 2004-09-27 06:40:29 UTC isn't built by ppp-2.4.2-r3 (yesterday) and ppp-2.4.2-r5 (today).

This is the error:

make[1]: Entering directory `/var/tmp/portage/ppp-2.4.2-r5/work/ppp-2.4.2/pppd/plugins'
gcc -o -shared -march=athlon-xp -O2 -pipe -I.. -I../../include -fPIC minconn.c
gcc -o -shared -march=athlon-xp -O2 -pipe -I.. -I../../include -fPIC passprompt.c
gcc -o -shared -march=athlon-xp -O2 -pipe -I.. -I../../include -fPIC passwordfd.c
for d in rp-pppoe radius; do make -w --jobserver-fds=3,5 - --jobserver-fds=3,5 -j -C $d all; done
make[2]: Entering directory `/var/tmp/portage/ppp-2.4.2-r5/work/ppp-2.4.2/pppd/plugins/rp-pppoe'
gcc -march=athlon-xp -O2 -pipe -I../../../include/linux '-DVERSION="3.3"' -c -o discovery.o -fPIC discovery.c
gcc -march=athlon-xp -O2 -pipe -I../../../include/linux '-DVERSION="3.3"' -c -o if.o -fPIC if.c
gcc -march=athlon-xp -O2 -pipe -I../../../include/linux '-DVERSION="3.3"' -c -o common.o -fPIC common.c
gcc -march=athlon-xp -O2 -pipe -I../../../include/linux '-DVERSION="3.3"' -c -o debug.o -fPIC debug.c
gcc '-DRP_VERSION="3.3"' -march=athlon-xp -O2 -pipe -I../../../include/linux -I../../..  -c -o plugin.o -fPIC plugin.c
In file included from /usr/include/linux/ppp_defs.h:45,
                 from /usr/include/net/ppp_defs.h:8,
                 from ../../../pppd/pppd.h:57,
                 from plugin.c:30:
/usr/include/linux/crc-ccitt.h:6: error: syntax error before "const"
/usr/include/linux/crc-ccitt.h:8: error: syntax error before "crc_ccitt"
/usr/include/linux/crc-ccitt.h:8: error: syntax error before "crc"
/usr/include/linux/crc-ccitt.h:10: error: syntax error before "crc_ccitt_byte"
/usr/include/linux/crc-ccitt.h:10: error: syntax error before "crc"
/usr/include/linux/crc-ccitt.h: In function `crc_ccitt_byte':
/usr/include/linux/crc-ccitt.h:12: error: `crc' undeclared (first use in this function)
/usr/include/linux/crc-ccitt.h:12: error: (Each undeclared identifier is reported only once
/usr/include/linux/crc-ccitt.h:12: error: for each function it appears in.)
/usr/include/linux/crc-ccitt.h:12: error: `c' undeclared (first use in this function)
ar -rc libplugin.a discovery.o if.o common.o debug.o
make[2]: *** [plugin.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/ppp-2.4.2-r5/work/ppp-2.4.2/pppd/plugins/rp-pppoe'

It seems to be kernel-related, at the moment I'm using ck-sources-, based on, but I can't find patches applied to those files, so I don't think this is caused by this kernel tree.

Reproducible: Always
Steps to Reproduce:

Actual Results:  
there isn't /usr/lib/pppd/2.4.2/

Expected Results:  
/usr/lib/pppd/2.4.2/ in my system

Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-,
System uname: 2.6.8-ck8 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
CFLAGS="-march=athlon-xp -O2 -pipe"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
FEATURES="autoaddcvs ccache sandbox"
USE="3dnow 3dnowex 3ds X aalib acpi acpi4linux alsa antlr apache2 audiofile avi
berkdb bitmap-fonts bonobo cdparanoia cdr clamav crypt cups dedicated divx4linux
dts dvd dvdr dvdread eds encode evo f77 faac faad fam fbcon fbdev flac
foomaticdb freetype gd gd-external gif gimpprint gnome gnomedb gpm graphviz
gstreamer gtk gtk2 gtkhtml hal imagemagick imlib java javascript jce jpeg lcms
libcaca libg++ libsamplerate libwww live lzo lzw-tiff mad matroska mikmod mmap
mmx mmx2 mng motif mozilla mozinterfaceinfo moznocompose moznoirc moznomail
mozp3p mozsvg mpeg mysql ncurses network nls nptl objc oggvorbis opengl pam pcap
pdflib perl pic plotutils png ppds python qt quicktime radeon readline rtc samba
sdl slang sndfile spell sse ssl svg svga tcltk tcpd tga theora threads tiff
truetype type1 usb videos vim-with-x wmf wxwindows x86 xchatdccserver xface xml
xml2 xmms xprint xrandr xv xvid xvmc yv12 zlib"
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2004-10-02 10:18:27 UTC
what virtual/os-headers do you have installed?
works for me, with linux26-headers.
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2004-11-10 22:23:39 UTC
no reply received. closing.