that is your link commands in your Makefile?

On 06/21/2011 08:39 PM, Miroslav Rajcic wrote:
cannot find /usr/lib/libpthread_nonshared.a inside

I've installed the toolchain under: /home/miro/jlime-toolchain/
In the makefile I've defined all relevant compiler related variables:

NANONOTE_BASE_DIR=/home/miro/jlime-toolchain/
NANONOTE_BIN_DIR=$(NANONOTE_BASE_DIR)/usr/local/jlime-2010.1/mipsel/bin/
CXX=$(NANONOTE_BIN_DIR)/mipsel-linux-g++
CC=$(NANONOTE_BIN_DIR)/mipsel-linux-gcc
PKG_CONFIG=$(NANONOTE_BIN_DIR)/pkg-config
AR=$(NANONOTE_BIN_DIR)/mipsel-linux-ar rc
RANLIB=$(NANONOTE_BIN_DIR)/mipsel-linux-ranlib
LD=$(NANONOTE_BIN_DIR)/mipsel-linux-ld
STRIP=$(NANONOTE_BIN_DIR)/mipsel-linux-strip

I even tried using "-rpath" to solve this, but it doesn't seem to help:

LDFLAGS+=-L$(NANONOTE_BASE_DIR)/local/jlime-2010.1/mipsel/mipsel-linux/usr/lib 
-Wl,-rpath,$(NANONOTE_BASE_DIR)/local/jlime-2010.1/mipsel/mipsel-linux/usr/libThe build target in 
Makefile is named "nano", there I start the"environment-setup" script before 
building:.PHONY: nanonano: 
./home/miro/jlime-toolchain/usr/local/jlime-2010.1/mipsel/environment-setup;NANONOTE_BUILD=1 
$(MAKE)As said before, compile works fine, only the link phase fails with aboveerror.Regards,  
Miroslav

_______________________________________________
Qi Hardware Discussion List
Mail to list (members only): [email protected]
Subscribe or Unsubscribe: 
http://lists.en.qi-hardware.com/mailman/listinfo/discussion

Reply via email to