[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:37238] Re: Kernel-2.4.20 Compile error



飛田ã§ã™ã€‚

;; Note ãªãƒžã‚·ãƒ³ Cardbus + pci_hotplug + acpi 㧠3æ—¥ã»ã©ã©ã£ã·ã‚Šã¯ã¾ã£
;; ã¦ã¾ã—ãŸã€‚^^;;

>>>>> In [debian-users : No.37236] 
>>>>>	Tomoo Nomura <nomurat@xxxxxxxxx> wrote:
> Shinichiro HIDA wrote:

[...]

> >sid 上ã§ã™ãŒã“ã¡ã‚‰ã§ã¯ gcc-3.2 㧠2.4.20 コンパイルã§ãã¦ã¾ã™ã€‚
> >
> >ã©ã†ã„ã†é¢¨ã«åŒã˜ãªã®ã§ã—ょã†?

> net/network.o(.text+0xe0af): In function `rtnetlink_rcv':
> : undefined reference to `rtnetlink_rcv_skb'
> make[1]: *** [vmlinux] Error 1
> make[1]: Leaving directory `/usr/src/kernel-source-2.4.20'
> make: *** [stamp-build] Error 2

> ã§ã™ã€‚

> http://lists.debian.org/debian-hppa/2003/debian-hppa-200303/msg00053.html
> ã«ã‚ˆã‚Šã¾ã™ã¨ã€

> `gcc -print-libgcc-file-name` /usr/src/work/linux-2.4.20-pa28/arch/parisc/lib/lib.a
> /usr/src/work/linux-2.4.20-pa28/lib/lib.a  \
>         --end-group \
>         -o vmlinux
> net/network.o(.text.rtnetlink_rcv+0x84): In function `rtnetlink_rcv':
> : undefined reference to `rtnetlink_rcv_skb'
> make: *** [vmlinux] Error 1

> (with gcc-3.2 with same src && same .config there was no pb)

> ã¨ã„ã†ã€ã“ã¨ãªã‚“ã§ã™ãŒã€gcc-3.2 gcc-3.0 ã§ã‚‚åŒã˜ã‚‚ã®ãŒã§ã‚‹ã‚“ã§ã™ãŒã€‚。。。
> ãªã«ã‹ã€é–“é•ãˆã¦ã¾ã™ã‹ã­ï¼Ÿï¼Ÿï¼Ÿï¼Ÿ

make-kpkg clean ã¨ã‹ ã§ã™ã‹ã­?

ã“ã‚Œã—ãªã„ã¨ã€ä»¥å‰ã®ã‚³ãƒ³ãƒ‘イルã§é€šã£ãŸç‰©ãŒä¸­é€”åŠç«¯ã«æ®‹ã£ã¦ãŸã‚Šã™ã‚‹ã‹ã‚‚
ã—ã‚Œãªã„ã¨æ€ã„ã¾ã™ã€‚

> ã‚‚ã†ä¸€åº¦ã€ln -s /usr/bin/gcc-3.2 /usr/bin/gcc ã¨ã—ã¦ã‚„ã£ã¦ã¿ã¾ã™ãŒã€‚。。。。

ç§ã®å ´åˆã€/usr/bin/gcc ã¯ãã®ã¾ã¾ã«ã—ã¦ã€
/usr/src/kernel-source-2.4.20/Makefile 㮠CC 㨠HOSTCC を
gcc -> gcc-3.2 ã«æ›¸ãæ›ãˆã¦æˆåŠŸã—ã¦ã„ã¾ã™ã€‚

cf.
 Subject: [debian-users:37139] Re: make-kpkgã§ä½¿ã†ã‚³ãƒ³ãƒ‘イラを指定ã™ã‚‹æ–¹æ³•
 From: OHURA Makoto <Makoto.Ohura@xxxxxxxxxxxxxxxxx>
 Date: Mon, 19 May 2003 21:54:56 +0900
 Message-Id: <20030519.215415.730549713.Makoto.Ohura@xxxxxxxxxxxxxxxxx>

 Subject: [debian-users:37160] Re: make-kpkgã§ä½¿ã†ã‚³ãƒ³ãƒ‘イラを指定ã™ã‚‹æ–¹æ³•
 From: KIMURA Yasuhiro <yasu@xxxxxxxxxxx>
 Date: Thu, 22 May 2003 04:46:25 +0900
 Message-Id: <20030522.044617.13020568.yasu@xxxxxxxxxxx>

ã‚ãŸã‚Šã¯å‚考ã«ãªã‚‹ã®ã§ã¯ãªã„ã‹ã¨æ€ã„ã¾ã™ã€‚

alsa ã¨ã‹ /usr/src/modules ã«ã‚ã‚‹ã®ã‚‚ã€ä¸€åº¦ make-kpkg modules_image ã™
ã‚‹ã¨(失敗ã™ã‚‹ã‘ã©) Makefile.conf ã ã£ãŸã‹(?)ãŒå‡ºæ¥ã‚‹ã®ã§ã€ãã® gcc ->
gcc-3.2 ã¨æ›¸ãæ›ãˆã‚‹ã¨ã„ã‘ã¦ã¾ã™ã€‚

;; 多分ã€alsa ã®å ´åˆã€/usr/src/modules/alsa-driver/configure.in ã® 
;; CC=gcc ã‚’ CC=gcc-3.2 ã«ã™ã‚‹ã¨å–ã‚Šæ•¢ãˆãšã®é€ƒã’ã«ã¯è‰¯ã„ã®ã§ã¯ãªã„ã‹ã¨
;; æ€ã„ã¾ã™ãŒã€‚(未検証)

-- 
  Shinichiro HIDA  mailto:shinichiro@xxxxxxxxxxxxx
  GPG fingerprint = 5F2D 1656 FFF6 F691 A51C  5E61 E416 D398 470C 1CE9