Compilation Failure

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=6083

Acid_Reign

25-06-2010 02:48:03

Hi all,

Running Fedora 13.

Kernel version
[code1dvdxwl8]2.6.33.5-124.fc13.i686[/code1dvdxwl8]
Downloaded kernel-devel-2.6.33.5-124.fc13.i686.
Downloaded development-libs.
Downloaded development-tools.

In home
[code1dvdxwl8]git clone git://git.kernel.org/pub/scm/linux/kernel/git/ivd/rt2x00.git rt2x00[/code1dvdxwl8]

In rt2x00
[code1dvdxwl8]cp /boot/config-2.6.33.5-124.fc13.i686 ./.config
make[/code1dvdxwl8]

I then accepted every default in the configuration prompts. The compile seemed to be working until it got to this

[code1dvdxwl8]drivers/net/wireless/wl12xx/wl1251_sdio.c: In function ‘wl1251_sdio_read_elp’:
drivers/net/wireless/wl12xx/wl1251_sdio.c:109: error: implicit declaration of function ‘sdio_writeb_readb’
make[4]: *** [drivers/net/wireless/wl12xx/wl1251_sdio.o] Error 1
make[3]: *** [drivers/net/wireless/wl12xx] Error 2
make[2]: *** [drivers/net/wireless] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2[/code1dvdxwl8]

Attached are my .config files, both before and after running make.

Any help appreciated.

IvD

25-06-2010 07:52:25

Seems like a problem of wl12xx rather then rt2x00...

Acid_Reign

25-06-2010 16:25:54

It's a brand new Linux install; any idea why that might be happening?

If I disable the wl12xx stuff in .config and make again, I get this
[code14k65ykd]drivers/staging/netwave/netwave_cs.c:250: error: expected specifier-qualifier-list before ‘dev_node_t’
drivers/staging/netwave/netwave_cs.c: In function ‘netwave_snapshot’:
drivers/staging/netwave/netwave_cs.c:291: error: ‘netwave_private’ has no member named ‘lastExec’
drivers/staging/netwave/netwave_cs.c:302: error: implicit declaration of function ‘copy_from_pc’
drivers/staging/netwave/netwave_cs.c:302: error: ‘netwave_private’ has no member named ‘nss’
drivers/staging/netwave/netwave_cs.c: In function ‘netwave_get_wireless_stats’:
drivers/staging/netwave/netwave_cs.c:318: error: ‘netwave_private’ has no member named ‘ramBase’
drivers/staging/netwave/netwave_cs.c:321: error: ‘netwave_private’ has no member named ‘iw_stats’
drivers/staging/netwave/netwave_cs.c:327: error: ‘netwave_private’ has no member named ‘nss’
drivers/staging/netwave/netwave_cs.c:337: error: ‘netwave_private’ has no member named ‘iw_stats’
drivers/staging/netwave/netwave_cs.c: In function ‘netwave_detach’:
drivers/staging/netwave/netwave_cs.c:419: error: ‘struct pcmcia_device’ has no member named ‘dev_node’
drivers/staging/netwave/netwave_cs.c: In function ‘netwave_set_nwid’:
drivers/staging/netwave/netwave_cs.c:448: error: ‘netwave_private’ has no member named ‘ramBase’
drivers/staging/netwave/netwave_cs.c: In function ‘netwave_set_scramble’:
drivers/staging/netwave/netwave_cs.c:495: error: ‘netwave_private’ has no member named ‘ramBase’
drivers/staging/netwave/netwave_cs.c: In function ‘netwave_get_snap’:
drivers/staging/netwave/netwave_cs.c:598: error: ‘netwave_private’ has no member named ‘ramBase’
drivers/staging/netwave/netwave_cs.c:605: error: ‘netwave_private’ has no member named ‘nss’
drivers/staging/netwave/netwave_cs.c:606: error: ‘netwave_private’ has no member named ‘nss’
drivers/staging/netwave/netwave_cs.c:608: error: ‘netwave_private’ has no member named ‘lastExec’
drivers/staging/netwave/netwave_cs.c: In function ‘netwave_pcmcia_config’:
drivers/staging/netwave/netwave_cs.c:763: error: ‘netwave_private’ has no member named ‘ramBase’
drivers/staging/netwave/netwave_cs.c:774: error: ‘netwave_private’ has no member named ‘node’
drivers/staging/netwave/netwave_cs.c:775: error: ‘struct pcmcia_device’ has no member named ‘dev_node’
drivers/staging/netwave/netwave_cs.c:775: error: ‘netwave_private’ has no member named ‘node’
drivers/staging/netwave/netwave_cs.c: In function ‘netwave_release’:
drivers/staging/netwave/netwave_cs.c:819: error: ‘netwave_private’ has no member named ‘ramBase’
drivers/staging/netwave/netwave_cs.c: In function ‘netwave_reset’:
drivers/staging/netwave/netwave_cs.c:867: error: ‘netwave_private’ has no member named ‘ramBase’
drivers/staging/netwave/netwave_cs.c:872: error: ‘netwave_private’ has no member named ‘timeoutCounter’
drivers/staging/netwave/netwave_cs.c: In function ‘netwave_hw_xmit’:
drivers/staging/netwave/netwave_cs.c:948: error: ‘netwave_private’ has no member named ‘ramBase’
drivers/staging/netwave/netwave_cs.c:986: error: implicit declaration of function ‘copy_to_pc’
drivers/staging/netwave/netwave_cs.c: In function ‘netwave_interrupt’:
drivers/staging/netwave/netwave_cs.c:1053: error: ‘struct netwave_private’ has no member named ‘ramBase’
drivers/staging/netwave/netwave_cs.c: In function ‘netwave_rx’:
drivers/staging/netwave/netwave_cs.c:1177: error: ‘netwave_private’ has no member named ‘ramBase’
drivers/staging/netwave/netwave_cs.c: In function ‘set_multicast_list’:
drivers/staging/netwave/netwave_cs.c:1332: error: ‘netwave_private’ has no member named ‘ramBase’
make[3]: *** [drivers/staging/netwave/netwave_cs.o] Error 1
make[2]: *** [drivers/staging/netwave] Error 2
make[1]: *** [drivers/staging] Error 2
make: *** [drivers] Error 2[/code14k65ykd]

