Click here to Skip to main content
15,904,024 members
Home / Discussions / Linux Programming
   

Linux Programming

 
AnswerRe: Who is on first? Which BlueZ version SOURCE code is best documented? Pin
Richard MacCutchan8-Mar-19 22:14
mveRichard MacCutchan8-Mar-19 22:14 
AnswerRe: Who is on first? Which BlueZ version SOURCE code is best documented? Pin
k50549-Mar-19 3:57
mvek50549-Mar-19 3:57 
QuestionMore 'bluez" Pin
Vaclav_8-Mar-19 3:56
Vaclav_8-Mar-19 3:56 
QuestionHow does perror works? Pin
Vaclav_8-Mar-19 3:43
Vaclav_8-Mar-19 3:43 
AnswerRe: How does perror works? Pin
Richard MacCutchan8-Mar-19 4:02
mveRichard MacCutchan8-Mar-19 4:02 
GeneralRe: How does perror works? Pin
Vaclav_8-Mar-19 5:34
Vaclav_8-Mar-19 5:34 
GeneralRe: How does perror works? Pin
Richard MacCutchan8-Mar-19 5:43
mveRichard MacCutchan8-Mar-19 5:43 
QuestionOption “bluez” “configure “ for specific architecture Pin
Vaclav_6-Mar-19 11:56
Vaclav_6-Mar-19 11:56 
AnswerRe: Option “bluez” “configure “ for specific architecture Pin
k50546-Mar-19 11:59
mvek50546-Mar-19 11:59 
GeneralRe: Option “bluez” “configure “ for specific architecture Pin
Vaclav_6-Mar-19 14:26
Vaclav_6-Mar-19 14:26 
QuestionAnyone know of a good explanation on cross compiling for the raspberry PI from the Windows (Mingw32 ) Command line Pin
fd97505-Mar-19 23:12
professionalfd97505-Mar-19 23:12 
AnswerRe: Anyone know of a good explanation on cross compiling for the raspberry PI from the Windows (Mingw32 ) Command line Pin
Vaclav_6-Mar-19 3:33
Vaclav_6-Mar-19 3:33 
GeneralRe: Anyone know of a good explanation on cross compiling for the raspberry PI from the Windows (Mingw32 ) Command line Pin
fd97506-Mar-19 4:21
professionalfd97506-Mar-19 4:21 
GeneralRe: Anyone know of a good explanation on cross compiling for the raspberry PI from the Windows (Mingw32 ) Command line Pin
Vaclav_6-Mar-19 4:28
Vaclav_6-Mar-19 4:28 
GeneralRe: Anyone know of a good explanation on cross compiling for the raspberry PI from the Windows (Mingw32 ) Command line Pin
fd97506-Mar-19 5:37
professionalfd97506-Mar-19 5:37 
GeneralRe: Anyone know of a good explanation on cross compiling for the raspberry PI from the Windows (Mingw32 ) Command line Pin
fd97506-Mar-19 21:05
professionalfd97506-Mar-19 21:05 
GeneralRe: Anyone know of a good explanation on cross compiling for the raspberry PI from the Windows (Mingw32 ) Command line Pin
Vaclav_7-Mar-19 3:36
Vaclav_7-Mar-19 3:36 
GeneralRe: Anyone know of a good explanation on cross compiling for the raspberry PI from the Windows (Mingw32 ) Command line Pin
fd97507-Mar-19 4:25
professionalfd97507-Mar-19 4:25 
QuestionSOLVED Developing bluetooth app using "bluez" package (FROM SOURCE ) Pin
Vaclav_5-Mar-19 5:18
Vaclav_5-Mar-19 5:18 
AnswerRe: Developing bluetooth app using "bluez" Pin
Richard MacCutchan5-Mar-19 6:32
mveRichard MacCutchan5-Mar-19 6:32 
GeneralRe: Developing bluetooth app using "bluez" Pin
Vaclav_5-Mar-19 6:46
Vaclav_5-Mar-19 6:46 
GeneralRe: Developing bluetooth app using "bluez" Pin
Richard MacCutchan5-Mar-19 6:50
mveRichard MacCutchan5-Mar-19 6:50 
GeneralRe: Developing bluetooth app using "bluez" Pin
Vaclav_5-Mar-19 9:03
Vaclav_5-Mar-19 9:03 
GeneralRe: Developing bluetooth app using "bluez" Pin
Richard MacCutchan5-Mar-19 22:45
mveRichard MacCutchan5-Mar-19 22:45 
GeneralRe: Developing bluetooth app using "bluez" Pin
Vaclav_5-Mar-19 7:39
Vaclav_5-Mar-19 7:39 
Richard
still no go.
Not sure where is the liker looking for the "bluetooth".
I am including edited , FOR MOST PART DELETED , linker verbose output.

Maybe the crosslinking process needs help , more options. I just do not know.

Perhaps the highlighted part could help to figure this out.



Building target: VNAR_19350
Invoking: Cross G++ Linker
arm-linux-gnueabihf-g++ -L/media/jim/DEV/BLUEZ/BlueZ-5.50 -L/usr/lib/bluetooth/bluetoothd -L/usr/lib/bluetooth -L/usr/local/libexec/bluetooth/ -v -o "VNAR_19350"  ./src/MODULES/SOURCE_CODE/src/ESA_BASE_BAD.o  ./src/MODULES/M_WIRE/CLASSWIRE.o  ./src/MODULES/M_VNARODULE_1602/C_SPI_LCD.o ./src/MODULES/MODULE_1602/C_SSP.o ./src/MODULES/MODULE_1602/C_gpio.o ./src/VNA_1022_BASE.o -lbluetooth.a -lbluetoothd -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc-cross/arm-linux-gnueabihf/5/crtend.o /usr/lib/gcc-cross/arm-linux-gnueabihf/5/../../../../arm-linux-gnueabihf/lib/../lib/crtn.o
/usr/lib/gcc-cross/arm-linux-gnueabihf/5/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lbluetooth.a
/usr/lib/gcc-cross/arm-linux-gnueabihf/5/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lbluetoothd
collect2: error: ld returned 1 exit status
make: *** [VNAR_19350] Error 1
makefile:80: recipe for target 'VNAR_19350' failed
"make all" terminated with exit code 2. Build might be incomplete.



I did use
-L /usr/lib/x86_64-linux-gnu -l bluetooth

and got a message about "invalid" file type - it tried to link to "libbluetooth.o"

I could go back and try that again and post the output if it helps.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.