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

[debian-users:23546] Re: Woody:pcmcia modules compile failure.



矢吹です。
最近、CF-B5Rを手に入れて、woodyを入れているのですが、昔の
私にフォローをします。

#それと、ircで直接質問してしまったのを解決したのがあるので
#MLへ投げておくことにしました。

On Sun, 19 Mar 2000 07:31:30 +0900
yabuki@xxxxxxxxxxxxxxx wrote:

> 矢吹です。
> 
> woodyでの話です。
> 
> pcmcia modulesをコンパイルすると
> 
> make[4]: Entering directory `/usr/src/modules/pcmcia-cs/modules'
> MD -O2 -Wall -Wstrict-prototypes -pipe -I../include -I/usr/src/kernel-source-2.2.14/include  -D__KERNEL__ -DMODULE -c cs.c
> make[4]: MD: Command not found
> make[4]: [cs.o] Error 127 (ignored)
> mv: cs.d: 
> make[4]: *** [cs.o] Error 1
> make[4]: Leaving directory `/usr/src/modules/pcmcia-cs/modules'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/usr/src/modules/pcmcia-cs'
> make[2]: *** [build-modules] Error 2
> make[2]: Leaving directory `/usr/src/modules/pcmcia-cs'
> make[1]: *** [kdist_image] Error 2
> make[1]: Leaving directory `/usr/src/modules/pcmcia-cs'
> Module /usr/src/modules/pcmcia-cs failed.
> 
> のようにコンパイルできません。理由は、なぜかgccとldの
> 定義が受け継がれていないからで、とりあえずコンパイル
> 対象のpcmcia-cs配下のディレクトリのMakefileに
> CC=/usr/bin/gcc
> LD=/usr/bin/ld
> を定義してしのぎました

ですが、IRCでいろいろ尋ねていると、ちゃんとコンパイルできている人が
いるのしって、とりあえずコンパイルが通る方法を探していました。

それは、/usr/src/にソースを展開して、make-kpkgするとOKでした。
とりあえず報告まで、/home/yab/srcでは、何故かダメだったのです。

*

あと、私がやった*はずかしい*失敗は、kernel 2.2.17pre6のイメージを
使ってブートさせていたのですが、unix domainソケットまでがモジュール
になっているのに気がついてなくて、alsaとかちゃんとインストール
できないのに気づかなかったことです。

*
あと、radio関係はコンパイルしないのだけど、soundの
CONFIG_LOWLEVEL_SOUND=y
CONFIG_ACI_MIXER=m
が必須だったことでしょうか。

*

Potatoで。Helix Gnomeが使えないのもwoodyにしています。
私の/etc/apt/sources.listは、

deb http://www.jp.debian.org/debian/ woody main non-free contrib
deb-src http://www.jp.debian.org/debian/ woody main non-free contrib
deb http://www.jp.debian.org/debian-jp/ woody-jp main non-free contrib
deb-src http://www.jp.debian.org/debian-jp/ woody-jp main non-free contrib
deb http://non-us.debian.org/debian-non-US woody/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US woody/non-US main contrib non-free
#
# Helix gnome
#
deb http://spidermonkey.helixcode.com/distributions/debian unstable main
deb-src http://spidermonkey.helixcode.com/distributions/debian unstable main

という風にしています。
--
====+====+====+====+====+====+====+====+====+====+====+====+====+====+
yabuki yukiharu (矢吹幸治)                      I use Debian GNU/Linux
Email: yabuki@xxxxxxxxxxxxxxx/クレクレタコラは好きクレクレタコだはイヤ
PGP Key fingerprint = 61 37 23 F7 C2 DD 8C 5E  31 76 68 3E AD C7 53 F4
====+====+====+====+====+====+====+====+====+====+====+====+====+====+