[oe] perl-native-5.8.3-r0: task do_compile failed

Gonzague Reydet gonzague.reydet at cea.fr
Mon Jul 9 07:23:45 UTC 2007


Hi,

I have an error when compiling the perl-native package:

make[1]: Entering directory 
`/home/gonzague/Wifibot/nylon-build-stable-1.0/tmp/work/perl-native-5.8.3-r0/perl-5.8.3/ext/IO' 

../../miniperl "-I../../lib" "-I../../lib" ../../lib/ExtUtils/xsubpp  
-typemap ../../lib/ExtUtils/typemap  IO.xs > IO.xsc && mv IO.xsc IO.c
ccache gcc  -c   -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS 
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"1.21\" -DXS_VERSION=\"1.21\" 
-fpic "-I../.."   IO.c
IO.xs: In function 'XS_IO__Poll__poll':
IO.xs:239: error: invalid application of 'sizeof' to incomplete type 
'struct pollfd'
IO.xs:243: error: invalid use of undefined type 'struct pollfd'
IO.xs:243: error: dereferencing pointer to incomplete type
IO.xs:245: error: invalid use of undefined type 'struct pollfd'
IO.xs:245: error: dereferencing pointer to incomplete type
IO.xs:247: error: invalid use of undefined type 'struct pollfd'
IO.xs:247: error: dereferencing pointer to incomplete type
IO.xs:251: error: invalid use of undefined type 'struct pollfd'
IO.xs:251: error: dereferencing pointer to incomplete type
IO.xs:252: error: invalid use of undefined type 'struct pollfd'
IO.xs:252: error: dereferencing pointer to incomplete type
make[1]: *** [IO.o] Error 1
make[1]: Leaving directory 
`/home/gonzague/Wifibot/nylon-build-stable-1.0/tmp/work/perl-native-5.8.3-r0/perl-5.8.3/ext/IO' 


Does any body have any idea?

Regards,
Gonzague Reydet.




More information about the Openembedded-devel mailing list