public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* error compiling linux-2.6.6
@ 2004-05-29 11:24 Artemio
  2004-05-29 12:14 ` [2.6 patch] let IEEE1394 select NET Adrian Bunk
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Artemio @ 2004-05-29 11:24 UTC (permalink / raw)
  To: linux-kernel

Hello all!

I am trying to compile a clean, non-patched 2.6.6 kernel from right from 
kernel.org, using gcc 3.3.2. I have tried both gcc 3.3.2 in uclibc i386 root 
distribution and gcc 3.3.2-6mdk in mandrake 10.0. With both gcc's, at the end 
of all, I get:

[make output]
  LD      .tmp_vmlinux1
drivers/built-in.o(.text+0x6ef62): In function `hpsb_alloc_packet':
: undefined reference to `alloc_skb'
drivers/built-in.o(.text+0x6f68f): In function `hpsb_packet_sent':
: undefined reference to `skb_unlink'
drivers/built-in.o(.text+0x6f82d): In function `hpsb_send_packet':
: undefined reference to `skb_queue_tail'
drivers/built-in.o(.text+0x70199): In function `abort_requests':
: undefined reference to `skb_dequeue'
drivers/built-in.o(.text+0x7025b): In function `queue_packet_complete':
: undefined reference to `skb_queue_tail'
drivers/built-in.o(.text+0x702bf): In function `hpsbpkt_thread':
: undefined reference to `skb_dequeue'
drivers/built-in.o(.text+0x6f006): In function `hpsb_free_packet':
: undefined reference to `__kfree_skb'
make: *** [.tmp_vmlinux1] Error 1
[/make output]

Could someone please tell me what to do? :-/

I'd really appreciate any help. 


Thanks and good luck!


Artemio.
-- 
A-Man ::: new music from Artemio ::: http://a-man.artemio.net
[local time 14:21:11 (GMT +3) 29 May 2004] [system uptime 1 hr 09 min]

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [2.6 patch] let IEEE1394 select NET
@ 2004-08-13 10:05 Adrian Bunk
  0 siblings, 0 replies; 13+ messages in thread
From: Adrian Bunk @ 2004-08-13 10:05 UTC (permalink / raw)
  To: bcollins; +Cc: linux-kernel, linux1394-devel

Firewire support with CONFIG_NET=n fails with the following error:

<--  snip  -->

...
  LD      .tmp_vmlinux1
drivers/built-in.o(.text+0x3e67d5): In function `hpsb_alloc_packet':
: undefined reference to `alloc_skb'
drivers/built-in.o(.text+0x3e73e7): In function `hpsb_send_packet':
: undefined reference to `skb_queue_tail'
drivers/built-in.o(.text+0x3e8106): In function `abort_requests':
: undefined reference to `skb_dequeue'
drivers/built-in.o(.text+0x3e822e): In function `queue_packet_complete':
: undefined reference to `skb_queue_tail'
drivers/built-in.o(.text+0x3e82b2): In function `hpsbpkt_thread':
: undefined reference to `skb_dequeue'
drivers/built-in.o(.text+0x3e82e2): In function `hpsbpkt_thread':
: undefined reference to `skb_dequeue'
drivers/built-in.o(.text+0x3e6890): In function `hpsb_free_packet':
: undefined reference to `__kfree_skb'
make: *** [.tmp_vmlinux1] Error 1

<--  snip  -->


The following patch fixes this issue by letting IEEE1394 select NET:


Signed-off-by: Adrian Bunk <bunk@fs.tum.de>

--- linux-2.6.8-rc4-mm1-full-3.4/drivers/ieee1394/Kconfig.old	2004-08-13 12:02:48.000000000 +0200
+++ linux-2.6.8-rc4-mm1-full-3.4/drivers/ieee1394/Kconfig	2004-08-13 12:03:04.000000000 +0200
@@ -5,6 +5,7 @@
 config IEEE1394
 	tristate "IEEE 1394 (FireWire) support"
 	depends on PCI || BROKEN
+	select NET
 	help
 	  IEEE 1394 describes a high performance serial bus, which is also
 	  known as FireWire(tm) or i.Link(tm) and is used for connecting all


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2004-08-13 10:05 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-29 11:24 error compiling linux-2.6.6 Artemio
2004-05-29 12:14 ` [2.6 patch] let IEEE1394 select NET Adrian Bunk
2004-05-29 12:23   ` Russell King
2004-05-29 12:57     ` Adrian Bunk
2004-05-29 23:55     ` Andy Lutomirski
2004-05-30  0:08       ` Randy.Dunlap
2004-05-29 13:21 ` error compiling linux-2.6.6 Artemio
2004-05-29 14:46   ` Paolo Ornati
2004-05-29 17:21     ` Adrian Bunk
2004-05-30  7:55       ` Paolo Ornati
2004-05-29 13:33 ` error compiling linux-2.6.6 and 2.6.7-cr1 Artemio
2004-05-29 14:17   ` Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2004-08-13 10:05 [2.6 patch] let IEEE1394 select NET Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox