TP edge14 に linux-0.01 をナニ (2)
昨晩、locale 云々のエラーでハマッたので環境を作りなおしたんですが、同様の現象が出てます。
とりあえず無理矢理気味ですが dpkg-reconfigure locales で en_US.UTF-8 指定して以下を /root/.profile に追加。
export LANGUAGE=en_US.UTF-8 export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8
続き
とりあえず gcc を入れます。
# apt-get install -fy gcc-4.1 gcc
ここの記述に沿って gcc のバージョンが 4.1 になりました。
あと先んじて bin86 も入れてソースとかも取得してきて make 実行。
# make gcc -Wall -O -fstrength-reduce -fomit-frame-pointer -fno-stack-protector \ -nostdinc -Iinclude -c -o init/main.o init/main.c In file included from init/main.c:3: include/time.h:39: warning: conflicting types for built-in function ‘strftime’ /tmp/cce9mF2o.s: Assembler messages: /tmp/cce9mF2o.s:333: Error: suffix or operands invalid for `push' /tmp/cce9mF2o.s:334: Error: suffix or operands invalid for `push' /tmp/cce9mF2o.s:335: Error: suffix or operands invalid for `pushf' /tmp/cce9mF2o.s:336: Error: suffix or operands invalid for `push' /tmp/cce9mF2o.s:337: Error: suffix or operands invalid for `push' make: *** [init/main.o] Error 1 #
駄目だorz
やっぱ 64bit なソレでは当たり前に無理か。