Skip Menu |

This queue is for tickets about the Coro CPAN distribution.

Report information
The Basics
Id: 25106
Status: resolved
Priority: 0/
Queue: Coro

People
Owner: Nobody in particular
Requestors: Steffen_Ullrich [...] genua.de
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 3.5
Fixed in: (no value)



Subject: Linux specific coro fails to build on (K)ubuntu 6.10
If using the linux specific implementation (which is default on linux) it fails to build on (K)ubuntu 6.10, because neither JB_PC/JB_SP nor __pc/__sp are defined for _jmp_buf anywhere in setjmp.h or bits/setjmp.h. make[1]: Entering directory `/mnt/hda8/homes/stef/.cpan/build/Coro-3.5/Coro' cc -c -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"3.0\" -DXS_VERSION=\"3.0\" -fpic "-I/home/software/perl-5.8.7/lib/5.8.7/i686-linux/CORE" -DHAVE_MMAP -DCORO_LINUX -DSTACKSIZE=16384 -DSTACKGUARD=4 State.c In file included from State.xs:1: libcoro/coro.c: In function 'coro_create': libcoro/coro.c:213: error: request for member '__pc' in something not a structure or union libcoro/coro.c:214: error: request for member '__sp' in something not a structure or union make[1]: *** [State.o] Error 1 make[1]: Leaving directory `/mnt/hda8/homes/stef/.cpan/build/Coro-3.5/Coro' make: *** [subdirs] Error 2 If I don't use the defaults and build with setjmp or ucontext it builds and the test run.
On Fri Feb 23 17:19:24 2007, SULLR wrote: Show quoted text
> If using the linux specific implementation (which is default on linux) > it fails to build on (K)ubuntu 6.10, because neither JB_PC/JB_SP nor > __pc/__sp are defined for _jmp_buf anywhere in setjmp.h or bits/setjmp.h.
The current release tries to work around that and guess better, but in general you are responsible for selecting the corretc configuration options for your system.