W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 2000

Re: Linker error when building amaya 3.2.1 on alpha-dec-osf4.0

From: Irene VATTON <Irene.Vatton@inrialpes.fr>
Date: Thu, 17 Aug 2000 17:47:22 +0200
Message-Id: <200008171547.RAA20167@tahiti.inrialpes.fr>
To: Ralf Eichmann <ralf.eichmann@physik.uni-marburg.de>
cc: www-amaya@w3.org
> Hi,
> 
> I try to build amaya 3.2.1 using gcc 2.8.1 and make 3.75 on an
> AlphaServer running Digital Unix 4.0D. The error message is as follows:
> ......
> The current directory contains the libjpeg.a library that was built from
> the amaya source distribution. The output of 
> nm libjpeg.a | grep jpeg_std_error
> is
> jpeg_std_error                   | 0000000000000624 | T |
> 0000000000000008
> jpeg_std_error..ng               | 0000000000000000 | N |
> 0000000000000000
> 
> According to the man page of nm, T stands for "External text", which in
> my opinion indicates, that the library contains this function.
> 
> I tried to search the archives for such an error but could not find
> suitable information. I would be very glad if you could help me to find
> out what's wrong.

Hi Ralf,

I guess your linker is using the libjpeg provided by the system instead of the 
version
compiled with amaya.
There are two solutions: either compiling amaya with the includes provided by 
the system (I never tested that on that platform) or forcing the link with the 
local library.

Have you try to create a link in the directory obj/amaya
ln -s ../libjpeg.a
I'm not sure it works but it is worth testing it.

You can also replace the -ljpeg by a ../libjpeg.a

-- 
     Irene.
Received on Thursday, 17 August 2000 11:47:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 20 September 2007 14:24:27 GMT