Compilation fails on gentoo AMD64 using gcc 4.1.1. I'm trying a few
other compiler version to see if any of those work.
Skip ../blib/lib/Coro/Select.pm (unchanged)
/home/phred/dev/perl/bin/perl
/home/phred/dev/perl/lib/5.8.8/ExtUtils/xsubpp -typemap
/home/phred/dev/perl/lib/5.8.8/ExtUtils/typemap -typemap typemap
State.xs > State.xsc && mv State.xsc State.c
cc -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -fPIC -fomit-frame-pointer -march=opteron
-mcpu=opteron -mtune=opteron -pipe -DVERSION=\"3.0\"
-DXS_VERSION=\"3.0\" -fpic
"-I/home/phred/dev/perl/lib/5.8.8/x86_64-linux/CORE" -DHAVE_MMAP
-DCORO_LINUX -DCORO_STACKSIZE=16384 -DCORO_STACKGUARD=4 State.c
In file included from State.xs:1:
libcoro/coro.c: In function 'coro_create':
libcoro/coro.c:230: error: 'JB_PC' undeclared (first use in this function)
libcoro/coro.c:230: error: (Each undeclared identifier is reported only once
libcoro/coro.c:230: error: for each function it appears in.)
libcoro/coro.c:231: error: 'JB_RSP' undeclared (first use in this function)
make[1]: *** [State.o] Error 1
make[1]: Leaving directory `/home/phred/.cpan/build/Coro-3.62/Coro'
make: *** [subdirs] Error 2
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
phred@app2 ~/dev/sl/trunk $ gcc -v
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/configure
--prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/g++-v4
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec
--enable-nls --without-included-gettext --with-system-zlib
--disable-checking --disable-werror --disable-libunwind-exceptions
--enable-multilib --disable-libmudflap --disable-libssp --disable-libgcj
--enable-languages=c,c++ --enable-shared --enable-threads=posix
--enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.1 (Gentoo 4.1.1)