Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16208 - wireless-tools-25 failes to merge
Summary: wireless-tools-25 failes to merge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Peter Johanson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-23 00:18 UTC by Curtis Hogg
Modified: 2003-05-09 13:09 UTC (History)
0 users

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


Attachments
The stock config file, paths updated. (eggdrop.conf.dist,49.71 KB, text/plain)
2003-04-15 03:59 UTC, Curtis Hogg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Curtis Hogg 2003-02-23 00:18:53 UTC
When emerging the latest wireless-tools package, the emerge failes due to a make
error.

Relevant lines are:
gcc -mcpu=k6 -march=k6 -O3 -pipe      -o iwconfig iwconfig.o libiw.a -lm
gcc -mcpu=k6 -march=k6 -O3 -pipe      -o iwlist iwlist.o libiw.a -lm
iwevent.c: In function `LinkCatcher':
iwevent.c:357: `IFLA_WIRELESS' undeclared (first use in this function)
iwevent.c:357: (Each undeclared identifier is reported only once
iwevent.c:357: for each function it appears in.)
gcc -mcpu=k6 -march=k6 -O3 -pipe      -o iwpriv iwpriv.o libiw.a -lm
gcc -mcpu=k6 -march=k6 -O3 -pipe      -o iwspy iwspy.o libiw.a -lm
make: *** [iwevent.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: net-wireless/wireless-tools-25 failed.
!!! Function src_compile, Line 1, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1. emerge rsync
2. emerge wireless-tools
3. watch it break.

Actual Results:  
When steps are performed, emerge fails due to error compiling iwevent.o

Expected Results:  
Package should have emerge-upgraded correctly, wireless-tools-24 emerges without
incident.
Comment 1 Peter Johanson (RETIRED) gentoo-dev 2003-02-23 13:36:18 UTC
Looking at Jean Tourrihles site (http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html) in the debugging section, seems that you have its either a problem w/ wireless.h or rtnetlink.h. Try the (brief) instructions on the page if you don't have rtnetlink.h in /usr/include/linux

cp /usr/src/linux/include/linux/rtnetlink.h /usr/include/linux

Does the /usr/src/linux symlink point to a valid kernel source directory?
Comment 2 Curtis Hogg 2003-02-23 20:46:48 UTC
I checked the website (I'm stupid, I can't believe I didn't look there), and tried
the steps listed, but unfortunately for me it didn't resolve the problem. I also tried copying a mentioned include file (include/net/iw_handler.h) to my /usr/include/net directory. That file was mentioned in the wireless.h include file.

0> APM 98% | kei-chan ~# ls -la /usr/src
lrwxrwxrwx    1 root     root           18 Oct 24 15:58 linux -> linux-2.4.19-buck1
drwxr-xr-x   14 573      573          4096 Oct 24 16:13 linux-2.4.19-buck1

/usr/src/linux is a symlink to a valid kernel source. That particular source tree is 2.4.19 with preemptive, low-latency, and vm-strict-overcommit patches, all of which should have no effect on the rtnetlink.h or wireless.h includes.

I had thought wireless-tools-24 compiled against this tree properly as well, but I was wrong. I may have to check my patching and see if something indeed get messed up. *is very confused*
Comment 3 Curtis Hogg 2003-04-15 03:59:26 UTC
Created attachment 10669 [details]
The stock config file, paths updated.

This config file is identical to the config file included with Eggdrop, except
that all the paths are updated to point to /opt and/or /home
Comment 4 Peter Johanson (RETIRED) gentoo-dev 2003-05-09 13:09:06 UTC
Marking as fixed. Please comment if you were still unable to emerge the wireless-tools package.