Attached find make.txt. This command is generated from the MakeFile, which of course is generated from qmake.
Below is the error I'm receiving
/usr/lib/gcc/arm-linux-gnueabi/4.4.5/../../../../arm-linux-gnueabi/bin/ld: warning: libc.so, needed by /usr/arm-linux-gnueabi/lib/libgcc_s.so.1, not found (try using -rpath or -rpath-link)
/usr/local/Trolltech/QtEmbedded-4.7.2-arm/lib/libQtGui.so: undefined reference to `powf@GLIBCXX_3.4'
collect2: ld returned 1 exit status
/usr/lib/gcc/arm-linux-gnueabi/4.4.5/../../../../arm-linux-gnueabi/bin/ld: warning: libc.so, needed by /usr/arm-linux-gnueabi/lib/libgcc_s.so.1, not found (try using -rpath or -rpath-link)
/usr/local/Trolltech/QtEmbedded-4.7.2-arm/lib/libQtGui.so: undefined reference to `powf@GLIBCXX_3.4'
collect2: ld returned 1 exit status
To copy to clipboard, switch view to plain text mode
The error seems obvious, the undefined references correspond to a library that can't be found. But it is located in /usr/arm-linux-gnueabi/lib.
I'm not sure if the issue is specific to cross-compiling as I've never encountered this before.
I was able to overcome a similar issue with ts by adding
QMAKE_RPATHDIR += /path/to/tslib/dir
QMAKE_RPATHDIR += /path/to/tslib/dir
To copy to clipboard, switch view to plain text mode
but I can't seem to overcome this problem with the same solution, I have tried adding an additional directive to the location of libc.so with no success.
Does anyone have any suggestions?
Bookmarks