Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't update madwifi-driver to pre20040906
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
andrewski
Guru
Guru


Joined: 30 Apr 2004
Posts: 366
Location: Royersford, PA, USA

PostPosted: Sun Sep 12, 2004 11:27 pm    Post subject: Can't update madwifi-driver to pre20040906 Reply with quote

I newly can't emerge madwifi-driver, that being 0.1_pre20040906. I had no problems before, but for some reason I can't update. Has anyone else had this problem?
Back to top
View user's profile Send private message
fbd
n00b
n00b


Joined: 12 Sep 2004
Posts: 21
Location: Akureyri, Iceland

PostPosted: Mon Sep 13, 2004 10:41 am    Post subject: Didn't have any problems Reply with quote

It worked well for me, do you have any error code you'd like to share with us? Wich kernel are you using?

Remember CONFIG_MODVERSIONS should be set to n
_________________
Frailty, thy name is woman!
Back to top
View user's profile Send private message
andrewski
Guru
Guru


Joined: 30 Apr 2004
Posts: 366
Location: Royersford, PA, USA

PostPosted: Mon Sep 13, 2004 12:40 pm    Post subject: Reply with quote

Why the heck didn't I post my errors? 8O Sorry.
(Psst... what's CONFIG_MODVERSIONS?)

Code:
>>> emerge (1 of 1) net-wireless/madwifi-driver-0.1_pre20040906 to /
>>> md5 src_uri ;-) madwifi-driver-0.1_pre20040906.tar.bz2
>>> md5 src_uri ;-) madwifi-driver-0.1_pre20040906-gentoo.patch.bz2
/usr/sbin/ebuild.sh: line 31: ./scripts/mod/modpost: No such file or directory
>>> Unpacking source...
>>> Unpacking madwifi-driver-0.1_pre20040906.tar.bz2 to /var/tmp/portage/madwifi-driver-0.1_pre20040906/work
>>> Unpacking madwifi-driver-0.1_pre20040906-gentoo.patch.bz2 to /var/tmp/portage/madwifi-driver-0.1_pre20040906/work
 * Applying madwifi-driver-0.1_pre20040906-gentoo.patch.bz2...                                [ ok ]
 * /usr/src/linux is a symbolic link
 * Determining the real directory of the Linux kernel source code
 * Building for Linux 2.6.8-rc2-love3 found in /usr/src/linux
>>> Source unpacked.
for i in ./ath_hal ./net80211 ./ath; do \
        (cd $i; make clean); \
done
make[1]: Entering directory `/var/tmp/portage/madwifi-driver-0.1_pre20040906/work/ath_hal'
rm -f *~ *.o *.ko *.mod.c
rm -f .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -f ah_osdep.c opt_ah.h hal.o
make[1]: Leaving directory `/var/tmp/portage/madwifi-driver-0.1_pre20040906/work/ath_hal'
make[1]: Entering directory `/var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211'
rm -f *~ *.o *.ko *.mod.c
rm -f .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
make[1]: Leaving directory `/var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211'
make[1]: Entering directory `/var/tmp/portage/madwifi-driver-0.1_pre20040906/work/ath'
rm -f *~ *.o *.ko *.mod.c
rm -f .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
make[1]: Leaving directory `/var/tmp/portage/madwifi-driver-0.1_pre20040906/work/ath'
for i in ./ath_hal ./net80211 ./ath; do \
        (cd $i; make) || exit 1; \
done
make[1]: Entering directory `/var/tmp/portage/madwifi-driver-0.1_pre20040906/work/ath_hal'
cp ./../hal/linux/ah_osdep.c ah_osdep.c
uudecode ./../hal/linux/i386-elf.hal.o.uu
cp ./../hal/linux/i386-elf.opt_ah.h opt_ah.h
make -C //usr/src/linux M=/var/tmp/portage/madwifi-driver-0.1_pre20040906/work/ath_hal modules
make[2]: Entering directory `/usr/src/linux-2.6.8-rc2-love3'
  CC [M]  /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/ath_hal/ah_osdep.o
In file included from /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/hal/ah.h:49,
                 from /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/ath_hal/ah_osdep.c:58:
/var/tmp/portage/madwifi-driver-0.1_pre20040906/work/hal/linux/ah_osdep.h:102:1: warning: "abs" redefined
In file included from include/asm/system.h:5,
                 from include/asm/processor.h:18,
                 from include/asm/thread_info.h:16,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from include/linux/module.h:10,
                 from /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/ath_hal/ah_osdep.c:46:
