This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: problems compiling latest binutils..


On Fri, 30 Mar 2001, JorgP wrote:

> gcc -shared -o libitcl3.0.so itcl_bicmds.o itcl_class.o itcl_cmds.o 
> itcl_ensemble.o itcl_linkage.o itcl_methods.o itcl_migrate.o itcl_objects.o 
> itcl_obsolete.o
> itcl_parse.o itcl_util.o
> ranlib libitcl3.0.so
> ranlib: libitcl3.0.so: File format not recognized
> make[2]: *** [libitcl3.0.so] Error 1
> make[2]: Leaving directory 
> `/usr/src/RPM/BUILD/binutils-2.11.90/itcl/itcl/unix'
> make[1]: *** [all] Error 1
> make[1]: Leaving directory `/usr/src/RPM/BUILD/binutils-2.11.90/itcl'
> make: *** [all-itcl] Error 2

Hmm, --enable-shared should set RANLIB to `:' when building shared libs
according to the Makefile in itcl/itcl/unix/.  What's happenning is that
the top level Makefile passes RANLIB=ranlib down to the lower Makefile
which is wrong in this case.  One workaround is to compile with

"make RANLIB=:"

Alan Modra
-- 
Linuxcare




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]