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

[Support #LXT-164948]: udunits make.lg



Mike,

> making `dynamic' in directory /ptmp/mpage/udunits-1.12.4/src/perl
> 
> make[1]: Entering directory `/ptmp/mpage/udunits-1.12.4/src/perl'
> LD_RUN_PATH="/ptmp/mpage/udunits-1.12.4/src/perl/../lib:/usr/lib32" 
> /opt/MIPSpro/MIPSpro/usr/bin/cc -n32 -mips3 -o 
> blib/arch/auto/UDUNITS/UDUNITS.so -rpath 
> "/ptmp/mpage/udunits-1.12.4/src/perl/../lib:/usr/lib32" -n32 -mips3 -shared 
> UDUNITS.o    -L/ptmp/mpage/udunits-1.12.4/src/perl/../lib -ludunits -lm
> ld32: FATAL   12 : Expecting n32 objects: UDUNITS.o is n64.
> make[1]: *** [blib/arch/auto/UDUNITS/UDUNITS.so] Error 2
> make[1]: Leaving directory `/ptmp/mpage/udunits-1.12.4/src/perl'
> make: *** [perl/dynamic] Error 1

It looks like you tried to create a 64-bit version of the UDUNITS library
(by specifying the "-64" option in the CFLAGS environment variable) but
your perl(1) installation is 32-bit based.  If the perl(1) interface to the
UDUNITS library is going to be built, then, in general, the same compiler
and options that was used to build the perl(1) installation must be used
to build the extension module.

The "bitness" of the perl(1) installation can be discovered via the command
"perl -V".

You have the following options:

    1.  Don't build the perl(1) extention module by setting the environment
        PERL to the empty string before executing the configure(1) script.

    2.  Build a 32-bit UDUNITS library by removing the "-64" option from
        the CFLAGS environment variable before executing the configure(1)
        script.

In either case, you'll have to execute the command "make distclean" before
executing the configure(1) script.

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: LXT-164948
Department: Support UDUNITS
Priority: Normal
Status: Closed