Problem with an application using setjmp.h under Fedora 5

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

 




I have a problem compiling one application on Fedora 5. It uses the statethreads library.

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 \221st_thread_create\222:
sched.c:892: erreur: \221JB_SP\222 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-0.0.0.0/statethreads'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/home/smXinstall/smX-0.0.0.0/statethreads'
make[1]: *** [all] Erreur 2
make[1]: Leaving directory `/home/smXinstall/smX-0.0.0.0/statethreads'
make: *** [all-recursive] Erreur 1
[root@localhost smX-0.0.0.0]#

It seems that Fedora 5 doesn't define JB_SP at /usr/include/bits/setjmp.h as it was within Fedora 4.

# grep JB_SP /usr/include/*
# grep JB_SP /usr/include/*/*

glibc versions are :

# rpm -qa|grep glibc
glibc-devel-2.4-4
glibc-kernheaders-3.0-5.2
glibc-2.4-4
glibc-common-2.4-4
glibc-headers-2.4-4

glibc 2.4 moved the definition of this from setjmp.h to jmpbuf-offsets.h

Someone had found this problem or have an idea on how to get rid of this ?

I've tried to define JB_SP with the same value (4) assigned to this under Fedora 4, but it doesn't work : the application compiles but it segfaults.

--
  ---------------------------------------------------------------
  Jose Marcio MARTINS DA CRUZ           Tel. :(33) 01.40.51.93.41
  Ecole des Mines de Paris              http://j-chkmail.ensmp.fr
  60, bd Saint Michel                http://www.ensmp.fr/~martins
  75272 - PARIS CEDEX 06      mailto:Jose-Marcio.Martins@xxxxxxxx

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux