cannot link code on a 64 bit AMD
Mike Howell
mhowell@dynamic-concepts.com
Thu Feb 15 16:02:00 GMT 2007
Brian,
Thanks a lot. I used: ranlib libdiglib.a and everything linked ok.
According to the man page an alternative would have been to use ar -s.
Thanks, Mike
On Tue, 2007-02-13 at 16:06 -0800, Brian Dessent wrote:
> Mike Howell wrote:
> > I can compile an produce a static library: libdiglib.a but cannot link
> > to it. I get the message symbol tables out of order. I have attached he
> > [...]
> > libdiglib.a : devindep.o x11.o x11_f.o
> > ar r libdiglib.a devindep.o x11.o x11_f.o
> > #
>
> It's standard practice to run ranlib after creating an archive with
> 'ar'. Does that fix the error?
>
> Brian
>
More information about the Fortran
mailing list