[Date Prev][Date Next] [Chronological] [Thread] [Top]

Configuration Problem w/ v1.2.4 on Solaris 2.6


I am having problems configuring openldap v1.2.4 on Solaris 2.6 and was
wondering if anybody has had similar problems.  The configure script
bombs when verifying some pthreads functions.  Here is a tail of the 
'config.log' file:

configure:4806: checking for thr_setconcurrency
configure:4834: gcc -o conftest -g -O2   conftest.c  -lresolv -lgen
-lnsl -lsock
et  1>&5
configure:4806: checking for thr_getconcurrency
configure:4834: gcc -o conftest -g -O2   conftest.c  -lresolv -lgen
-lnsl -lsock
et  1>&5
configure:4860: checking if pthread_create() works
configure:4892: gcc -o conftest -g -O2   conftest.c  -lresolv -lgen
-lnsl -lsock
et  1>&5
configure: failed program was:
#line 4869 "configure"
#include "confdefs.h"

#include <pthread.h>
#ifndef NULL
#define NULL (void*)0

static void *task(p)
        void *p;
        return (void *) (p == NULL);

int main(argc, argv)
        int argc;
        char **argv;
        pthread_t t;
        exit(pthread_create(&t, NULL, task, NULL));

Any ideas?  Any help would be appreciated!

Kevin Hendrix
"Glory is fleeting, but obscurity is forever." 
  - Napoleon Bonaparte