autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autotools usage question


From: Oguz Yarimtepe
Subject: Re: autotools usage question
Date: Mon, 2 Feb 2009 10:57:23 +0200

Hi,

>
> This error has nothing to do with the shell that is used to interpret
> the libtool script, but more with libtool and how it finds dependent
> libraries.  You might have to pass to the link the library directory
> where the libjpeg (compiled for sh4-linux) may be found, as in
>  LDFLAGS=-L/opt/STM/STLinux-2.2/devkit/sh4/target/usr/lib
> or
>  LDFLAGS=-L/st710x/usr/local/efls/lib
>
> or so, dunno, please check where that library lives.
>
> Hope that helps.
>
> Cheers,
> Ralf
>

Using  LDFLAGS=-L/st710x/usr/local/efls/lib helped me but this time i am
getting the following error although i defined --x-include and --x-libs and
even LDFLAGS=-L"/opt/STM/STLinux-2.2/devkit/sh4/target/usr/X11R7/lib"


sh4-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I/st710x/usr/include/freetype2
-I/st710x/usr/include
-I/opt/STM/STLinux-2.2/devkit/sh4/target/usr/X11R7/include -I. -I../..
-I../.. -DPACKAGE_LIB_DIR=\"/st710x/usrlocal/efls/lib\" -std=gnu99 -g -O2
-MT ximage.lo -MD -MP -MF .deps/ximage.Tpo -c ximage.c -o ximage.o
>/dev/null 2>&1
mv -f .deps/ximage.Tpo .deps/ximage.Plo
/bin/bash ../../libtool --tag=CC   --mode=link sh4-linux-gcc  -g -O2
-version-info 5:2:4 -L/st710x/usr/lib -o libImlib2.la -rpath
/st710x/usrlocal/efls/lib api.lo blend.lo color.lo color_helpers.lo
colormod.lo context.lo draw.lo dynamic_filters.lo ellipse.lo file.lo
filter.lo font_draw.lo font_load.lo font_main.lo font_query.lo format.lo
grab.lo grad.lo image.lo line.lo polygon.lo rectangle.lo rend.lo rgba.lo
rgbadraw.lo rotate.lo scale.lo script.lo span.lo updates.lo ximage.lo
-L/st710x/usr/lib -Wl,--rpath -Wl,/st710x/usr/lib -lfreetype -lz
-L/opt/STM/STLinux-2.2/devkit/sh4/target/usr/X11R7/lib -lX11 -lXext -ldl -lm

libtool: link: warning: library
`/opt/STM/STLinux-2.2/devkit/sh4/target/usr/X11R7/lib/libXext.la' was moved.
sh4-linux-gcc -shared  .libs/api.o .libs/blend.o .libs/color.o
.libs/color_helpers.o .libs/colormod.o .libs/context.o .libs/draw.o
.libs/dynamic_filters.o .libs/ellipse.o .libs/file.o .libs/filter.o
.libs/font_draw.o .libs/font_load.o .libs/font_main.o .libs/font_query.o
.libs/format.o .libs/grab.o .libs/grad.o .libs/image.o .libs/line.o
.libs/polygon.o .libs/rectangle.o .libs/rend.o .libs/rgba.o .libs/rgbadraw.o
.libs/rotate.o .libs/scale.o .libs/script.o .libs/span.o .libs/updates.o
.libs/ximage.o  -Wl,--rpath -Wl,/st710x/usr/lib -Wl,--rpath
-Wl,/usr/X11R7/lib -Wl,--rpath
-Wl,/opt/STM/STLinux-2.2/devkit/sh4/target/usr/X11R7/lib -Wl,--rpath
-Wl,/st710x/usr/lib -Wl,--rpath -Wl,/usr/X11R7/lib -Wl,--rpath
-Wl,/opt/STM/STLinux-2.2/devkit/sh4/target/usr/X11R7/lib -L/st710x/usr/lib
/st710x/usr/lib/libfreetype.so -lz
-L/opt/STM/STLinux-2.2/devkit/sh4/target/usr/X11R7/lib*/usr/X11R7/lib/libX11.so
* /opt/STM/STLinux-2.2/devkit/sh4/target/usr/X11R7/lib/libXext.so -ldl -lm
 -Wl,--rpath -Wl,/st710x/usr/lib -Wl,-soname -Wl,libImlib2.so.1 -o
.libs/libImlib2.so.1.4.2
sh4-linux-gcc: /usr/X11R7/lib/libX11.so: No such file or directory
make[3]: *** [libImlib2.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I didn't find why it is still trying to use * /usr/X11R7/lib/libX11.so. Do i
need to use LDFLAGS also while running make?*



-- 
Oğuz Yarımtepe
www.loopbacking.info


reply via email to

[Prev in Thread] Current Thread [Next in Thread]