Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41451 - pppd 2.4.2 won't compile
Summary: pppd 2.4.2 won't compile
Status: RESOLVED DUPLICATE of bug 41416
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-13 03:30 UTC by Dennis Freise
Modified: 2005-07-17 13:06 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 Dennis Freise 2004-02-13 03:30:13 UTC
When trying to upgrade pppd to version 2.4.2, I get the following error:

gcc -march=pentium2 -mcpu=pentium2 -mmmx -O2 -pipe -fomit-frame-pointer -fstack-protector -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS   -c -o demand.o demand.c
demand.c:53:21: net/bpf.h: No such file or directory
gcc -march=pentium2 -mcpu=pentium2 -mmmx -O2 -pipe -fomit-frame-pointer -fstack-protector -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -I/usr/include/pcap -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS   -c -o utils.o utils.c
make[1]: *** [demand.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/ppp-2.4.2/work/ppp-2.4.2/pppd'
make: *** [all] Error 2

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

Seems like it is missing an include-file. I search for bpf.h and only found it
in /usr/include/nessus/net - but there's a pcap-bpf.h in /usr/include ...

earthdawn root # emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.4.23_pre8-gss)
=================================================================
System uname: 2.4.23_pre8-gss i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.3.13
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium2 -mcpu=pentium2 -mmmx -O2 -pipe -fomit-frame-pointer -fstack-protector"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium2 -mcpu=pentium2 -mmmx -O2 -pipe -fomit-frame-pointer -fstack-protector"
DISTDIR="/storage/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ ftp://gentoo.inode.at/source/ http://gentoo.inode.at"
MAKEOPTS="-j2"
PKGDIR="/storage/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://localhost/gentoo-portage"
USE="acl apache2 apm arts avi berkdb cdr crypt cups curl doc encode evms2 exiscan-acl foomaticdb freetds gd gdbm gif gpm gtk2 imap imlib innodb ipv6 java jpeg ldap libg++ libwww lmtp mad maildir mikmod mmx motif mpeg mysql ncurses nls oci8 odbc oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sasl sdl slang snmp socks5 spell ssl svga tcpd tetex tiff truetype vhosts x86 xml xml2 xmms xv zlib"
Comment 1 Daniel Seyffer 2004-02-13 11:30:19 UTC
Same here. 
Btw #41457 seems to be a duplicate of this one.
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2004-02-13 13:11:46 UTC

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