I finally got mod_jk to compile!!! I had to change some lines in apxs.
Here are the two lines before:
my $CFG_LD_SHLIB = q(); # substituted via Makefile.tmpl
my $CFG_LDFLAGS_SHLIB = q(); # substituted via Makefile.tmpl
and here is what I changed them to:
my $CFG_LD_SHLIB = q(gcc); # substituted via Makefile.tmpl
my $CFG_LDFLAGS_SHLIB = q(-G); # substituted via Makefile.tmpl
Can anyone explain to me what the -G option is for?
Rob Abernethy
[EMAIL PROTECTED]
-----Original Message-----
From: micky mimo [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 11, 2001 5:15 PM
To: [EMAIL PROTECTED]
Subject: RE: building mod_jk
best archives in the world http://marc.theaimsgroup.com/
/===============================\
| Micky Mimo |
| Systems Specialist |
| (781) 457 - 1317 |
| [EMAIL PROTECTED] |
\===============================/
-----Original Message-----
From: cse10171 [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 11, 2001 5:12 PM
To: [EMAIL PROTECTED]
Subject: RE: building mod_jk
Where can I find your prior posting? Is there a good way to search for it
in the Tomcat User Archives?
Rob Abernethy
[EMAIL PROTECTED]
-----Original Message-----
From: Pogo Com [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 11, 2001 4:54 PM
To: [EMAIL PROTECTED]
Subject: RE: building mod_jk
Look at $APACHEHOME/bin/apxs. Does it contain the
following three lines?
my $CFG_CFLAGS_SHLIB = q(); # substituted via
Makefile.tmpl
my $CFG_LD_SHLIB = q(); # substituted
via Makefile.tmpl
my $CFG_LDFLAGS_SHLIB = q(); # substituted via
Makefile.tmpl
If so, then you hit the same bug I did, which I
reported to Apache as bug 7560. You'll need to
provide definitions for those fields (see my prior
posting about how to do this).
Bill
--- cse10171 <[EMAIL PROTECTED]> wrote:
> Yes, I'm using Solaris 5.6 and Apache 1.3.14. Here
> is my apxs command (I
> have tried several different ones, each resulting in
> the same error):
>
> apxs -o
> mod_jk.so -DSOLARIS -I../jk -I/usr/java/include
> -I/usr/java/include/solaris
> -lposix4 -ldl -lxnet -c *.c ../jk/*.c
>
>
> Rob Abernethy
> [EMAIL PROTECTED]
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of andy oliver
> Sent: Thursday, January 11, 2001 5:18 PM
> To: [EMAIL PROTECTED]
> Subject: Re: building mod_jk
>
>
> Are you on Solaris (I assume)? What version? What
> is your exact apxs
> command as you are entering it?
>
> "Robert D. Abernethy IV" wrote:
>
> > I am attempting to compile mod_jk.so and am having
> some difficulty. The
> > apxs command stops with the following error:
> >
> > apxs:Break: Command failed with rc=255
> >
> > I have added -lposix4 and -ldl to remove some
> linking errors, but I am
> still
> > coming up with a bunch of undefined symbols
> (ap_pstrdup, ap_reset_timeout,
> > ap_table_set, etc.). I have the feeling that I am
> still missing a library
> > or something. I was curious what environment
> variables need to be set
> when
> > compiling mod_jk? How about the LD_LIBRARY_PATH
> variable?
> >
> > Rob Abernethy
> > [EMAIL PROTECTED]
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, email:
> [EMAIL PROTECTED]
>
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, email:
> [EMAIL PROTECTED]
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, email:
> [EMAIL PROTECTED]
>
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]