[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Problems setjmp.h on Fedora 5


Maybe this is out of topic, but it's related to developpement and I
wasn't able to got the answer elsewhere.

I'm having problem related to setjmp calls under a library
(statethreads) on Fedora 5.

When I try to compile the application using it, I get :

depmode=gcc3 /bin/sh ./depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I. -I./../include -DLINUX -O -g -O2 -c `test
-f 'sched.c' || echo './'`sched.c
sched.c: In function ‘st_thread_create’:
sched.c:892: erreur: ‘JB_SP’ undeclared (first use in this function)
sched.c:892: erreur: (Each undeclared identifier is reported only once
sched.c:892: erreur: for each function it appears in.)
make[3]: *** [sched.o] Erreur 1
make[3]: Leaving directory `/home/smXinstall/smX-'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/home/smXinstall/smX-'
make[1]: *** [all] Erreur 2
make[1]: Leaving directory `/home/smXinstall/smX-'
make: *** [all-recursive] Erreur 1
[root localhost smX-]#

Under Fedora 4, JB_SP was defined at /usr/include/bits/setjmp.h header.
Fedora 5 doesn't define it anymore.

It seems that this come from glibc. JB_SP is still defined in the last
official glibc release (2.4), but in a different header : jmpbuf-offsets.h.

I wasn't able to find any definition of JB_SP in any header of Fedora 5.

I tried to define myself the value of JB_SP (4 - the same value found in
Fedora 4 headers), but the application segfaults.

Any idea ?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]