<[EMAIL PROTECTED]> writes:
>I'm stumped ... hope someone has seen this,
>
>I have an XS wrapper for a c library we created.  I developed 
>it on the FreeBSD box at my desk, it compiles on our Linux & Alpha 
>servers with no problems. I compile on 2 of our FreeBSD servers, 
>run make test and,
>
>PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib 
>-I/usr/local/lib/perl5/5.6.1/i386-freebsd
>-I/usr/local/lib/perl5/5.6.1 test.pl
>1..1
>Can't load 'blib/arch/auto/Allant/Tools/Fmt/Fmt.so' for module Allant::Tools::Fmt:
>blib/arch/auto/Allant/Tools/Fmt/Fmt.so: Undefined symbol "__fixunsdfdi" at
>/usr/local/lib/perl5/5.6.1/i386-freebsd/DynaLoader.pm line 206.
> at test.pl line 11

If I remember my GCC internals correctly that would be the support routine
for the conversion:

  double foo;
  unsigned long long thing = foo;

So there is something wrong with your gcc install - perhaps a shared library
has been found which does not match the gcc?

Or it may be that this perl is doing 64-bit things that Linux version 
was not (64 bit on an Alpha is easy...)



>Compilation failed in require at test.pl line 11.
>BEGIN failed--compilation aborted at test.pl line 11.
>gmake: *** [test_dynamic] Error 255
>
>
>...Yet I can compile other Xs modules and do a make test, no problem.
>   I just recompiled the libraries, and tried again.  Still have the same
>   problem, any help would much appreciated.
>
>                                           Thanks,
>                                              STH
>
>----------------------------------
>E-Mail: [EMAIL PROTECTED]
>Date: 11-Mar-2003
>Time: 16:25:27
>----------------------------------
-- 
Nick Ing-Simmons
http://www.ni-s.u-net.com/

Reply via email to