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

> 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 UTC