[Top][All Lists]

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

Re: autotools usage question

From: Ralf Wildenhues
Subject: Re: autotools usage question
Date: Sun, 1 Feb 2009 09:53:28 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hello Oguz,

* Oguz Yarimtepe wrote on Sat, Jan 31, 2009 at 10:21:44PM CET:
> ./configure --host="sh4-linux" --prefix="/st710x/usr/local/efls"
> --x-includes="/opt/STM/STLinux-2.2/devkit/sh4/target/usr/X11R7/include"
> --x-libraries="/opt/STM/STLinux-2.2/devkit/sh4/target/usr/X11R7/lib"
> make  all-recursive
> Making all in src
> Making all in lib
> make[3]: Nothing to be done for `all'.
> Making all in bin
> make[3]: Nothing to be done for `all'.
> Making all in modules
> Making all in loaders
> /bin/bash ../../../libtool --tag=CC --tag=disable-static  --mode=link
> sh4-linux-gcc  -g -O2 -module -avoid-version  -o -rpath
> /st710x/usr/local/efls/lib/imlib2/loaders jpeg_la-loader_jpeg.lo
> -ljpeg ../../../src/lib/
> sh4-linux-gcc -shared  .libs/jpeg_la-loader_jpeg.o  -Wl,--rpath
> -Wl,/home/oguz/E-new/E/trunk/imlib2/src/lib/.libs -Wl,--rpath
> -Wl,/st710x/usr/local/efls//lib /usr/lib/
> ../../../src/lib/.libs/  -Wl,-soname -Wl, -o
> .libs/
> /usr/lib/ could not read symbols: File in wrong format
> collect2: ld returned 1 exit status
> make[4]: *** [] Error 1

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

or so, dunno, please check where that library lives.

Hope that helps.


reply via email to

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