Skip to contentSkip to conversation

external toolchain : lot's of package broken *.mk makefile

Buildroot Matthieu CASTET 1 participant 1 message Feb 15, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

I am very interrested to use the external toolchain features, because we want to use glibc.

The problem with lot's of pakage *.mk makefile is that they assume that the external libs will be installed in the toolchain dir not another dir.

For example for the procps pakage, there is an error [1]. The solution is to add somethings like CPPFLAGS=-I$(STAGING_DIR)/include CFLAGS=-I$(STAGING_DIR)/include LDFLAGS="-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib"

when calling the build process.

Matthieu

[1] /opt/arm-2006q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../ arm-none-linux-gnueabi/bin/ld:
cannot find -lncurses