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.
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?
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*
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
Marking as fixed. Please comment if you were still unable to emerge the wireless-tools package.