autoconf
[Top][All Lists]
Advanced

[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 jpeg.la -rpath
> /st710x/usr/local/efls/lib/imlib2/loaders jpeg_la-loader_jpeg.lo
> -ljpeg ../../../src/lib/libImlib2.la
> 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/libjpeg.so
> ../../../src/lib/.libs/libImlib2.so  -Wl,-soname -Wl,jpeg.so -o
> .libs/jpeg.so
> /usr/lib/libjpeg.so: could not read symbols: File in wrong format
> collect2: ld returned 1 exit status
> make[4]: *** [jpeg.la] 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
  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




reply via email to

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