블루투스를 Aesop 6410 보드에 포팅하기위하여, bluez-libs-3.36.tar , bluez-utils-3.36.tar 두개의 파일을 다운로드 후 작업을 진행 중입니다.
우선 bluez-libs의 경우 아무런 문제가 없이 컴파일이 완료가 되었습니다. 그런데, bluez-utils의 Makefile을 생성하기 위해 configure 를 진행하던 중에 에러가 발생합니다.
configure 명령은 다음과 같이, 지정해 주었습니다.
./configure --prefix=$PWD/build --host=arm-s3c6410-linux-gnueabi --libdir=/usr/local/lib --includedir=/usr/local/include CC=arm-s3c6410-linux-gnueabi-gcc AR=arm-s3c6410-linux-gnueabi-ar RANLIB=arm-s3c6410-linux-gnueabi-ranlib
그후 발생한 문제는 D-BUS LIBRARY를 찾을 수 없다는 메시지 였습니다. D-BUS 라이브러리 참조를 시키기위해서 어떠한 작업을 해주어야 하는지 궁금합니다. 많은 도움 부탁드립니다.^^
configure 시 발생하는 메시지는 다음과 같습니다.
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for arm-s3c6410-linux-gnueabi-strip... arm-s3c6410-linux-gnueabi-strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking for arm-s3c6410-linux-gnueabi-gcc... arm-s3c6410-linux-gnueabi-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-s3c6410-linux-gnueabi-gcc accepts -g... yes
checking for arm-s3c6410-linux-gnueabi-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of arm-s3c6410-linux-gnueabi-gcc... gcc3
checking whether arm-s3c6410-linux-gnueabi-gcc accepts -fPIE... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for bison... no
checking for byacc... no
checking for flex... no
checking for lex... no
checking build system type... i686-pc-linux-gnu
checking host system type... arm-s3c6410-linux-gnueabi
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by arm-s3c6410-linux-gnueabi-gcc... /opt/s3c6410/cross/armv6/arm-s3c6410-linux-gnueabi/bin/ld
checking if the linker (/opt/s3c6410/cross/armv6/arm-s3c6410-linux-gnueabi/bin/ld) is GNU ld... yes
checking for /opt/s3c6410/cross/armv6/arm-s3c6410-linux-gnueabi/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /opt/s3c6410/cross/armv6/bin/arm-s3c6410-linux-gnueabi-nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... arm-s3c6410-linux-gnueabi-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /opt/s3c6410/cross/armv6/bin/arm-s3c6410-linux-gnueabi-nm -B output from arm-s3c6410-linux-gnueabi-gcc object... ok
checking for objdir... .libs
checking for arm-s3c6410-linux-gnueabi-ar... arm-s3c6410-linux-gnueabi-ar
checking for arm-s3c6410-linux-gnueabi-ranlib... arm-s3c6410-linux-gnueabi-ranlib
checking for arm-s3c6410-linux-gnueabi-strip... (cached) arm-s3c6410-linux-gnueabi-strip
checking if arm-s3c6410-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-s3c6410-linux-gnueabi-gcc option to produce PIC... -fPIC
checking if arm-s3c6410-linux-gnueabi-gcc PIC flag -fPIC works... yes
checking if arm-s3c6410-linux-gnueabi-gcc static flag -static works... yes
checking if arm-s3c6410-linux-gnueabi-gcc supports -c -o file.o... yes
checking whether the arm-s3c6410-linux-gnueabi-gcc linker (/opt/s3c6410/cross/armv6/arm-s3c6410-linux-gnueabi/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
checking for ppoll... yes
checking for arm-s3c6410-linux-gnueabi-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
configure: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to
[email protected].
checking pkg-config is at least version 0.9.0... yes
checking for BLUEZ... yes
checking for GLIB... nochecking for GMODULE... no
checking for dlopen in -ldl... yes
checking for DBUS... no
configure: error: D-Bus library is required
임베디드 리눅스에서는 쓰지 않고있습니다.
D-BUS를 쓰지 않도록 옵션에서 빼주어야 되겠네요.