Hello,

I am trying to build the 'trousers' library (http://trousers.sourceforge.net/) on Ubuntu 9.04 for openmoko.

Since I could not find trousers after doing 'opkg list | grep trousers', I assume it's not
yet available in pre-compiled toolchain.

I followed the instructions at :
http://wiki.openmoko.org/wiki/Toolchain#Installing_additional_libraries_into_the_toolchain

I am getting the following error after doing 'make' :
<console>
/bin/grep: /usr/lib/libpixman-1.la: No such file or directory
/bin/sed: can't read /usr/lib/libpixman-1.la: No such file or directory
libtool: link: `/usr/lib/libpixman-1.la' is not a valid libtool archive
make[2]: *** [libtspi.la] Error 1
make[2]: Leaving directory `/home/src/trousers/openmoko-trousers-0.3.1/src/tspi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/src/trousers/openmoko-trousers-0.3.1/src'
make: *** [all-recursive] Error 1
$:~/src/trousers/openmoko-trousers-0.3.1$ locate libpixman-1.la
/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib/libpixman-1.la
</console>

I believe the libtool is looking for the 'libpixman' library in the wrong place - /usr/lib instead of
/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib
What do I need to do to fix this?

There is a similar problem reported in another thread :
http://lists.openmoko.org/nabble.html#nabble-td2571591

And I tried that solution -- setting the LIBTOOL_SYSROOT_PATH. But 'make' gives the same error.

I have attached my environment settings.

I will appreciate any help.

Thanks,
Amruta





AS=arm-angstrom-linux-gnueabi-as
AR=arm-angstrom-linux-gnueabi-ar
LDFLAGS=-L/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/lib 
-Wl,-rpath-link,/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/lib -Wl,-O1
TERM=xterm
SHELL=/bin/bash
CPPFLAGS=-isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include
GTK_MODULES=canberra-gtk-module
PKG_CONFIG_SYSROOT_DIR=/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi
CONFIG_SITE=/usr/local/openmoko/arm/site-config
CXXFLAGS=-isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include 
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os 
-fpermissive -fvisibility-inlines-hidden
CPP=arm-angstrom-linux-gnueabi-gcc -E
PATH=/usr/local/openmoko/arm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
LD=arm-angstrom-linux-gnueabi-ld
GDM_XSERVER_LOCATION=local
CCLD=ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t
STRIP=arm-angstrom-linux-gnueabi-strip
LANG=en_US.UTF-8
GNOME_KEYRING_PID=13616
GDM_LANG=en_US.UTF-8
F77=ccache arm-angstrom-linux-gnueabi-g77 -march=armv4t -mtune=arm920t
GDMSESSION=default
CXX=ccache arm-angstrom-linux-gnueabi-g++ -march=armv4t -mtune=arm920t
HISTCONTROL=ignoreboth
OBJCOPY=arm-angstrom-linux-gnueabi-objcopy
SHLVL=1
MAKE=make
CFLAGS=-isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include 
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os
XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/
PKG_CONFIG_PATH=/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib/pkgconfig
RANLIB=arm-angstrom-linux-gnueabi-ranlib
LIBTOOL_SYSROOT_PATH=/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi
CC=ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t
OMTOOL_DIR=/usr/local/openmoko
OBJDUMP=arm-angstrom-linux-gnueabi-objdump
_=/usr/bin/env
_______________________________________________
devel mailing list
[email protected]
https://lists.openmoko.org/mailman/listinfo/devel

Reply via email to