Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 2002 19:29:20 -0400
From:      Michael E Mercer <mmercer@nc.rr.com>
To:        Lucien Weller <lucien@wellernet.ch>
Cc:        freebsd-java@freebsd.org
Subject:   Re: mod_jk with apache2 and tomcat4
Message-ID:  <3DB48DD0.8BFC3E17@nc.rr.com>
References:  <PJENJHMEOEMIGHMGEHGDEEFJCGAA.lucien@wellernet.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
from the man page below... try adding the flag -lpthread to the compile line for
that shared lib.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
man pthread_mutex_unlock
Formatting page, please wait.../usr/share/man/man3/pthread_mutex_unlock.3.gz:
49.8%
 56.5%
Done.
/usr/share/man/cat3/pthread_mutex_unlock.3.gz:   56.5%
PTHREAD_MUTEX_UNLOC... FreeBSD Library Functions Manual PTHREAD_MUTEX_UNLOC...

NAME
     pthread_mutex_unlock - unlock a mutex

LIBRARY
     Reentrant C Library (libc_r, -pthread)

SYNOPSIS
     #include <pthread.h>

     int
     pthread_mutex_unlock(pthread_mutex_t *mutex);

DESCRIPTION
     If the current thread holds the lock on mutex, then the
     pthread_mutex_unlock() function unlocks mutex.

RETURN VALUES
     If successful, pthread_mutex_unlock() will return zero, otherwise an
     error number will be returned to indicate the error.

ERRORS
     pthread_mutex_unlock() will fail if:

     [EINVAL]           The value specified by mutex is invalid.

     [EPERM]            The current thread does not hold a lock on mutex.

SEE ALSO
     pthread_mutex_destroy(3), pthread_mutex_init(3), pthread_mutex_lock(3),
     pthread_mutex_trylock(3)

STANDARDS
     pthread_mutex_unlock() conforms to ISO/IEC 9945-1:1996 (``POSIX.1'').

FreeBSD 4.6                      July 30, 1998                     FreeBSD 4.6
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Lucien Weller wrote:

> Hello!
>
> I'm running Apache 2.0.43 and Tomcat 4.1.12 on a FreeBSD 4.3.2 system. Now I
> trying to integrate the two server, but I'm have still some problems.
>
> I could now build the mod_jk.so from jakarta-tomcat-connectors-4.1.12-src
> using ant 1.5.
>
> But when U try do start Apache with the newly compiled module (by adding
> LoadModule jk_module modules/mod_jk.so in httpd.conf) I obtain the following
> complaint from Apache:
> Syntax error on line 232 of /usr/local/apache2/conf/httpd.conf:
>
> Cannot load /usr/local/apache2/modules/mod_jk.so into server:
> /usr/local/apache2/modules/mod_jk.so: Undefined symbol
> "pthread_mutex_unlock"
>
> Can anybody help me? It would be very nice, because I alredy spend a lot of
> time in solving the problem.
>
> Regards
>
> Lucien
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-java" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DB48DD0.8BFC3E17>