Click here to Skip to main content
14,664,421 members
Home » Discussions » Linux Programming
   

Linux Programming

 
QuestionLinking to library Pin
Vaclav_3-Mar-19 5:22
MemberVaclav_3-Mar-19 5:22 
AnswerRe: Linking to library Pin
Richard MacCutchan3-Mar-19 5:53
mveRichard MacCutchan3-Mar-19 5:53 
GeneralRe: Linking to library Pin
Vaclav_3-Mar-19 7:08
MemberVaclav_3-Mar-19 7:08 
AnswerRe: Linking to library Pin
k50543-Mar-19 6:03
mvek50543-Mar-19 6:03 
GeneralRe: Linking to library Pin
Vaclav_3-Mar-19 7:09
MemberVaclav_3-Mar-19 7:09 
AnswerRe: Linking to library Pin
k50543-Mar-19 6:32
mvek50543-Mar-19 6:32 
GeneralRe: Linking to library Pin
Vaclav_3-Mar-19 7:05
MemberVaclav_3-Mar-19 7:05 
AnswerRe: Linking to library Pin
Vaclav_3-Mar-19 7:15
MemberVaclav_3-Mar-19 7:15 
I think I need to link , using "_L" option to highlighted file and its directory.


jim@jim-desktop:~$ sudo find / -xdev  -type f -name  "libbluetooth*"
/var/lib/dpkg/info/libbluetooth3:amd64.md5sums
/var/lib/dpkg/info/libbluetooth3-dbg.list
/var/lib/dpkg/info/libbluetooth-dev.md5sums
/var/lib/dpkg/info/libbluetooth3:i386.shlibs
/var/lib/dpkg/info/libbluetooth3:amd64.list
/var/lib/dpkg/info/libbluetooth3:i386.symbols
/var/lib/dpkg/info/libbluetooth3-dbg.md5sums
/var/lib/dpkg/info/libbluetooth3:i386.md5sums
/var/lib/dpkg/info/libbluetooth3:amd64.triggers
/var/lib/dpkg/info/libbluetooth-dev.list
/var/lib/dpkg/info/libbluetooth3:amd64.symbols
/var/lib/dpkg/info/libbluetooth3:i386.triggers
/var/lib/dpkg/info/libbluetooth3:i386.list
/var/lib/dpkg/info/libbluetooth3:amd64.shlibs
/usr/lib/i386-linux-gnu/libbluetooth.so.3.18.10
/usr/lib/x86_64-linux-gnu/libbluetooth.a
/usr/lib/x86_64-linux-gnu/unity-control-center-1/panels/libbluetooth.so
/usr/lib/x86_64-linux-gnu/libbluetooth.so.3.18.10
jim@jim-desktop:~$ 





Addendum
Looks better , but now cannot link to "gomp" - lining to wrong "_L" ??

MODULES/MODULE_1602/C_1602.o ./src/MODULES/MODULE_1602/C_LCD2_CPP.o ./src/MODULES/MODULE_1602/C_SPI.o ./src/MODULES/MODULE_1602/C_SPI_LCD.o ./src/MODULES/MODULE_1602/C_SSP.o ./src/MODULES/MODULE_1602/C_gpio.o ./src/VNA_1022_BASE.o -lgomp -llibbluetooth -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/x86_64-linux-gnu/libgomp.so: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
make: *** [VNAR_19321] Error 1
makefile:80: recipe for target 'VNAR_19321' failed
"make all" terminated with exit code 2. Build might be incomplete.


modified 3-Mar-19 13:34pm.

GeneralRe: Linking to library Pin
k50543-Mar-19 7:44
mvek50543-Mar-19 7:44 
GeneralRe: Linking to library Pin
Vaclav_3-Mar-19 8:12
MemberVaclav_3-Mar-19 8:12 
GeneralRe: Linking to library Pin
k50543-Mar-19 9:04
mvek50543-Mar-19 9:04 
GeneralRe: Linking to library Pin
Richard MacCutchan3-Mar-19 21:34
mveRichard MacCutchan3-Mar-19 21:34 
GeneralRe: Linking to library Pin
Vaclav_4-Mar-19 4:28
MemberVaclav_4-Mar-19 4:28 
GeneralRe: Linking to library Pin
Richard MacCutchan4-Mar-19 4:56
mveRichard MacCutchan4-Mar-19 4:56 
GeneralRe: Linking to library Pin
k50544-Mar-19 7:42
mvek50544-Mar-19 7:42 
GeneralRe: Linking to library Pin
Richard MacCutchan4-Mar-19 9:47
mveRichard MacCutchan4-Mar-19 9:47 
GeneralRe: Linking to library Pin
k50544-Mar-19 12:45
mvek50544-Mar-19 12:45 
GeneralRe: Linking to library Pin
Richard MacCutchan4-Mar-19 21:44
mveRichard MacCutchan4-Mar-19 21:44 
QuestionSOLVED system call syntax ? Pin
Vaclav_7-Feb-19 6:40
MemberVaclav_7-Feb-19 6:40 
AnswerRe: system call syntax ? Pin
k50547-Feb-19 8:02
mvek50547-Feb-19 8:02 
GeneralRe: system call syntax ? Pin
Vaclav_7-Feb-19 10:23
MemberVaclav_7-Feb-19 10:23 
GeneralRe: system call syntax ? Pin
k50547-Feb-19 11:20
mvek50547-Feb-19 11:20 
AnswerRe: system call syntax ? Pin
Richard MacCutchan7-Feb-19 22:26
mveRichard MacCutchan7-Feb-19 22:26 
GeneralRe: system call syntax ? Pin
Vaclav_8-Feb-19 3:23
MemberVaclav_8-Feb-19 3:23 
GeneralRe: system call syntax ? Pin
Richard MacCutchan8-Feb-19 4:56
mveRichard MacCutchan8-Feb-19 4:56 

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.