I found the archives linked from jakarta.apache.org
really hard to use. The essence of my patch was the
following:
garlic.wlipa% diff apxs apxs-orig
74,76c74,76
< my $CFG_CFLAGS_SHLIB = q( -fPIC -DSHARED_MODULE);
# substituted via Makefile.tmpl
< my $CFG_LD_SHLIB = q(ld); #
substituted via Makefile.tmpl
< my $CFG_LDFLAGS_SHLIB = q( -G); # substituted via
Makefile.tmpl
---
> 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
The exact substitutions are platform specific but can
be gleaned by examining Apache's
src/modules/standard/Makefile.
Hope this helps,
Bill
--- cse10171 <[EMAIL PROTECTED]> wrote:
> 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]
>
__________________________________________________
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]