On Sunday, August 10, 2014 8:30:28 PM UTC+1, William Hermans wrote:
>
>
>> First off, which distro are you using on the BBB ? 
>

Latest Debian 
(http://debian.beagleboard.org/images/BBB-eMMC-flasher-debian-7.5-2014-05-14-2gb.img.xz)
 

> Then which ABI are you compiling for, and which ABI are you actually using 
> ? 
>

Sorry - only a beginner. I don't know where to look - suggestions, please
 

> Secondly, if you're using a virtual machine host architecture does not 
> matter in this context. What matters is the virtual machines architecture. 
> Is the virtual machine i386, or x64 ?
>

When I wrote, I was using an x64 virtual machine, but I have now (thanks to 
your assurance that host architecture in a VM is independent of the 
physical machine) started again with i386

But still I hit problems -  when trying to compile project "JG1" using 
eclipse, I now get this:

Building target: JG1
Invoking: GCC C++ Linker
arm-linux-gnueabihf-g++ -o "JG1"  ./src/JG1.o   -lcurl 
-L/usr/lib/i386-linux-gnu
/usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/../../../../arm-linux-gnueabihf/bin/ld:
 
skipping incompatible /usr/lib/i386-linux-gnu/libcurl.so when searching for 
-lcurl
/usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/../../../../arm-linux-gnueabihf/bin/ld:
 
skipping incompatible /usr/lib/i386-linux-gnu/libcurl.a when searching for 
-lcurl
/usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/../../../../arm-linux-gnueabihf/bin/ld:
 
cannot find -lcurl
/usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/../../../../arm-linux-gnueabihf/bin/ld:
 
skipping incompatible /usr/lib/i386-linux-gnu/libm.so when searching for -lm
/usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/../../../../arm-linux-gnueabihf/bin/ld:
 
skipping incompatible /usr/lib/i386-linux-gnu/libm.a when searching for -lm
collect2: error: ld returned 1 exit status
make: *** [JG1] Error 1

Any ideas of where I have gone wrong?

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to