View previous topic :: View next topic |
Author |
Message |
gmalleus n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Simpsons/Simpsons_-_Docter_Hibbert.gif)
Joined: 23 Nov 2003 Posts: 29 Location: Pennsylvania, USA
|
Posted: Mon Jan 10, 2005 12:15 am Post subject: Prism54 emerge/compile problem |
|
|
I am having a problem trying to get the emerge prism54 to work. A similar error also comes up if when I downloaded the latest cvs from prism54.org and did a make clean modules.
this is the error from the emerge
Code: |
gcc -Wp,-MD,/var/tmp/portage/prism54-20040208/work/prism54-cvs20040208/ksrc/.islpci_hotplug.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -march=athlon -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -I/var/tmp/portage/prism54-20040208/work/prism54-cvs20040208/ksrc -DMODULE -DKBUILD_BASENAME=islpci_hotplug -DKBUILD_MODNAME=prism54 -c -o /var/tmp/portage/prism54-20040208/work/prism54-cvs20040208/ksrc/islpci_hotplug.o /var/tmp/portage/prism54-20040208/work/prism54-cvs20040208/ksrc/islpci_hotplug.c
/var/tmp/portage/prism54-20040208/work/prism54-cvs20040208/ksrc/islpci_hotplug.c: In function `prism54_suspend':
/var/tmp/portage/prism54-20040208/work/prism54-cvs20040208/ksrc/islpci_hotplug.c:318: error: too many arguments to function `pci_save_state'
/var/tmp/portage/prism54-20040208/work/prism54-cvs20040208/ksrc/islpci_hotplug.c: In function `prism54_resume':
/var/tmp/portage/prism54-20040208/work/prism54-cvs20040208/ksrc/islpci_hotplug.c:342: error: too many arguments to function `pci_restore_state'
make[3]: *** [/var/tmp/portage/prism54-20040208/work/prism54-cvs20040208/ksrc/islpci_hotplug.o] Error 1
make[2]: *** [_module_/var/tmp/portage/prism54-20040208/work/prism54-cvs20040208/ksrc] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.10-gentoo-r2'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/var/tmp/portage/prism54-20040208/work/prism54-cvs20040208/ksrc'
make: *** [modules-all] Error 2
!!! ERROR: net-wireless/prism54-20040208 failed.
!!! Function src_compile, Line 41, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
|
this is the error from the cvs
Code: |
/root/prism54-cvs-latest/ksrc/islpci_hotplug.c: In function `prism54_suspend':
/root/prism54-cvs-latest/ksrc/islpci_hotplug.c:280: error: too many arguments to function `pci_save_state'
/root/prism54-cvs-latest/ksrc/islpci_hotplug.c: In function `prism54_resume':
/root/prism54-cvs-latest/ksrc/islpci_hotplug.c:306: error: too many arguments to function `pci_restore_state'
make[3]: *** [/root/prism54-cvs-latest/ksrc/islpci_hotplug.o] Error 1
make[2]: *** [_module_/root/prism54-cvs-latest/ksrc] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.10-gentoo-r2'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/prism54-cvs-latest/ksrc'
make: *** [modules-all] Error 2
|
any ideas on how to fix this?? _________________ You Can Do Anything You Set Your Mind To When You Have Vision, Determination, And An Endless Supply Of Cheap Labor. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
emes Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 29 Jul 2004 Posts: 87
|
Posted: Mon Jan 10, 2005 12:58 am Post subject: |
|
|
What kernel are you using? prism54 was merged into 2.6 and I think 2.4.
Try building it with your kernel. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hanj Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/104414163441b8c6c1a6b4e.gif)
Joined: 19 Aug 2003 Posts: 1500
|
Posted: Mon Jan 10, 2005 7:58 pm Post subject: |
|
|
same problem here
kernel version:
Code: | 2.6.10-gentoo-r4 #3 Sun Jan 9 23:05:34 MST 2005 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz GenuineIntel GNU/Linux |
PRISM54 support is enabled in the kernel
Code: | # cat .config | grep PRISM
CONFIG_PRISM54=m |
Thanks
hanji |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gmalleus n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Simpsons/Simpsons_-_Docter_Hibbert.gif)
Joined: 23 Nov 2003 Posts: 29 Location: Pennsylvania, USA
|
Posted: Mon Jan 10, 2005 8:03 pm Post subject: |
|
|
I found the option to compile it into the kernel. I can't test it until I get my pcmcia and cardmgr working (see https://forums.gentoo.org/viewtopic.php?t=277284 ) anyways Hanj, did you load the module. _________________ You Can Do Anything You Set Your Mind To When You Have Vision, Determination, And An Endless Supply Of Cheap Labor. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hanj Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/104414163441b8c6c1a6b4e.gif)
Joined: 19 Aug 2003 Posts: 1500
|
Posted: Mon Jan 10, 2005 8:09 pm Post subject: |
|
|
Hello
modules is loaded.. relevant line from lsmod:
Code: | firmware_class 9984 1 prism54 |
I didn't have any problems until ungrading kernel to 2.6.10-r4.. upgraded from 2.6.9-gentoo-r13.
Thanks!
hanji |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|