* 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; 12+ 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] 12+ messages in thread
* [2.6 patch] let IEEE1394 select NET
2004-05-29 11:24 error compiling linux-2.6.6 Artemio
@ 2004-05-29 12:14 ` Adrian Bunk
2004-05-29 12:23 ` Russell King
2004-05-29 13:21 ` error compiling linux-2.6.6 Artemio
2004-05-29 13:33 ` error compiling linux-2.6.6 and 2.6.7-cr1 Artemio
2 siblings, 1 reply; 12+ messages in thread
From: Adrian Bunk @ 2004-05-29 12:14 UTC (permalink / raw)
To: Artemio, bcollins; +Cc: linux-kernel, linux1394-devel
On Sat, May 29, 2004 at 02:24:43PM +0300, Artemio wrote:
> Hello all!
Hi Artemio!
> 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 for this report.
FireWire support requires Networking support.
The following patch lets FireWire support automatically select
Networking support:
--- linux-2.6.7-rc1-mm1-full/drivers/ieee1394/Kconfig.old 2004-05-29 14:07:55.000000000 +0200
+++ linux-2.6.7-rc1-mm1-full/drivers/ieee1394/Kconfig 2004-05-29 14:08:13.000000000 +0200
@@ -4,6 +4,7 @@
config IEEE1394
tristate "IEEE 1394 (FireWire) support"
+ 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
> Artemio.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [2.6 patch] let IEEE1394 select NET
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
0 siblings, 2 replies; 12+ messages in thread
From: Russell King @ 2004-05-29 12:23 UTC (permalink / raw)
To: Adrian Bunk; +Cc: Artemio, bcollins, linux-kernel, linux1394-devel
On Sat, May 29, 2004 at 02:14:08PM +0200, Adrian Bunk wrote:
> The following patch lets FireWire support automatically select
> Networking support:
And so we get another fscking symbol which has a non-obvious way to
turn it off.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [2.6 patch] let IEEE1394 select NET
2004-05-29 12:23 ` Russell King
@ 2004-05-29 12:57 ` Adrian Bunk
2004-05-29 23:55 ` Andy Lutomirski
1 sibling, 0 replies; 12+ messages in thread
From: Adrian Bunk @ 2004-05-29 12:57 UTC (permalink / raw)
To: Artemio, bcollins, linux-kernel, linux1394-devel
On Sat, May 29, 2004 at 01:23:56PM +0100, Russell King wrote:
> On Sat, May 29, 2004 at 02:14:08PM +0200, Adrian Bunk wrote:
> > The following patch lets FireWire support automatically select
> > Networking support:
>
> And so we get another fscking symbol which has a non-obvious way to
> turn it off.
Alternatively, the following patch would also solve this issue:
--- linux-2.6.7-rc1-mm1-full/drivers/ieee1394/Kconfig.old 2004-05-29 14:07:55.000000000 +0200
+++ linux-2.6.7-rc1-mm1-full/drivers/ieee1394/Kconfig 2004-05-29 14:56:02.000000000 +0200
@@ -4,6 +4,7 @@
config IEEE1394
tristate "IEEE 1394 (FireWire) support"
+ depends on 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
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: error compiling linux-2.6.6
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 13:21 ` Artemio
2004-05-29 14:46 ` Paolo Ornati
2004-05-29 13:33 ` error compiling linux-2.6.6 and 2.6.7-cr1 Artemio
2 siblings, 1 reply; 12+ messages in thread
From: Artemio @ 2004-05-29 13:21 UTC (permalink / raw)
To: Linux-kernel
I am continuing my tries...
GCC 2.96, linux-2.6.6.
<make_output>
LD .tmp_vmlinux1
drivers/built-in.o: In function `hpsb_alloc_packet':
drivers/built-in.o(.text+0x76921): undefined reference to `alloc_skb'
drivers/built-in.o: In function `hpsb_free_packet':
drivers/built-in.o(.text+0x769cc): undefined reference to `__kfree_skb'
drivers/built-in.o: In function `hpsb_packet_sent':
drivers/built-in.o(.text+0x770a2): undefined reference to `skb_unlink'
drivers/built-in.o: In function `hpsb_send_packet':
drivers/built-in.o(.text+0x77250): undefined reference to `skb_queue_tail'
drivers/built-in.o: In function `abort_requests':
drivers/built-in.o(.text+0x77cd6): undefined reference to `skb_dequeue'
drivers/built-in.o: In function `queue_packet_complete':
drivers/built-in.o(.text+0x77d9b): undefined reference to `skb_queue_tail'
drivers/built-in.o: In function `hpsbpkt_thread':
drivers/built-in.o(.text+0x77e00): undefined reference to `skb_dequeue'
make: *** [.tmp_vmlinux1] Error 1
</make_output>
Am I doing something wrong? :-(
Artemio.
--
A-Man ::: new music from Artemio ::: http://a-man.artemio.net
[local time 16:19:25 (GMT +3) 29 May 2004] [system uptime 3 hr 07 min]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: error compiling linux-2.6.6 and 2.6.7-cr1
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 13:21 ` error compiling linux-2.6.6 Artemio
@ 2004-05-29 13:33 ` Artemio
2004-05-29 14:17 ` Adrian Bunk
2 siblings, 1 reply; 12+ messages in thread
From: Artemio @ 2004-05-29 13:33 UTC (permalink / raw)
To: Linux-kernel
I just patched the kernel up to 2.6.7-rc 1 but got the same error, both on gcc
3.3.2 and gcc 2.96.
...
Artemio.
--
A-Man ::: new music from Artemio ::: http://a-man.artemio.net
[local time 15:43:39 (GMT +3) 29 May 2004] [system uptime 2 hr 31 min]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: error compiling linux-2.6.6 and 2.6.7-cr1
2004-05-29 13:33 ` error compiling linux-2.6.6 and 2.6.7-cr1 Artemio
@ 2004-05-29 14:17 ` Adrian Bunk
0 siblings, 0 replies; 12+ messages in thread
From: Adrian Bunk @ 2004-05-29 14:17 UTC (permalink / raw)
To: Artemio; +Cc: Linux-kernel
On Sat, May 29, 2004 at 04:33:48PM +0300, Artemio wrote:
> I just patched the kernel up to 2.6.7-rc 1 but got the same error, both on gcc
> 3.3.2 and gcc 2.96.
Sorry if my answer was to technical.
Workaround for your problem:
Enable:
Device Drivers
Networking support
Networking support
> Artemio.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: error compiling linux-2.6.6
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
0 siblings, 1 reply; 12+ messages in thread
From: Paolo Ornati @ 2004-05-29 14:46 UTC (permalink / raw)
To: Artemio; +Cc: Linux-kernel
On Saturday 29 May 2004 15:21, you wrote:
> I am continuing my tries...
>
> GCC 2.96, linux-2.6.6.
> ...
>
> Am I doing something wrong? :-(
YES, you are using a very BUGGY gcc version!
Try 2.95.x (x >= 3) or go to 3.x.x.
I'm using GCC 3.3.3 without any problem.
>
>
> Artemio.
Bye
--
Paolo Ornati
Linux v2.6.7-rc1-mm1
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: error compiling linux-2.6.6
2004-05-29 14:46 ` Paolo Ornati
@ 2004-05-29 17:21 ` Adrian Bunk
2004-05-30 7:55 ` Paolo Ornati
0 siblings, 1 reply; 12+ messages in thread
From: Adrian Bunk @ 2004-05-29 17:21 UTC (permalink / raw)
To: Paolo Ornati; +Cc: Artemio, Linux-kernel
On Sat, May 29, 2004 at 04:46:55PM +0200, Paolo Ornati wrote:
> On Saturday 29 May 2004 15:21, you wrote:
> > I am continuing my tries...
> >
> > GCC 2.96, linux-2.6.6.
> > ...
> >
> > Am I doing something wrong? :-(
>
> YES, you are using a very BUGGY gcc version!
It's an unofficial gcc version, but it's not necessary more buggy than
other versions of gcc.
And Documentation/Changes in Linux 2.6.6 also tells that your statement
is wrong:
<-- snip -->
...
The Red Hat gcc 2.96 compiler subtree can also be used to build this tree.
You should ensure you use gcc-2.96-74 or later. gcc-2.96-54 will not build
the kernel correctly.
...
<-- snip -->
> Try 2.95.x (x >= 3) or go to 3.x.x.
>...
His problem is as far as I can see in no way related to the gcc version
he's using.
> Bye
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [2.6 patch] let IEEE1394 select NET
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
1 sibling, 1 reply; 12+ messages in thread
From: Andy Lutomirski @ 2004-05-29 23:55 UTC (permalink / raw)
To: Russell King; +Cc: Artemio, bcollins, linux-kernel, linux1394-devel
Russell King wrote:
> On Sat, May 29, 2004 at 02:14:08PM +0200, Adrian Bunk wrote:
>
>>The following patch lets FireWire support automatically select
>>Networking support:
>
>
> And so we get another fscking symbol which has a non-obvious way to
> turn it off.
>
Is it possible to make xconfig and menuconfig show what has an option selected?
--Andy
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [2.6 patch] let IEEE1394 select NET
2004-05-29 23:55 ` Andy Lutomirski
@ 2004-05-30 0:08 ` Randy.Dunlap
0 siblings, 0 replies; 12+ messages in thread
From: Randy.Dunlap @ 2004-05-30 0:08 UTC (permalink / raw)
To: Andy Lutomirski; +Cc: rmk+lkml, theman, bcollins, linux-kernel, linux1394-devel
On Sat, 29 May 2004 16:55:24 -0700 Andy Lutomirski <luto@myrealbox.com> wrote:
| Russell King wrote:
|
| > On Sat, May 29, 2004 at 02:14:08PM +0200, Adrian Bunk wrote:
| >
| >>The following patch lets FireWire support automatically select
| >>Networking support:
| >
| >
| > And so we get another fscking symbol which has a non-obvious way to
| > turn it off.
| >
|
| Is it possible to make xconfig and menuconfig show what has an option selected?
It's possible to "Show all options" and several other gui options
in xconfig. I don't know of similar options in menuconfig.
The xconfig options are useful for debugging where options are
defined, what controls them, etc.
--
~Randy
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: error compiling linux-2.6.6
2004-05-29 17:21 ` Adrian Bunk
@ 2004-05-30 7:55 ` Paolo Ornati
0 siblings, 0 replies; 12+ messages in thread
From: Paolo Ornati @ 2004-05-30 7:55 UTC (permalink / raw)
To: Adrian Bunk; +Cc: Linux-kernel
On Saturday 29 May 2004 19:21, Adrian Bunk wrote:
>
> His problem is as far as I can see in no way related to the gcc version
> he's using.
Sorry,
;-)
Bye
--
Paolo Ornati
Linux v2.6.6
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2004-05-30 7:58 UTC | newest]
Thread overview: 12+ 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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox