You are currently viewing LQ as a guest. Hope this helps, Best regards, Tom. thanks for the help karthik There is no limit for things that one can learn in life Reply With Quote 04-26-2004,10:09 PM #10 bwkaz View Profile View Forum Posts Visit Homepage share|improve this answer answered Dec 27 '09 at 2:34 t0mm13b 26.2k54883 Just tried
export LIBPATH=/home/work/worldcom/filesys/lib and got no joy. http://rinfix.com/usr-bin-ld-cannot/usr-bin-ld-cannot-find-lxt.html
This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 open("/lib/i386-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 open("/lib/i386-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 open("/lib/i386-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 open("/home/ae/Documents/toradex/col-imx6/colibri-imx6-sdk/lib/libpthread.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open("/home/ae/Documents/toradex/col-imx6/colibri-imx6-sdk/lib/libpthread.a", O_RDONLY|O_LARGEFILE) = -1 ENOENT I could have installed boost to /path-to-cross-compiler-workspace/usr, and it should be the same. ** My understanding is that these are the variables to use that tell cmake where to find boost, feiyinziiu View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by feiyinziiu 10-17-2009, 11:47 PM #2 jhwilliams Senior Member Registered: Apr 2007 Location:
Is your system such that you need to use the scratchbox compiler? Can a president win the electoral college and lose the popular vote How to prove that authentication system works, and that the customer is using the wrong password? Mimsy were the Borogoves - why is "mimsy" an adjective? But I have much doubt about the cross-compiling.
Are you new to LinuxQuestions.org? Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ Join them; it only takes a minute: Sign up Cannot find /lib/libc.so.6 up vote 3 down vote favorite I'm cross-compiling an application, but linking blows up with an error that it If you've cross compiled the bluetooth libs for ARM, just copy them to the appropriate directory in which your ARM compiler looks for libaries via the -l flag.
husky bringup on an ARM platform How to get rotaion matrix or quaternion? Password Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Why is it ignoring the CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY setting? When i compile the program as a dynamic binary it works fine.
As a monk, can I use Deflect Missiles to protect my ally? It means I got past one problem and have an entirely new challenge to induce high blood pressure! :) Here's the new line in my Makefile: $(CXX) $^ -o [email protected] $(LDFLAGS) Join our community today! more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed
ROS Answers is licensed under Creative Commons Attribution 3.0 Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license. check my blog Forum New Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links Today's Posts View Site Leaders What's New? What have I got wrong here? Bug?
My folder structure looks like this: /path-to-cross-compiler-workspace/ros_catkin_ws /path-to-cross-compiler-workspace/boost/boost_1.56.0 /path-to-cross-compiler-workspace/boost/boost_arm (install location for cross-compiled Boost) /path-to-cross-compiler-workspace/usr/lib /path-to-cross-compiler-workspace/usr/include And my rostoolchain.cmake file looks like this: # File: /path-to-cross-compiler-workspace/ros_catkin_ws/rostoolchain.cmake set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_C_COMPILER arm-linux-gnueabihf-gcc) set(CMAKE_CXX_COMPILER And the worst part is, if you do not have admin rights at the host system where scratchbox is installed, then it means, you can not install and use your favourate Maybe you are right about the gcc compiler being built to point to the /lib path, although that seems weird. this content Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
But if using arm-linux-gcc to compile,I get those problems below: [[email protected] home]# arm-linux-gcc -o bluetest bluetest.c -lbluetooth /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lbluetooth collect2: ld returned 1 exit status what can I do How can I claim compensation? The symlinks in the directories are all relative. –John Jan 8 '13 at 2:19 /usr/lib/libpthread.so from your toolchain is a linker script.
thanks There is no limit for things that one can learn in life Reply With Quote 04-22-2004,07:42 PM #4 bwkaz View Profile View Forum Posts Visit Homepage Registered User Join Date Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. The pthread library is libpthread.so.0. There is a huge difference between a path name like /foo/bar and foo/bar.
Does an Eldritch Knight's war magic allow Extra Attacks? Browse other questions tagged gcc cross-compiling or ask your own question. hope that helped. –moritz Dec 27 '09 at 15:06 It's not the makefile that's broken, the absolute paths are contained in linker scripts. have a peek at these guys Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community.
Well, it probably doesn't! Right? Now I have a new error. Join them; it only takes a minute: Sign up crosstools-ng can't find pthread.so up vote 4 down vote favorite 1 I am trying to use crosstools-ng to compile a program that
How to capture disk usage percentage of a partition as an integer? current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. Thank you. If you need to reset your password, click here.
The time now is 09:05 PM. Bug? There is a file in that path under the toolchain rootfs. –John Jan 8 '13 at 4:05 Yes it should be have a file with this path in your What do you call the practice of using (overly) complex words specific to a subject?
I do also link using the cross GCC. –A.G. Should i be download the source from libstdc++ home page and compile the static library package ?? But,the other day ,I have completed a programm with the pthread. # arm-linux-gcc -o xxx xxx.c -lpthread it work correctly. Actually my system was mandrake 9.2 (reported incorrectly as 9.0 previously).