プロが教える店舗&オフィスのセキュリティ対策術

Debian lenny化 した玄箱(初代)にEPSON KOWA ( 現:エプソンアヴァシス株式会社)のプリンタドライバソースファイルをコンパイル中に errorが表示されうまく適用できません。
EPSON PM-950C用のドライバのソースファイルをコンパイル中に”./libcbt.a: could not read symbols: File in wrong format”と表示されうまくいかない

まず、rpm ではなく、ソースファイル「pips950-2.5.2.tar.gz」をダウンロードし、
/usr/src/pips950-2.5.2 に展開しています。
上記のエラー「 ./libcbt.a: could not read symbols: File in wrong format 」の対処方法をご教示ください。
直前のメッセージを字数制限までコピーします。

make[3]: Entering directory `/usr/src/pips950-2.5.2/ekpd'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -c cbtd.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -c cbtd_comserv.c
cbtd_comserv.c: In function 'comserv_thread':
cbtd_comserv.c:158: warning: pointer targets in passing argument 3 of 'accept' differ in signedness
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -c cbtd_datatrans.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -c cbtd_setup.c
cbtd_setup.c: In function 'parameter_setup':
cbtd_setup.c:85: warning: pointer targets in passing argument 4 of 'get_parameter' differ in signedness
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -c cbtd_signal.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -c cbtd_thread.c
gcc -g -O2 -Wall -o ekpd cbtd.o cbtd_comserv.o cbtd_datatrans.o cbtd_setup.o cbtd_signal.o cbtd_thread.o ./libcbt.a -lpthread -ldl
/usr/bin/ld: ./libcbt.a(cbtd_wrapper.o): Relocations in generic ELF (EM: 3)
/usr/bin/ld: ./libcbt.a(cbtd_wrapper.o): Relocations in generic ELF (EM: 3)
./libcbt.a: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[3]: *** [ekpd] Error 1
make[3]: Leaving directory `/usr/src/pips950-2.5.2/ekpd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/pips950-2.5.2/ekpd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/pips950-2.5.2'
make: *** [all-recursive-am] Error 2

A 回答 (1件)

>上記のエラー「 ./libcbt.a: could not read symbols: File in wrong format 」の対処方法をご教示ください。



インテルアーキテクチャ向けにコンパイル済みのバイナリを納めたライブラリ…なのでしょう。
非インテルアーキテクチャ以外では動作しない可能性が高いです。
実際のところはメーカに問い合わせた方が良いかも知れませんが…。
    • good
    • 0
この回答へのお礼

見解ご提示ありがとうございます。
メーカに照会してみます。

お礼日時:2011/01/07 00:37

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!