[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20030824: UDUNITS: perl problem with utscan on Intel itanium



Neeraj,

> To: address@hidden
> From: "Neeraj Agarwal" <address@hidden>
> Subject: problem in installing udunits library
> Organization: ?

The above message contained the following:

> hi,
> i am trying to install udunits library on intel based (itanium 
> system). After running the configure file when i run the make file 
> i encounter the error as shown below:
> 
> 
> make[1]: Entering directory 
> `/usr1/neeraj/udunits-1.11.7/src/perl'
> rm -f blib/arch/auto/UDUNITS/UDUNITS.so
> LD_RUN_PATH="/usr1/neeraj/udunits-1.11.7/src/perl/../lib:/lib" gcc  
> -shared -L/usr/l/usr/local/udunits-1.11.7/src/perl UDUNITS.o  
> ./utscan.o -o blib/arch/auto/UDUNITS/UDUNITS.so   
> -L/usr1/neeraj/udunits-1.11.7/src/perl/../lib -ludunits -lm
> /usr/bin/ld: ./utscan.o: @gprel relocation against dynamic symbol 
> utin
> /usr/bin/ld: ./utscan.o: @gprel relocation against dynamic symbol 
> utout
> /usr/bin/ld: ./utscan.o: @gprel relocation against dynamic symbol 
> utin
> /usr/bin/ld: ./utscan.o: @gprel relocation against dynamic symbol 
> utout
> /usr/bin/ld: ./utscan.o: @gprel relocation against dynamic symbol 
> utin
> /usr/bin/ld: ./utscan.o: @gprel relocation against dynamic symbol 
> utin
> /usr/bin/ld: ./utscan.o: @gprel relocation against dynamic symbol 
> utin
> /usr/bin/ld: ./utscan.o: @gprel relocation against dynamic symbol 
> utin
> /usr/bin/ld: ./utscan.o: @gprel relocation against dynamic symbol 
> utin
> /usr/bin/ld: ./utscan.o: @gprel relocation against dynamic symbol 
> utin
> collect2: ld returned 1 exit status
> make: *** [blib/arch/auto/UDUNITS/UDUNITS.so] Error 1

It looks like your linker has problems with the file "lib/utscan.c",
which was created from the file "lib/utscan.l" using the GNU flex(1)
utility.  This is odd because the above step occurs after the successful
build of the udunits(1) utility, which uses the same "utscan" module.

Do you need the perl extension module for UDUNITS?  If not, then you can
by-pass the above step by setting the environment variable PERL to the
empty string before executing the configure script.

> I am trying to install in my desired location 
> (/usr1/neeraj/udunits-1.11.7)
> Pls help me to correct the error.
> regards
> Neeraj Agarwal
> 
> 
> Neeraj Agarwal
> Scientist
> MOG/RESA
> Space Applications Center
> ISRO
> Ahmedabad-380015
> INDIA

Regards,
Steve Emmerson