bugGNUstep WebKit - Bugs: bug #439, Compilation hangs with kjs on Mac...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #439: Compilation hangs with kjs on Mac OS X (pthread issue)

Submitted by:  Quentin Mathé <qmathe>
Submitted on:  Thu 24 Jun 2004 01:46:25 AM UTC  
 
Category: JavaScriptCoreSeverity: 6 - Security
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Fri 13 May 2005 12:43:21 AM UTC, comment #1:

Just passing through, but...

It would appear that internal.c has a dependency on <pthread.h> (/usr/include/pthread.h) which is not explicitly #included. Presumably this is included indirectly through some other system header on Linux but not on Darwin. Add #include <pthread.h> at the top of internal.c. If you get similar errors with other files, it probably needs to be added to some header.

Anonymous
Thu 24 Jun 2004 01:46:25 AM UTC, original submission:

I'm compiling GSWebKit with GNUstep under Mac OS X11.
Here is the end of the compilatation output :

Making all in subprojects of subproject JavaScriptCore...
Making all for subproject kjs...
internal.c:77: error: `PTHREAD_ONCE_INIT' was not declared in this scope
internal.c: In function `void initializeInterpreterLock()':
internal.c:85: error: `pthread_mutexattr_init' undeclared (first use this
function)
internal.c:85: error: (Each undeclared identifier is reported only once for
each function it appears in.)
internal.c:86: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use this
function)
internal.c:86: error: `pthread_mutexattr_settype' undeclared (first use this
function)
internal.c:88: error: `pthread_mutex_init' undeclared (first use this function)
internal.c: In function `void lockInterpreter()':
internal.c:93: error: `pthread_once' undeclared (first use this function)
internal.c:94: error: `pthread_mutex_lock' undeclared (first use this function)
internal.c: In function `void unlockInterpreter()':
internal.c:101: error: `pthread_mutex_unlock' undeclared (first use this
function)
make[3]: *** [shared_obj/internal.o] Error 1
make[2]: *** [kjs.all.subproject.variables] Error 2
make[1]: *** [JavaScriptCore.all.subproject.variables] Error 2
make: *** [WebKit.all.framework.variables] Error 2

Quentin Mathé <qmathe>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by qmathe (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup