[Armadillo:04382] Re: [Armadillo-240]bluez-utilsのmakeができません。

mizo email@hidden
2009年 6月 23日 (火) 09:19:17 JST


溝渕です。

ちなみにbluez-utilsはカスタマイズを行なう予定ですか?

カスタマイズを行なわないのであれば以下のHOWTOが参考になると思います。

[HOWTO: Debianのパッケージに含まれるコンパイル済みのバイナリをArmadillo
で動作させる方法]
http://armadillo.atmark-techno.com/howto/use-debian-binary


TOMOYUKI KAWAHARA wrote:
> kwhrです。
> 
>>> また、/etc/init.d/bluetoothなどは、hcidをビルドしていないためエラー終了
>>> しそうですね(試してないのですが…)。
> 
> 
> make時のSUBDIRSの指定に"hcid"を追記してみたところ・・・
> $ make SUBDIRS="common tools hcid rfcomm"
> 
> 「passkey-agent.c:36:23: error: dbus/dbus.h: そのようなファイルやディレクトリはあ りません」
> というエラーになりました。(*2 make結果抜粋)
> 
> dbusを追加インストールする必要があるのか、
> ./configureの「DBUS_CFLAGS」や、「DBUS_LIBS」
> あたりで何か指定が必要なのかなど、何かアドバイスをいただけますでしょうか。
> 
> 
> 
> 
> *2 make結果抜粋
> 
> make[2]: ディレクトリ `/home/atmark/download-src/bluez/bluez-utils-3.7/hcid' に 入ります
> if arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../common
> -DDBUS_API_SUBJECT_TO_CHANGE -Wall -O2 -D_FORTIFY_SOURCE=2 -MT
> passkey-agent.o -MD -MP -MF ".deps/passkey-agent.Tpo" -c -o
> passkey-agent.o passkey-agent.c; \
>         then mv -f ".deps/passkey-agent.Tpo" ".deps/passkey-agent.Po";
> else rm -f ".deps/passkey-agent.Tpo"; exit 1; fi
> passkey-agent.c:36:23: error: dbus/dbus.h: そのようなファイルやディレクトリはあ りません
> passkey-agent.c:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘agent_filter’
> passkey-agent.c:74: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘request_message’
> passkey-agent.c:107: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘release_message’
> passkey-agent.c:139: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘agent_message’
> passkey-agent.c:151: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘agent_table’
> passkey-agent.c:155: error: expected ‘)’ before ‘*’ token
> passkey-agent.c:211: error: expected ‘)’ before ‘*’ token
> passkey-agent.c: In function ‘main’:
> passkey-agent.c:283: error: ‘DBusConnection’ undeclared (first use in
> this function)
> passkey-agent.c:283: error: (Each undeclared identifier is reported only once
> passkey-agent.c:283: error: for each function it appears in.)
> passkey-agent.c:283: error: ‘conn’ undeclared (first use in this function)
> passkey-agent.c:330: warning: implicit declaration of function ‘dbus_bus_get’
> passkey-agent.c:330: error: ‘DBUS_BUS_SYSTEM’ undeclared (first use in
> this function)
> passkey-agent.c:336: warning: implicit declaration of function ‘register_agent’
> passkey-agent.c:337: warning: implicit declaration of function
> ‘dbus_connection_close’
> passkey-agent.c:341: warning: implicit declaration of function
> ‘dbus_connection_add_filter’
> passkey-agent.c:341: error: ‘agent_filter’ undeclared (first use in
> this function)
> passkey-agent.c:344: error: ‘DBUS_INTERFACE_DBUS’ undeclared (first
> use in this function)
> passkey-agent.c:348: warning: implicit declaration of function
> ‘dbus_bus_add_match’
> passkey-agent.c:357: warning: implicit declaration of function
> ‘dbus_connection_read_write_dispatch’
> passkey-agent.c:357: error: ‘TRUE’ undeclared (first use in this function)
> passkey-agent.c:362: warning: implicit declaration of function
> ‘unregister_agent’
> make[2]: *** [passkey-agent.o] エラー 1
> make[2]: ディレクトリ `/home/atmark/download-src/bluez/bluez-utils-3.7/hcid' か ら出ます
> _______________________________________________
> armadillo mailing list
> email@hidden
> http://lists.atmark-techno.com/cgi-bin/mailman/listinfo/armadillo
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> armadillo mailing list
> email@hidden
> http://lists.atmark-techno.com/cgi-bin/mailman/listinfo/armadillo


-- 
**************************************************
 株式会社アットマークテクノ  開発部 溝渕大輔
 〒060-0035 札幌市中央区北5条東2丁目AFTビル6F
 TEL:011-207-6550 / FAX:011-207-6570
 http://www.atmark-techno.com/
 e-mail:email@hidden
**************************************************



armadillo メーリングリストの案内