Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72097 - wpa-supplicant 0.2.5 won't compile
Summary: wpa-supplicant 0.2.5 won't compile
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Henrik Brix Andersen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-22 09:59 UTC by Andrew Kruse
Modified: 2004-12-02 10:37 UTC (History)
0 users

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


Attachments
MAKEOPTS="-j1" output (j1.output,5.66 KB, text/plain)
2004-11-22 15:47 UTC, Andrew Kruse
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Kruse 2004-11-22 09:59:24 UTC
I am trying to emerge wpa-supplicant 0.2.5. Googling on the compile error was unfruitful as well as searching Gentoo bugzilla for this compile problem.

I will attach tail end of emerge log.

Reproducible: Always
Steps to Reproduce:
1. emerge wpa-supplicant
2.
3.

Actual Results:  
gcc -march=pentium2 -O2 -pipe -I../driver/modules -I../utils -I../hostapd
-DCONFIG_DRIVER_HOSTAP -DCONFIG_DRIVER_WEXT -DCONFIG_DRIVER_PRISM54
-DCONFIG_DRIVER_MADWIFI -I../            -DCONFIG_DRIVER_ATMEL
-DCONFIG_DRIVER_NDISWRAPPER -DCONFIG_DRIVER_IPW2100 -DEAP_TLS -DEAP_PEAP
-DEAP_TTLS -DEAP_MD5 -DEAP_MSCHAPv2 -DEAP_GTC -DEAP_OTP -DEAP_SIM -DEAP_LEAP
-DIEEE8021X_EAPOL -DEAP_TLS_FUNCS -DCONFIG_WIRELESS_EXTENSION   -c -o
driver_prism54.o driver_prism54.c
gcc -march=pentium2 -O2 -pipe -I../driver/modules -I../utils -I../hostapd
-DCONFIG_DRIVER_HOSTAP -DCONFIG_DRIVER_WEXT -DCONFIG_DRIVER_PRISM54
-DCONFIG_DRIVER_MADWIFI -I../            -DCONFIG_DRIVER_ATMEL
-DCONFIG_DRIVER_NDISWRAPPER -DCONFIG_DRIVER_IPW2100 -DEAP_TLS -DEAP_PEAP
-DEAP_TTLS -DEAP_MD5 -DEAP_MSCHAPv2 -DEAP_GTC -DEAP_OTP -DEAP_SIM -DEAP_LEAP
-DIEEE8021X_EAPOL -DEAP_TLS_FUNCS -DCONFIG_WIRELESS_EXTENSION   -c -o
driver_madwifi.o driver_madwifi.c
gcc -march=pentium2 -O2 -pipe -I../driver/modules -I../utils -I../hostapd
-DCONFIG_DRIVER_HOSTAP -DCONFIG_DRIVER_WEXT -DCONFIG_DRIVER_PRISM54
-DCONFIG_DRIVER_MADWIFI -I../            -DCONFIG_DRIVER_ATMEL
-DCONFIG_DRIVER_NDISWRAPPER -DCONFIG_DRIVER_IPW2100 -DEAP_TLS -DEAP_PEAP
-DEAP_TTLS -DEAP_MD5 -DEAP_MSCHAPv2 -DEAP_GTC -DEAP_OTP -DEAP_SIM -DEAP_LEAP
-DIEEE8021X_EAPOL -DEAP_TLS_FUNCS -DCONFIG_WIRELESS_EXTENSION   -c -o
driver_atmel.o driver_atmel.c
gcc -march=pentium2 -O2 -pipe -I../driver/modules -I../utils -I../hostapd
-DCONFIG_DRIVER_HOSTAP -DCONFIG_DRIVER_WEXT -DCONFIG_DRIVER_PRISM54
-DCONFIG_DRIVER_MADWIFI -I../            -DCONFIG_DRIVER_ATMEL
-DCONFIG_DRIVER_NDISWRAPPER -DCONFIG_DRIVER_IPW2100 -DEAP_TLS -DEAP_PEAP
-DEAP_TTLS -DEAP_MD5 -DEAP_MSCHAPv2 -DEAP_GTC -DEAP_OTP -DEAP_SIM -DEAP_LEAP
-DIEEE8021X_EAPOL -DEAP_TLS_FUNCS -DCONFIG_WIRELESS_EXTENSION   -c -o
driver_ndiswrapper.o driver_ndiswrapper.c
driver_madwifi.c: In function `wpa_driver_madwifi_scan':
driver_madwifi.c:363: error: `SIOCSIWSCAN' undeclared (first use in this function)
driver_madwifi.c:363: error: (Each undeclared identifier is reported only once
driver_madwifi.c:363: error: for each function it appears in.)
gcc -march=pentium2 -O2 -pipe -I../driver/modules -I../utils -I../hostapd
-DCONFIG_DRIVER_HOSTAP -DCONFIG_DRIVER_WEXT -DCONFIG_DRIVER_PRISM54
-DCONFIG_DRIVER_MADWIFI -I../            -DCONFIG_DRIVER_ATMEL
-DCONFIG_DRIVER_NDISWRAPPER -DCONFIG_DRIVER_IPW2100 -DEAP_TLS -DEAP_PEAP
-DEAP_TTLS -DEAP_MD5 -DEAP_MSCHAPv2 -DEAP_GTC -DEAP_OTP -DEAP_SIM -DEAP_LEAP
-DIEEE8021X_EAPOL -DEAP_TLS_FUNCS -DCONFIG_WIRELESS_EXTENSION   -c -o
driver_ipw2100.o driver_ipw2100.c
gcc -march=pentium2 -O2 -pipe -I../driver/modules -I../utils -I../hostapd
-DCONFIG_DRIVER_HOSTAP -DCONFIG_DRIVER_WEXT -DCONFIG_DRIVER_PRISM54
-DCONFIG_DRIVER_MADWIFI -I../            -DCONFIG_DRIVER_ATMEL
-DCONFIG_DRIVER_NDISWRAPPER -DCONFIG_DRIVER_IPW2100 -DEAP_TLS -DEAP_PEAP
-DEAP_TTLS -DEAP_MD5 -DEAP_MSCHAPv2 -DEAP_GTC -DEAP_OTP -DEAP_SIM -DEAP_LEAP
-DIEEE8021X_EAPOL -DEAP_TLS_FUNCS -DCONFIG_WIRELESS_EXTENSION   -c -o eap_tls.o
eap_tls.c
make: *** [driver_madwifi.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: net-wireless/wpa-supplicant-0.2.5 failed.
!!! Function src_compile, Line 57, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


nirvana akruse # emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1,
2.6.9-gentoo-r4 i686)
=================================================================
System uname: 2.6.9-gentoo-r4 i686 Mobile Pentium II
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.19-r1
Libtools: sys-devel/libtool-1.4.3-r4
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium2 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/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=pentium2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb bitmap-fonts crypt cups dvd encode esd f77
flac foomaticdb fortran gdbm gif gpm gtk gtk2 imlib java jpeg kde libg++ libwww
mad mikmod mmx motif mpeg ncurses nls oggvorbis opengl oss pam pcmcia pdflib
perl png python qt quicktime readline samba sdl slang spell ssl svga tcltk tcpd
tiff truetype usb x86 xml2 xmms xv zlib"
Comment 1 Henrik Brix Andersen 2004-11-22 13:56:59 UTC
Which version of net-wireless/wireless-tools do you have installed?

