Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23385 - ppp does not compile (2.4.1-r12)
Summary: ppp does not compile (2.4.1-r12)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-24 09:31 UTC by Mauricio Lima Pilla
Modified: 2003-09-02 11:02 UTC (History)
0 users

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 Mauricio Lima Pilla 2003-06-24 09:31:03 UTC
I cannot get ppp 2.4.1-r12 to compile with GCC 3.3. I don't know if it compiles
with previous versions of it, even with -O1 -fomit-frame-pointer -pipe.
2.4.1-r14 works, but is on the unstable branch.



Reproducible: Always
Steps to Reproduce:
Just emerging it. For example, 

env CFLAGS="-O1 -pipe -fomit-frame-pointer" emerge -b ppp
Actual Results:  
gcc -O1 -pipe -fomit-frame-pointer -I.. -I../.. -I../../../include -D_linux_=1
-fPIC   -c -o pppoe.o pppoe.c
gcc -O1 -pipe -fomit-frame-pointer -I.. -I../.. -I../../../include -D_linux_=1
-fPIC   -c -o pppoehash.o pppoehash.c
pppoe.c:200:28: missing terminating " character
pppoe.c: In function `init_device_pppoe':
pppoe.c:201: error: `maximum' undeclared (first use in this function)
pppoe.c:201: error: (Each undeclared identifier is reported only once
pppoe.c:201: error: for each function it appears in.)
pppoe.c:201: error: parse error before "allowed"
pppoe.c:201:52: missing terminating " character
make[2]: *** [pppoe.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/ppp-2.4.1-r12/work/ppp-2.4.1.pppoe4/pppd/plugins/pppoe'
make[1]: *** [pppoe/pppoe.so] Error 2
make[1]: Leaving directory
`/var/tmp/portage/ppp-2.4.1-r12/work/ppp-2.4.1.pppoe4/pppd/plugins'
make: *** [all] Error 2

!!! ERROR: net-dialup/ppp-2.4.1-r12 failed.
!!! Function src_compile, Line 73, Exitcode 2
!!! (no error message)


Expected Results:  
>>> net-dialup/ppp-2.4.1-r12 merged.


I haven't used the newly emerged ppp 2.4.1-r14 yet, so I cannot tell you if the
right solution is just to promote it to stable. At least, it compiles.

Portage 2.0.48-r1 (default-x86-1.4, gcc-3.3, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.21-ck1 i686 Intel(R) Pentium(R) III Mobile CPU      1200MHz
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/
ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/ http://www.ibiblio.org"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/var/cache/portage/distfiles"
PKGDIR="/var/cache/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss apm avi crypt cups encode gif jpeg libg++ mmx mpeg ncurses nls
pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gtkhtml alsa gdbm
berkdb slang readline arts tetex aalib nas bonobo svga ggi tcltk java guile X
sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis gnome gtk qt kde motif
opengl mozilla ldap cdr artswrappersuid dvd evo fbcon gtk2 icc leim
mozinterfaceinfo moznoirc moznomail mule pcmcia plotutils pnp prebuilt sse tiff
usb wmf Xaw3d -3dnow -mikmod -esd"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -Os -fomit-frame-pointer -mmmx -msse -pipe "
CXXFLAGS="-march=pentium3 -Os -fomit-frame-pointer -mmmx -msse -pipe "
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-09-02 11:02:52 UTC
2.4.1-r14 is now stable