> -----Original Message----- > From: Kairam, Raj > Sent: Monday, July 10, 2000 3:13 PM > To: '[EMAIL PROTECTED]' > Cc: Kairam, Raj > Subject: mod_jserv as DSO on HP-UX 11 > > To those of you that are using HP-UX 11 platform and Apache_1.3.12 : > I am having problems with completing the 'make' and 'make install' > Any suggestions on what I am doing wrong to get the error with the 'ld' > command while 'make' is executing ( see at the end of this email ) would > be very much appreciated. > ---- Raj Kairam > > After running the 'configure' script, which seems to be ok, the 'make' > command is aborting. > > I am giving the files that set up the variables for running the 'make' > command. > > In the ./src/Configuration file, the following lines were modified as > EXTRA_CFLAGS= -DSHARED_CORE_DIR=\"/usr/local/apache/libexec\" > .... > Rule SHARED_CORE=yes > .... > > This is the ./src/Makefile.config. The 3 variables CFLAGS_SHLIB, > LDFLAGS_SHLIB and LDFLAGS_SHLIB_EXPORT as mentioned in the documentation > are set as below. > > ## > ## Inherited Makefile options from Configure script > ## (Begin of automatically generated section) > ## > SRCDIR=. > EXTRA_CFLAGS=`$(SRCDIR)/apaci` > EXTRA_LDFLAGS= > EXTRA_LIBS= > EXTRA_INCLUDES= > EXTRA_DEPS= > OSDIR=$(SRCDIR)/os/unix > INCDIR=$(SRCDIR)/include > INCLUDES0=-I$(OSDIR) -I$(INCDIR) > SHELL=/bin/sh > OS=HP-UX 11 > CC=cc > CPP=cc -E > TARGET=httpd > OPTIM= > CFLAGS_SHLIB= -DSHARED_MODULE > LD_SHLIB=ld > LDFLAGS_SHLIB=-b > LDFLAGS_SHLIB_EXPORT=-Wl,-E -Wl,-B,deferred -Wl,+s > LDFLAGS_MOD_SHLIB=-b > LD_SHCORE_DEF= > LD_SHCORE_LIBS= > SHARED_CORE_EP=lib$(TARGET).ep > SHCORE_IMPLIB= > CFLAGS1= -DHPUX11 -Aa -Ae -D_HPUX_SOURCE -DUSE_HSREGEX -DUSE_EXPAT > -I$(SRCDIR)/lib/expat-lite +z -DSHARED_CORE > INCLUDES1= > LIBS_SHLIB= > LDFLAGS1= > MFLAGS_STATIC= > REGLIB=regex/libregex.a > EXPATLIB=lib/expat-lite/libexpat.a > RANLIB=/bin/true > LIBS1= -lm -lpthread > ## > ## (End of automatically generated section) > ## > #### > ./configure --prefix=/usr/local/apache \ > --enable-rule=SHARED_CORE \ > --enable-module=most \ > --enable-shared=max > > which produced the follwing screen output. > Configuring for Apache, Version 1.3.12 > + using installation path layout: Apache (config.layout) > Creating Makefile > Creating Configuration.apaci in src > + enabling mod_so for DSO support > Creating Makefile in src > + configured for HP-UX 11 platform > + setting C compiler to cc > + setting C pre-processor to cc -E > + checking for system header files > + adding selected modules > o rewrite_module uses ConfigStart/End > enabling DBM support for mod_rewrite > o dbm_auth_module uses ConfigStart/End > + checking sizeof various data types > + doing sanity check on compiler and options > Creating Makefile in src/support > Creating Makefile in src/regex > Creating Makefile in src/os/unix > Creating Makefile in src/ap > Creating Makefile in src/main > Creating Makefile in src/lib/expat-lite > Creating Makefile in src/modules/standard > Creating Makefile in src/modules/proxy > #### > make > The output as written to a file shows this > ===> src > ===> src/regex > <=== src/regex > ===> src/os/unix > <=== src/os/unix > ===> src/ap > <=== src/ap > ===> src/main > <=== src/main > ===> src/lib > ===> src/lib/expat-lite > <=== src/lib/expat-lite > <=== src/lib > ===> src/modules > ===> src/modules/standard > <=== src/modules/standard > ===> src/modules/proxy > <=== src/modules/proxy > <=== src/modules > cc -c -I./os/unix -I./include -DHPUX11 -Aa -Ae -D_HPUX_SOURCE > -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite +z -DSHARED_CORE `./apaci` > modules.c > cc -c -I./os/unix -I./include -DHPUX11 -Aa -Ae -D_HPUX_SOURCE > -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite +z -DSHARED_CORE `./apaci` > buildmark.c > ld -b -o libhttpd.sl buildmark.o modules.o > modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a > ap/libap.a regex/libregex.a lib/expat-lite/libexpat.a > *** Error exit code 1 > *** Error exit code 1 > *** Error exit code 1 > > Also the screen output is as follows > ld: Invalid loader fixup in text space needed to output file for symbol > "0000001B" in inputfile "regex/libregex.a(regcomp.o) > > #### > Here is what is showing when I run > # httpd -l > Compiled-in modules: > http_core.c > mod_so.c > suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec > > # > > =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
