Hi,
I'm trying to develop a little soft using the libbluetooth.
I never had problems cross-compiling my elder programs ("hello world"s like) with trunk/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc but now I'm including <bluetooth/bluetooth.h>, <bluetooth/sdp.h> and so on...
I sym-linked the /usr/include/bluetooth in the staging_dir_mipsel/include
I tried to copy the libbluetooth.so.1.0.24 from OpenWRT to staging_dir_mipsel/lib (using different names like libbluetooth.so, libbluetooth.so.0, libbluetooth.so.1)
and then I try :
trunk/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -o foo -lbluetooth bt1.c
I get that sdp_connect() (a function defined in <bluetooth/sdp.h>) is unknown.
I had this kind of error using "standard" gcc without the option -lbluetooth and my code perfectly compile with gcc -o foo -lbluetooth bt1.c
I know I'm still a total rookie in cross-compiling and I've surely made a lot of errors and beg desperatly for help if someone has any idea.
Thanks
(PS: I apologize for my poor English and cross-compiling knowledge)