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 rp-pppoe.so
Summary: net-dialup/ppp-2.4.2-r5 without rp-pppoe.so
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
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: ---


Attachments

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
rp-ppoe.so 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 minconn.so -shared -march=athlon-xp -O2 -pipe -I.. -I../../include -fPIC minconn.c
gcc -o passprompt.so -shared -march=athlon-xp -O2 -pipe -I.. -I../../include -fPIC passprompt.c
gcc -o passwordfd.so -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-2.6.8.1-r8, based on 2.6.8.1, 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/rp-pppoe.so

Expected Results:  
/usr/lib/pppd/2.4.2/rp-pppoe.so in my system

Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1,
2.6.8-ck8)
=================================================================
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
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown
/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"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/
http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://gentoo.tiscali.nl/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
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.