この回避方法は次のように
$make menuconfig
(....省略....)
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: final link failed: Invalid operation
collect2: ld はステータス 1 で終了しました
scripts/Makefile.host:113: recipe for target `scripts/kconfig/mconf' failed
make[1]: *** [scripts/kconfig/mconf] Error 1
Makefile:463: recipe for target `menuconfig' failed
make: *** [menuconfig] Error 2
linux-2.6.14.6/scripts/kconfig/Makefile を書き換える。
122a123,125
> HOSTLOADLIBES_conf = -L/lib -lintl
> HOSTLOADLIBES_mconf = -L/lib -lintl
>
ifeq ($(qconf-target),1)
qconf-cxxobjs := qconf.o
qconf-objs := kconfig_load.o zconf.tab.o
endif
HOSTLOADLIBES_conf = -L/lib -lintl
HOSTLOADLIBES_mconf = -L/lib -lintl
ifeq ($(gconf-target),1)
gconf-objs := gconf.o kconfig_load.o zconf.tab.o
endif
これで回避できる。
0 件のコメント:
コメントを投稿