View previous topic :: View next topic |
Author |
Message |
hugelmopf n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 May 2004 Posts: 28 Location: Dresden (Germany)
|
Posted: Thu Jun 10, 2004 7:11 pm Post subject: Error on make bzImage |
|
|
Having recompiled my Kernel a few times already with success, I now get an error message when doing the make bzImage (after activating some parallel-port-feature):
Code: |
b44.c:811: error: syntax error before "b44_interrupt"
b44.c:812: warning: return type defaults to `int'
b44.c: In function `b44_interrupt':
b44.c:846: warning: `return' with no value, in function returning non-void
b44.c: In function `b44_open':
b44.c:1219: warning: passing arg 2 of `request_irq' from incompatible pointer type
make[3]: *** [b44.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.25-gentoo-r1/drivers/net'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.25-gentoo-r1/drivers/net'
make[1]: *** [_subdir_net] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.25-gentoo-r1/drivers'
make: *** [_dir_drivers] Error 2 |
Anybody have a quick idea how to fix that or point me into the right direction? Already tried with make mrproper.
Thanks! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
-Craig- Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 03 Jun 2004 Posts: 333
|
Posted: Thu Jun 10, 2004 7:25 pm Post subject: |
|
|
head /usr/src/linux-2.4.25-gentoo-r1/drivers/net/b44.c
/* b44.c: Broadcom 4400 device driver.
*
* Copyright (C) 2002 David S. Miller (davem@redhat.com)
* Fixed by Pekka Pietikainen (pp@ee.oulu.fi)
*/
Correct me if I am wrong, but it looks as if you are trying to compile this as a module, right?
in "make menuconfig" go to the network drivers, disable Broadcom 4400 and try again; if you need that driver, try to compile it directly into the kernel.
Thats my Idea to fix this issue quickly... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hugelmopf n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 May 2004 Posts: 28 Location: Dresden (Germany)
|
Posted: Thu Jun 10, 2004 7:35 pm Post subject: |
|
|
You are right with the Broadcom 4400 causing the problem (disabling it will let me make bzImage), but it's not been compiling as a module, but as (*).
I do need this device, and in "make menuconfig" it shows up as (*), so it should be compiled into the kernel, not as a module, right?
Very strange, the Broadcom network adapter is working with my kerrnel right now, which was compiled from these same sources. How come it gives problems now?
Thanks, Frank |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|