Could you please attach the output of 'MAKEOPTS="-j1" emerge =net-wireless/wpa-supplicant-0.2.5'?
Comment 2 Andrew Kruse 2004-11-22 15:47:00 UTC
Created attachment 44521 [details]
MAKEOPTS="-j1" output

Attached requested emerg output. Version of wireless-tools installed is 26-r1.
Comment 3 Andrew Kruse 2004-11-22 16:08:04 UTC
Emerged wireless-tools-27_pre26, same result. 
Comment 4 Andrew Kruse 2004-12-01 06:06:36 UTC
I put a new hard disk in my laptop and did a full new Gentoo stage 1 install - wpa-supplicant compiles just fine at this point. Will post emerge info from the system shortly....
Comment 5 Henrik Brix Andersen 2004-12-01 06:10:41 UTC
Perhaps your old harddisk was full?
Comment 6 Andrew Kruse 2004-12-01 08:46:16 UTC
nirvana akruse # emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r6 i686)
=================================================================
System uname: 2.6.9-gentoo-r6 i686 Mobile Pentium II
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium2 -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/env /usr/kde/3.3/share/config /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=pentium2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bitmap-fonts crypt cups dvd encode f77 foomaticdb fortran gdbm gif gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod mmx motif mozdevelop mozilla moznomail mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl spell ssl svga tcpd tiff truetype usb x86 xml2 xmms xv zlib"
Comment 7 Henrik Brix Andersen 2004-12-02 04:37:30 UTC
> wpa-supplicant compiles just fine at this point

Does this mean we can close this bug report?
Comment 8 Andrew Kruse 2004-12-02 06:14:49 UTC
Sure, I guess I'd just like to know if there was something obvious that would have caused it from the emerge info from the new install. 

FWIW my old hard disk had about 700 or 800 MB free on the / partition, so I would doubt space to have been the issue.
Comment 9 Henrik Brix Andersen 2004-12-02 10:37:03 UTC
The amount of free space on the / partition is not that interesting - the amount of free space in /var/tmp/portage is more interesting ;-)

Anyways, closing this as WORKSFORME. Please reopen if you can reproduce the error.