[Pdx-pm] Perl header file headache

Jonathan Leto jaleto at gmail.com
Sat Aug 23 10:56:56 PDT 2008


Howdy,

Does anybody know what this is:

gcc -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -c -shared
-fpic -I/usr/local/include -Wno-strict-aliasing -Wno-unused-function
-Wno-unused-value -Wno-unused-function -Wno-unused-variable -o
BLAS_wrap.o BLAS_wrap.c
In file included from
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/op.h:497,
                 from
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/perl.h:2754,
                 from BLAS_wrap.c:716:
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/reentr.h:612: error:
field '_crypt_struct' has incomplete type
In file included from
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/perl.h:3950,
                 from BLAS_wrap.c:716:
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/proto.h:297: error:
expected declaration specifiers or '...' before 'off64_t'
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/proto.h:299: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'Perl_do_sysseek'
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/proto.h:300: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'Perl_do_tell'
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/proto.h:2008: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'Perl_PerlIO_tell'
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/proto.h:2009: error:
expected declaration specifiers or '...' before 'off64_t'

This same code has compiled and passed on all kinds of CPANtesters
machines, but a user just submitted this compilation error to me
personally.

This was the problem that I was running into when trying to use Perls
older than 5.8.8, but this error is from Perl 5.8.8. Do multi-threaded
Perls have different
header files?

Thank you for any light that you can shed on this situation.

Cheers,


--
[---------------------]
Jonathan Leto
jaleto at gmail.com


More information about the Pdx-pm-list mailing list