[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[plamo:18927] Re: gcc-3.3 (Re: kernel compile time)
-
From:Yoshinori Sato
-
Date:Fri, 16 May 2003 00:15:33 +0900 (JST)
- Subject: [plamo:18927] Re: gcc-3.3 (Re: kernel compile time)
- From: Yoshinori Sato <qzb04471@xxxxxxxxxxx>
- Date: Fri, 16 May 2003 00:15:32 +0900
- User-agent: Wanderlust/2.10.0 (Venus) SEMI/1.14.4 (Hosorogi) FLIM/1.14.4(Kashiharajingmae) APEL/10.4 Emacs/21.2(i386-pc-linux-gnu) MULE/5.0 (SAKAKI)
At Thu, 15 May 2003 23:26:31 +0900,
T.Nikki wrote:
>
> 新木です。
>
> gcc 3.3 もリリースされたのでテストを兼ねてやってみました。
> が、vmlinux のリンク時にエラーが出て終了できませんでした。
> 3.2.2 では OK だったんですが...。
>
> ld -m elf_i386 -T /usr/src/linux-2.4.20/arch/i386/vmlinux.lds -e stext
> (略)
> -o vmlinux
> net/network.o: In function `rtnetlink_rcv':
> net/network.o(.text+0xdd17): undefined reference to `rtnetlink_rcv_skb'
> make: *** [vmlinux] エラー 1
>
ちょうど直した所なのでdiff
Index: net/core/rtnetlink.c
===================================================================
RCS file: /cvsroot/uclinux-h8/uClinux-2.4.x/net/core/rtnetlink.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 rtnetlink.c
--- net/core/rtnetlink.c 4 Dec 2002 01:14:05 -0000 1.1.1.2
+++ net/core/rtnetlink.c 15 May 2003 13:56:55 -0000
@@ -394,7 +394,7 @@
* Malformed skbs with wrong lengths of messages are discarded silently.
*/
-extern __inline__ int rtnetlink_rcv_skb(struct sk_buff *skb)
+static __inline__ int rtnetlink_rcv_skb(struct sk_buff *skb)
{
int err;
struct nlmsghdr * nlh;
できあがったカーネルがx86で動くかどうかは不明です。
目的のarchではちゃんと動いたので、大丈夫だと思いますが。
--
Yoshinori Sato
<qzb04471@nifty.ne.jp>
- References
-
- [plamo:18830] Re: ネットワークボードだと思うのですが?, Shun-ichi TAHARA (田原 俊一)
- [plamo:18832] Re: ネットワークボードだと思うのですが?, kinneko
- [plamo:18833] Re: ネットワークボードだと思うのですが?, Shun-ichi TAHARA (田原 俊一)
- [plamo:18834] kernel compile time(Re: Re:ネットワークボードだと思うのですが?), KOJIMA Mitsuhiro
- [plamo:18926] gcc-3.3 (Re: kernel compile time), T.Nikki
[検索ページ]
[メール一覧]
Plamo ML 公開システム