Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Build mod_jk.so In AIX Error:ld: 0711-244 ERROR: No csects or exported

Status
Not open for further replies.

ryan99

MIS
Sep 3, 2002
11
0
0
US
I'm building mod_jk.so on AIX4.3,One error as follows:

ld: 0711-244 ERROR: No csects or exported symbols have been saved.
apxs:Break: Command failed with rc=8

Anyone else encountered the same error?Anyone help me?

Thanks in advance
 
Well, here's the way I found to compiling mod_jk.so successfully. I hope it works for you.

I am assuming you got the copy of the source code for Jakarta Tomcat to compile the mod_jk.

1. Create a file called mod_jk.exp in the %Tomcat_SRC%/src/native/apache1.3/

2. Edit the Makefile.linux and add the parameter
-bE:mod_jk.exp at the end of the line that starts with $(APXS) So the line looks like
$(APXS) -I /jk ${JAVA_INCL} -c -o $@ mod_jk.c $(SRCS) -bE:mod_jk.exp

3. Issue the command to compile
make -f Makefile.linux mod_jk.so

Hope that works for you.

 
mod_jk.exp file should contain the following single line, or it errors...

jk_module

And you can rename the Makefile.linux to Makefile
top make the "make" easier.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top