Build Jpeg library error message

Jeffery Jean <[email protected]> 11 Apr 2003 13:21:32 +0800
Newsgroups gmane.linux.qplus.devel
Message-ID <[email protected]>
Dear all:
  I'm compiling libjpeg for the S3c2400 BSP, I found this package seems
has bug , I dump the error message as below


gcc -shared  jcapimin.lo jcapistd.lo jctrans.lo jcparam.lo jdatadst.lo
jcinit.lo jcmaster.lo jcmarker.lo jcmainct.lo jcprepct.lo jccoefct.lo
jccolor.lo jcsample.lo jchuff.lo jcphuff.lo jcdctmgr.lo jfdctfst.lo
jfdctflt.lo jfdctint.lo jdapimin.lo jdapistd.lo jdtrans.lo jdatasrc.lo
jdmaster.lo jdinput.lo jdmarker.lo jdhuff.lo jdphuff.lo jdmainct.lo
jdcoefct.lo jdpostct.lo jddctmgr.lo jidctfst.lo jidctflt.lo jidctint.lo
jidctred.lo jdsample.lo jdcolor.lo jquant1.lo jquant2.lo jdmerge.lo
jcomapi.lo jutils.lo jerror.lo jmemmgr.lo jmemnobs.lo   -Wl,-soname
-Wl,libjpeg.so.62 -o .libs/libjpeg.so.62.0.0
/usr/bin/ld: jcapimin.lo: Relocations in generic ELF (EM: 40)
jcapimin.lo: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [libjpeg.la] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.84205 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.84205 (%build)
 exceptions.SystemExit
result arrived... (thread exited..)
result arrived... (thread exited..)

It should be arm-linux-gcc not gcc.

Jeffery





-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com