On Tue, 8 May 2001, Franky Tong wrote:

> Hi All,
>
> I have compiled mod_jserv.c in apache.
>
> I got the following error when I compile it using command "apxs -c -o
> mod_jserv.so *.c".
>
> ld: 0711-244 ERROR: No csects or exported symbols have been saved.
> apxs:Break: Command failed with rc=8
>
> How can I solve it?

Let me guess, you're using AIX?  I'm using AIX, and I've run into
problems like this before (when building shared libs, which is what
you're doing here).  AIX's linker needs some extra args that others
don't.  What version of apache are you using?  I think later versions
take care of the problem -- i.e. the apxs included with them has the
necessary args (I'm using 1.3.19, but it looks like 1.3.14 also has
the necessary args).  If you're using an earlier version and you can't
upgrade, you can try adding "-bexpall" to $CFG_LDFLAGS_SHLIB in your
apxs.  Also, check the archives of this list (at
marc.theaimsgroup.com), because other AIX users have posted this
problem before, and solutions have been posted as well.

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]

Reply via email to