Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 148314

Summary: hwinfo does not compile (wlan broken)
Product: Gentoo Linux Reporter: mikael lammentausta <mikael.lammentausta>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description mikael lammentausta 2006-09-20 03:33:07 UTC
I cannot get hwinfo-13 to compile. My compiler is gcc4.1.1. See the following pastes. Should this be kicked upstream?
Comment 1 mikael lammentausta 2006-09-20 03:34:26 UTC
>>> Emerging (1 of 1) sys-apps/hwinfo-13.0 to /
...
13:28:18 (238.68 KB/s) - `/var/distfiles/hwinfo_13.0-4.diff.gz' saved [10308]

 * checking ebuild checksums ;-) ...                                                                                            [ ok ]
 * checking auxfile checksums ;-) ...                                                                                           [ ok ]
 * checking miscfile checksums ;-) ...                                                                                          [ ok ]
 * checking hwinfo_13.0.orig.tar.gz ;-) ...                                                                                     [ ok ]
 * checking hwinfo_13.0-4.diff.gz ;-) ...                                                                                       [ ok ]
>>> Unpacking source...
>>> Unpacking hwinfo_13.0.orig.tar.gz to /var/tmp/portage/hwinfo-13.0/work
>>> Unpacking ./hwinfo-13.0.tar.gz to /var/tmp/portage/hwinfo-13.0/work
 * Applying hwinfo_13.0-4.diff.gz ...                                                                                           [ ok ]
 * Applying 01_sysfsutils2 ...                                                                                                  [ ok ]
 * Applying 02_sysfsutils2_s390 ...                                                                                             [ ok ]
 * Applying 90_new_archs ...                                                                                                    [ ok ]
 * Applying 91_serial_struct_sparc ...                                                                                          [ ok ]
 * Applying 92_sparc_kioc ...                                                                                                   [ ok ]
>>> Source unpacked.
...
gcc -c -Wall -Wno-pointer-sign -O2 -pipe -g -fPIC -O2 -march=athlon-xp -pipe -fomit-frame-pointer -I../../src/hd -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/lib/dbus-1.0/include wlan.c
wlan.c: In function 'wpa_driver_wext_set_wpa':
wlan.c:1065: error: 'SIOCSIWAUTH' undeclared (first use in this function)
wlan.c:1065: error: (Each undeclared identifier is reported only once
wlan.c:1065: error: for each function it appears in.)
wlan.c: In function 'wpa_driver_wext_set_auth_alg':
wlan.c:1080: error: 'IW_AUTH_ALG_OPEN_SYSTEM' undeclared (first use in this function)
wlan.c:1082: error: 'IW_AUTH_ALG_SHARED_KEY' undeclared (first use in this function)
wlan.c:1084: error: 'IW_AUTH_ALG_LEAP' undeclared (first use in this function)
wlan.c:1092: error: 'IW_AUTH_80211_AUTH_ALG' undeclared (first use in this function)
wlan.c:1098: error: 'SIOCSIWAUTH' undeclared (first use in this function)
wlan.c: In function 'wpa_driver_wext_set_key':
wlan.c:1114: error: 'IW_ENCODE_SEQ_MAX_SIZE' undeclared (first use in this function)
wlan.c:1118: error: dereferencing pointer to incomplete type
wlan.c:1121: error: dereferencing pointer to incomplete type
wlan.c:1128: error: dereferencing pointer to incomplete type
wlan.c:1132: error: dereferencing pointer to incomplete type
wlan.c:1132: error: 'IW_ENCODE_EXT_GROUP_KEY' undeclared (first use in this function)
wlan.c:1134: error: dereferencing pointer to incomplete type
wlan.c:1134: error: 'IW_ENCODE_EXT_SET_TX_KEY' undeclared (first use in this function)
wlan.c:1138: error: dereferencing pointer to incomplete type
wlan.c:1140: error: dereferencing pointer to incomplete type
wlan.c:1142: error: invalid use of undefined type 'struct iw_encode_ext'
wlan.c:1143: error: dereferencing pointer to incomplete type
wlan.c:1147: error: dereferencing pointer to incomplete type
wlan.c:1147: error: 'IW_ENCODE_ALG_NONE' undeclared (first use in this function)
wlan.c:1150: error: dereferencing pointer to incomplete type
wlan.c:1150: error: 'IW_ENCODE_ALG_WEP' undeclared (first use in this function)
wlan.c:1153: error: dereferencing pointer to incomplete type
wlan.c:1153: error: 'IW_ENCODE_ALG_TKIP' undeclared (first use in this function)
wlan.c:1156: error: dereferencing pointer to incomplete type
wlan.c:1156: error: 'IW_ENCODE_ALG_CCMP' undeclared (first use in this function)
wlan.c:1164: error: dereferencing pointer to incomplete type
wlan.c:1164: error: 'IW_ENCODE_EXT_RX_SEQ_VALID' undeclared (first use in this function)
wlan.c:1165: error: dereferencing pointer to incomplete type
wlan.c:1171: error: 'SIOCSIWENCODEEXT' undeclared (first use in this function)
make[2]: *** [wlan.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/hwinfo-13.0/work/hwinfo-13.0/src/hd'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/var/tmp/portage/hwinfo-13.0/work/hwinfo-13.0/src'
make: *** [subdirs] Error 2
Comment 2 mikael lammentausta 2006-09-20 03:35:25 UTC
 $ emerge --info
Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r4y i686)
=================================================================
System uname: 2.6.17-gentoo-r4y i686 AMD Athlon(TM) XP 2000+
Gentoo Base System version 1.12.4
Last Sync: Tue, 12 Sep 2006 13:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/devel/env /usr/kde/devel/share/config /usr/kde/devel/shutdown /usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/var/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sfperms strict"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo"
LINGUAS="fi en"
MAKEOPTS="-j2"
PKGDIR="/var/pkg"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/mikael"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aalib acl acpi alsa apache2 avi bash-completion berkdb bitmap-fonts bzip2 bzlib cairo cdr cli crypt cups curl dbus directfb dlloader dri dvdr eds elibc_glibc emboss encode esd fbcon ffmpeg flac font-server foomaticdb fortran gd gdbm gif gpm gtk gtk2 hal imagemagick imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog java javascript jpeg jpeg2k kde kerberos kernel_linux ldap libcaca libg++ libwww linguas_en linguas_fi mad matroska mikmod mmx mng motif mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin ogg opengl pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection samba sasl sdl session slang slp spell spl sse ssl tcl tcltk tcpd theora tiff tk tls truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo vorbis win32codecs xine xinerama xml xmms xorg xpm xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-09-20 03:35:44 UTC
*** This bug has been marked as a duplicate of 143088 ***

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