Do I need to be setting different options from the defaults? I'm just trying to get a WUSB54GCv3 up and running.

IvD

25-06-2010 19:07:23

Could you do trying
[code5ykaezqs]
make oldconfig
make prepare
make[/code5ykaezqs]

this will take the configuration from your current kernel and apply that for building your new kernel.
If that works, you can make the configuration modifications you need.

Acid_Reign

26-06-2010 19:04:36

The first two commands seemed to go fine, but when I got to make I ran into errors again

[code2id42vwg]drivers/staging/netwave/netwave_cs.c:250: error: expected specifier-qualifier-list before ‘dev_node_t’
drivers/staging/netwave/netwave_cs.c: In function ‘netwave_snapshot’:
drivers/staging/netwave/netwave_cs.c:291: error: ‘netwave_private’ has no member named ‘lastExec’
drivers/staging/netwave/netwave_cs.c:302: error: implicit declaration of function ‘copy_from_pc’
drivers/staging/netwave/netwave_cs.c:302: error: ‘netwave_private’ has no member named ‘nss’
drivers/staging/netwave/netwave_cs.c: In function ‘netwave_get_wireless_stats’:
drivers/staging/netwave/netwave_cs.c:318: error: ‘netwave_private’ has no member named ‘ramBase’
drivers/staging/netwave/netwave_cs.c:321: error: ‘netwave_private’ has no member named ‘iw_stats’
drivers/staging/netwave/netwave_cs.c:327: error: ‘netwave_private’ has no member named ‘nss’
drivers/staging/netwave/netwave_cs.c:337: error: ‘netwave_private’ has no member named ‘iw_stats’
drivers/staging/netwave/netwave_cs.c: In function ‘netwave_detach’:
drivers/staging/netwave/netwave_cs.c:419: error: ‘struct pcmcia_device’ has no member named ‘dev_node’
drivers/staging/netwave/netwave_cs.c: In function ‘netwave_set_nwid’:
drivers/staging/netwave/netwave_cs.c:448: error: ‘netwave_private’ has no member named ‘ramBase’
drivers/staging/netwave/netwave_cs.c: In function ‘netwave_set_scramble’:
drivers/staging/netwave/netwave_cs.c:495: error: ‘netwave_private’ has no member named ‘ramBase’
drivers/staging/netwave/netwave_cs.c: In function ‘netwave_get_snap’:
drivers/staging/netwave/netwave_cs.c:598: error: ‘netwave_private’ has no member named ‘ramBase’
drivers/staging/netwave/netwave_cs.c:605: error: ‘netwave_private’ has no member named ‘nss’
drivers/staging/netwave/netwave_cs.c:606: error: ‘netwave_private’ has no member named ‘nss’
drivers/staging/netwave/netwave_cs.c:608: error: ‘netwave_private’ has no member named ‘lastExec’
drivers/staging/netwave/netwave_cs.c: In function ‘netwave_pcmcia_config’:
drivers/staging/netwave/netwave_cs.c:763: error: ‘netwave_private’ has no member named ‘ramBase’
drivers/staging/netwave/netwave_cs.c:774: error: ‘netwave_private’ has no member named ‘node’
drivers/staging/netwave/netwave_cs.c:775: error: ‘struct pcmcia_device’ has no member named ‘dev_node’
drivers/staging/netwave/netwave_cs.c:775: error: ‘netwave_private’ has no member named ‘node’
drivers/staging/netwave/netwave_cs.c: In function ‘netwave_release’:
drivers/staging/netwave/netwave_cs.c:819: error: ‘netwave_private’ has no member named ‘ramBase’
drivers/staging/netwave/netwave_cs.c: In function ‘netwave_reset’:
drivers/staging/netwave/netwave_cs.c:867: error: ‘netwave_private’ has no member named ‘ramBase’
drivers/staging/netwave/netwave_cs.c:872: error: ‘netwave_private’ has no member named ‘timeoutCounter’
drivers/staging/netwave/netwave_cs.c: In function ‘netwave_hw_xmit’:
drivers/staging/netwave/netwave_cs.c:948: error: ‘netwave_private’ has no member named ‘ramBase’
drivers/staging/netwave/netwave_cs.c:986: error: implicit declaration of function ‘copy_to_pc’
drivers/staging/netwave/netwave_cs.c: In function ‘netwave_interrupt’:
drivers/staging/netwave/netwave_cs.c:1053: error: ‘struct netwave_private’ has no member named ‘ramBase’
drivers/staging/netwave/netwave_cs.c: In function ‘netwave_rx’:
drivers/staging/netwave/netwave_cs.c:1177: error: ‘netwave_private’ has no member named ‘ramBase’
drivers/staging/netwave/netwave_cs.c: In function ‘set_multicast_list’:
drivers/staging/netwave/netwave_cs.c:1332: error: ‘netwave_private’ has no member named ‘ramBase’
make[3]: *** [drivers/staging/netwave/netwave_cs.o] Error 1
make[2]: *** [drivers/staging/netwave] Error 2
make[1]: *** [drivers/staging] Error 2
make: *** [drivers] Error 2[/code2id42vwg]

Cigydd

19-07-2010 00:09:07

Then you'll also have to disable the netwave stuff in .config )