Click here to Skip to main content
15,504,549 members
Home / Discussions / Linux Programming
   

Linux Programming

 
GeneralRe: Linking to library Pin
Vaclav_3-Mar-19 8:08
Vaclav_3-Mar-19 8:08 
AnswerRe: Linking to library Pin
k50543-Mar-19 7:03
mvek50543-Mar-19 7:03 
GeneralRe: Linking to library Pin
Vaclav_3-Mar-19 8:09
Vaclav_3-Mar-19 8:09 
AnswerRe: Linking to library Pin
k50543-Mar-19 7:32
mvek50543-Mar-19 7:32 
GeneralRe: Linking to library Pin
Vaclav_3-Mar-19 8:05
Vaclav_3-Mar-19 8:05 
AnswerRe: Linking to library Pin
Vaclav_3-Mar-19 8:15
Vaclav_3-Mar-19 8:15 
GeneralRe: Linking to library Pin
k50543-Mar-19 8:44
mvek50543-Mar-19 8:44 
GeneralRe: Linking to library Pin
Vaclav_3-Mar-19 9:12
Vaclav_3-Mar-19 9:12 
Getting of the subject with sarcasm (... if you'd bothered to even look...)is not the way I am used to communicate here.

I really do not care about OpenMP (for now) , but as you can see fopenmp is also missing the "-L" .


Looks as the crosscompiler is smarter then expected and "skips" the wrong library anyway.

C++
gnueabihf/5/../../../../arm-linux-gnueabihf/lib/../lib/crtn.o
/usr/lib/gcc-cross/arm-linux-gnueabihf/5/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lfopenmp
/usr/lib/gcc-cross/arm-linux-gnueabihf/5/../../../../arm-linux-gnueabihf/bin/ld: cannot find -llibbluetooth
makefile:80: recipe for target 'VNAR_19321' failed
/usr/lib/gcc-cross/arm-linux-gnueabihf/5/../../../../arm-linux-gnueabihf/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libm.so when searching for -lm
collect2: error: ld returned 1 exit status
make: *** [VNAR_19321] Error 1
"make all" terminated with exit code 2. Build might be incomplete.


What is bothersome - the crosssompilier "runs" on "86" but the app will run on arm.
But I'll try to get bluez library for arm next.
GeneralRe: Linking to library Pin
k50543-Mar-19 10:04
mvek50543-Mar-19 10:04 
GeneralRe: Linking to library Pin
Richard MacCutchan3-Mar-19 22:34
mveRichard MacCutchan3-Mar-19 22:34 
GeneralRe: Linking to library Pin
Vaclav_4-Mar-19 5:28
Vaclav_4-Mar-19 5:28 
GeneralRe: Linking to library Pin
Richard MacCutchan4-Mar-19 5:56
mveRichard MacCutchan4-Mar-19 5:56 
GeneralRe: Linking to library Pin
k50544-Mar-19 8:42
mvek50544-Mar-19 8:42 
GeneralRe: Linking to library Pin
Richard MacCutchan4-Mar-19 10:47
mveRichard MacCutchan4-Mar-19 10:47 
GeneralRe: Linking to library Pin
k50544-Mar-19 13:45
mvek50544-Mar-19 13:45 
GeneralRe: Linking to library Pin
Richard MacCutchan4-Mar-19 22:44
mveRichard MacCutchan4-Mar-19 22:44 
QuestionSOLVED system call syntax ? Pin
Vaclav_7-Feb-19 7:40
Vaclav_7-Feb-19 7:40 
AnswerRe: system call syntax ? Pin
k50547-Feb-19 9:02
mvek50547-Feb-19 9:02 
GeneralRe: system call syntax ? Pin
Vaclav_7-Feb-19 11:23
Vaclav_7-Feb-19 11:23 
GeneralRe: system call syntax ? Pin
k50547-Feb-19 12:20
mvek50547-Feb-19 12:20 
AnswerRe: system call syntax ? Pin
Richard MacCutchan7-Feb-19 23:26
mveRichard MacCutchan7-Feb-19 23:26 
GeneralRe: system call syntax ? Pin
Vaclav_8-Feb-19 4:23
Vaclav_8-Feb-19 4:23 
GeneralRe: system call syntax ? Pin
Richard MacCutchan8-Feb-19 5:56
mveRichard MacCutchan8-Feb-19 5:56 
GeneralRe: system call syntax ? Pin
k50548-Feb-19 6:23
mvek50548-Feb-19 6:23 
GeneralRe: system call syntax ? Pin
Richard MacCutchan8-Feb-19 6:53
mveRichard MacCutchan8-Feb-19 6:53 

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.