Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Prism54 emerge/compile problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
gmalleus
n00b
n00b


Joined: 23 Nov 2003
Posts: 29
Location: Pennsylvania, USA

PostPosted: Mon Jan 10, 2005 12:15 am    Post subject: Prism54 emerge/compile problem Reply with quote

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
View user's profile Send private message
emes
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jul 2004
Posts: 87

PostPosted: Mon Jan 10, 2005 12:58 am    Post subject: Reply with quote

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
View user's profile Send private message
hanj
Veteran
Veteran


Joined: 19 Aug 2003
Posts: 1500

PostPosted: Mon Jan 10, 2005 7:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
gmalleus
n00b
n00b


Joined: 23 Nov 2003
Posts: 29
Location: Pennsylvania, USA

PostPosted: Mon Jan 10, 2005 8:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
hanj
Veteran
Veteran


Joined: 19 Aug 2003
Posts: 1500

PostPosted: Mon Jan 10, 2005 8:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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