include/linux/kernel.h:57:1: warning: this is the location of the previous definition
  LD [M]  /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/ath_hal/ath_hal.o
  Building modules, stage 2.
  MODPOST
  CC      /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/ath_hal/ath_hal.mod.o
  LD [M]  /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/ath_hal/ath_hal.ko
make[2]: Leaving directory `/usr/src/linux-2.6.8-rc2-love3'
make[1]: Leaving directory `/var/tmp/portage/madwifi-driver-0.1_pre20040906/work/ath_hal'
make[1]: Entering directory `/var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211'
make -C //usr/src/linux M=/var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211 modules
make[2]: Entering directory `/usr/src/linux-2.6.8-rc2-love3'
  CC [M]  /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/if_media.o
  CC [M]  /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/rc4.o
  CC [M]  /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211.o
  CC [M]  /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211_crypto.o
  CC [M]  /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211_input.o
  CC [M]  /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211_node.o
  CC [M]  /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211_output.o
  CC [M]  /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211_proto.o
  CC [M]  /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211_wireless.o
  CC [M]  /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211_linux.o
/var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211_linux.c: In function `ieee80211_sysctl_debug':
/var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211_linux.c:382: error: too many arguments to function `proc_dointvec'
/var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211_linux.c:391: error: too many arguments to function `proc_dointvec'
/var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211_linux.c: At top level:
/var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211_linux.c:404: warning: initialization from incompatible pointer type
/var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211_linux.c:409: warning: initialization from incompatible pointer type
make[3]: *** [/var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211_linux.o] Error 1
make[2]: *** [_module_/var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.8-rc2-love3'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211'
make: *** [all] Error 1

!!! ERROR: net-wireless/madwifi-driver-0.1_pre20040906 failed.
!!! Function src_compile, Line 55, Exitcode 2
!!! (no error message)

I'm using 2.6.8-rc2-love3, the same as last time I built the madwifi driver. And it's linked correctly, as you see in the merge.
Thanks in advance.
Back to top
View user's profile Send private message
fbd
n00b
n00b


Joined: 12 Sep 2004
Posts: 21
Location: Akureyri, Iceland

PostPosted: Mon Sep 13, 2004 1:29 pm    Post subject: Reply with quote

This is CONFIG_MODVERSIONS in the menuconfig
Code:
Loadable module support -->
[ ]   Module versioning support (EXPERIMENTAL)


I suspect this is the problem. This should not be enabled.

Anywho, if you still have problems after fixing this (or this wasn't the problem), just post again.
_________________
Frailty, thy name is woman!
Back to top
View user's profile Send private message
andrewski
Guru
Guru


Joined: 30 Apr 2004
Posts: 366
Location: Royersford, PA, USA

PostPosted: Mon Sep 13, 2004 6:11 pm    Post subject: Reply with quote

No, I didn't have that enabled; what else could the problem be?
Back to top
View user's profile Send private message
fbd
n00b
n00b


Joined: 12 Sep 2004
Posts: 21
Location: Akureyri, Iceland

PostPosted: Mon Sep 13, 2004 7:51 pm    Post subject: Reply with quote

Then, my last idea, the problem is with the 2.6.8* kernel; try patching it:
http://users.informatik.haw-hamburg.de/~gropp_v/

Sorry :)

Postscript; you could try some evil hacking like FEATURES="-sandbox", but I don't recomend it.
_________________
Frailty, thy name is woman!
Back to top
View user's profile Send private message
andrewski
Guru
Guru


Joined: 30 Apr 2004
Posts: 366
Location: Royersford, PA, USA

PostPosted: Mon Sep 13, 2004 7:56 pm    Post subject: Reply with quote

Like I already said, I used the July driver with the same kernel, so I doubt the problem is there.

Should I try reporting a bug?
Back to top
View user's profile Send private message
fbd
n00b
n00b


Joined: 12 Sep 2004
Posts: 21
Location: Akureyri, Iceland

PostPosted: Mon Sep 13, 2004 8:08 pm    Post subject: Reply with quote

andrewski wrote:
Like I already said, I used the July driver with the same kernel, so I doubt the problem is there.

Should I try reporting a bug?

You could try searching first and then report it :) OR:

You could try asking FreeNode @ #gentoo-laptop, there are some madwifi-driver maintainers there.
_________________
Frailty, thy name is woman!
Back to top
View user's profile Send private message
andrewski
Guru
Guru


Joined: 30 Apr 2004
Posts: 366
Location: Royersford, PA, USA

PostPosted: Tue Sep 14, 2004 5:30 pm    Post subject: Reply with quote

Posted on bugs.gentoo.org:
https://bugs.gentoo.org/show_bug.cgi?id=64025
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum