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

[Staging #OBR-846828]: make error



Taimaz,

> It now passed the step, but some other errors have occurred. Did you notice
> I'm using the older version?
> Thanks for your helps

The file "make.log" contained the following:

making `dynamic' in directory /home/taimaz/Downloads/udunits-1.12.11/src/perl

make[1]: Entering directory `/home/taimaz/Downloads/udunits-1.12.11/src/perl'
/usr/bin/perl /usr/share/perl/5.14/ExtUtils/xsubpp  -typemap 
/usr/share/perl/5.14/ExtUtils/typemap -typemap typemap  UDUNITS.xs > 
UDUNITS.xsc && mv UDUNITS.xsc UDUNITS.c
Please specify prototyping behavior for UDUNITS.xs (see perlxs manual)
c89 -c  -I../lib -I../port/misc -D_REENTRANT -D_GNU_SOURCE -DDEBIAN 
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"1.12.11\" 
-DXS_VERSION=\"1.12.11\" -fPIC "-I/usr/lib/perl/5.14/CORE"  -Df2cFortran 
UDUNITS.c
Running Mkbootstrap for UDUNITS ()
chmod 644 UDUNITS.bs
rm -f blib/arch/auto/UDUNITS/UDUNITS.so
cc  -shared -O2 -g -L/usr/local/lib -fstack-protector UDUNITS.o  -o 
blib/arch/auto/UDUNITS/UDUNITS.so   \
           -L/home/taimaz/Downloads/udunits-1.12.11/src/perl/../lib -ludunits 
-lm       \
          
/usr/bin/ld: 
/home/taimaz/Downloads/udunits-1.12.11/src/perl/../lib/libudunits.a(utlib.o): 
relocation R_X86_64_32S against `.bss' can not be used when making a shared 
object; recompile with -fPIC
/home/taimaz/Downloads/udunits-1.12.11/src/perl/../lib/libudunits.a: could not 
read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [blib/arch/auto/UDUNITS/UDUNITS.so] Error 1

It looks like the perl(1) utility was built using a different compiler -- one 
that doesn't play well with c89(1).

Do you need the Perl interface? If not, then go to the top-level 
source-directory, execute the command "make distclean", set the PERL 
environment variable to the empty string, and rebuild the package starting with 
the execution of the configure(1) script.

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: OBR-846828
Department: Support UDUNITS
Priority: Normal
Status: Closed


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.