tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Grinder <mgrin...@rightnow.com>
Subject Re: HELP ! building mod_jk with fdatasync...
Date Tue, 12 Dec 2000 15:12:28 GMT
On Tue, 12 Dec 2000, jackie wrote:

> Hello,
>     I am trying to run tomcat 3.2 with apache 1.3 on Solaris 2.6. I can
> make the mod_jk.so by
>
> apxs -o mod_jk.so -DSOLARIS -I../jk -I/usr/java/include
> -I/usr/java/include/solaris -c *.c ../jk/*.c
> and then run
> gcc -shared -o mod_jk.so *.o
>
> I receive the error "symbol fdatasync: referenced symbol not found" at
> run time ( as predicted by the homepage...)
> so I follow the instruction placing -lposix4 just in front of -c. BUT IT
> DOESN'T WORK!!!

When I compiled it on Solaris, I also had to put the -lposix4 in the gcc
arguments as well. I did it like this:

gcc -shared -lposix4 -o mod_jk.so *.o


Michael Grinder



Mime
View raw message