jackxiao / jslibs

Automatically exported from code.google.com/p/jslibs
0 stars 0 forks source link

nspr failed to build on ubuntu #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
NSPR build failed with this message:
linux.c: In function «_MD_InitializeThread":
linux.c:82: erreur: «JB_SP" undeclared (first use in this function)
linux.c:82: erreur: (Each undeclared identifier is reported only once
linux.c:82: erreur: for each function it appears in.)
linux.c:83: erreur: «JB_BP" undeclared (first use in this function)
make[5]: *** [linux.o] Erreur 1
make[5]: quittant le répertoire «
/home/biggamer95/Desktop/test/jslibs/nspr/src/pr/src/md/unix »

configuration:
--disable-debug --enable-strip --enable-nspr-threads --enable-optimize=-O3

Original issue reported on code.google.com by sou...@gmail.com on 16 Dec 2007 at 11:15

GoogleCodeExporter commented 9 years ago
using pthreads (--with-pthreads) seems to fix the issue.
Now check if pthreads is suitable in any cases.

Original comment by sou...@gmail.com on 21 Dec 2007 at 9:09