Received: (qmail 98661 invoked by uid 501); 15 Jun 2000 15:53:14 -0000 Message-Id: <20000615155314.98660.qmail@locus.apache.org> Date: 15 Jun 2000 15:53:14 -0000 From: Joel Jacobson Reply-To: root@mobigym.se To: submit@bugz.apache.org Subject: Can't compile with --enable-so X-Send-Pr-Version: 3.110 >Number: 6195 >Category: mod_so >Synopsis: Can't compile with --enable-so >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Jun 15 09:00:02 PDT 2000 >Closed-Date: Fri Feb 23 08:44:38 PST 2001 >Last-Modified: Fri Feb 23 08:44:38 PST 2001 >Originator: root@mobigym.se >Release: 2.0a4 >Organization: >Environment: Linux localhost.localdomain 2.3.99-pre9 #1 Sat May 20 13:36:25 CEST 2000 i686 unknown gcc version 2.95.2 19991024 (release) >Description: I did, cd src ./buildconf ./configure --prefix=/usr/apache --enable-so --with-mpm=mpmt_pthread make ... and then got this error: make[1]: Entering directory `/usr/src/apache_2.0a4/src' gcc -I. -I/usr/src/apache_2.0a4/src/ -I/usr/src/apache_2.0a4/src/modules/mpm/mpmt_pthread -I/usr/src/apache_2.0a4/src/include -I/usr/src/apache_2.0a4/src/lib/apr/include -I/usr/src/apache_2.0a4/src/os/unix -D_REENTRANT -g -O2 -pthread -c modules.c && touch modules.lo gcc -I. -I/usr/src/apache_2.0a4/src/ -I/usr/src/apache_2.0a4/src/modules/mpm/mpmt_pthread -I/usr/src/apache_2.0a4/src/include -I/usr/src/apache_2.0a4/src/lib/apr/include -I/usr/src/apache_2.0a4/src/os/unix -D_REENTRANT -g -O2 -pthread -c buildmark.c && touch buildmark.lo /bin/sh /usr/src/apache_2.0a4/src/libtool --silent --mode=link gcc -g -O2 -pthread -o httpd modules.lo buildmark.lo modules/standard/libapachemod_env.la modules/standard/libapachemod_log_config.la modules/standard/libapachemod_mime.la modules/standard/libapachemod_negotiation.la modules/standard/libapachemod_include.la modules/standard/libapachemod_autoindex.la modules/standard/libapachemod_dir.la modules/standard/libapachemod_cgi.la modules/standard/libapachemod_asis.la modules/standard/libapachemod_imap.la modules/standard/libapachemod_actions.la modules/standard/libapachemod_userdir.la modules/standard/libapachemod_alias.la modules/standard/libapachemod_access.la modules/standard/libapachemod_auth.la modules/standard/libapachemod_setenvif.la modules/standard/libapachemod_echo.la modules/standard/libapachemod_so.la modules/mpm/mpmt_pthread/libmpmt_pthread.la main/libmain.la os/unix/libos.la ap/libap.la lib/apr/libapr.a lib/pcre/libpcreposix.a lib/pcre/libpcre.a -lnsl -lcrypt -lresolv -lnsl -lnsl modules/standard/.libs/libapachemod_so.a(mod_so.o): In function `so_sconf_create': /usr/src/apache_2.0a4/src/modules/standard/mod_so.c:162: undefined reference to `ap_dso_init' modules/standard/.libs/libapachemod_so.a(mod_so.o): In function `unload_module': /usr/src/apache_2.0a4/src/modules/standard/mod_so.c:188: undefined reference to `ap_dso_unload' modules/standard/.libs/libapachemod_so.a(mod_so.o): In function `unload_file': /usr/src/apache_2.0a4/src/modules/standard/mod_so.c:211: undefined reference to `ap_dso_unload' modules/standard/.libs/libapachemod_so.a(mod_so.o): In function `load_module': /usr/src/apache_2.0a4/src/modules/standard/mod_so.c:258: undefined reference to `ap_dso_load' /usr/src/apache_2.0a4/src/modules/standard/mod_so.c:261: undefined reference to `ap_dso_error' /usr/src/apache_2.0a4/src/modules/standard/mod_so.c:274: undefined reference to `ap_dso_sym' modules/standard/.libs/libapachemod_so.a(mod_so.o): In function `load_file': /usr/src/apache_2.0a4/src/modules/standard/mod_so.c:329: undefined reference to `ap_dso_load' collect2: ld returned 1 exit status make[1]: *** [httpd] Error 1 make[1]: Leaving directory `/usr/src/apache_2.0a4/src' make: *** [all-recursive] Error 1 >How-To-Repeat: cd src ./buildconf ./configure --prefix=/usr/apache --enable-so --with-mpm=mpmt_pthread make >Fix: No. >Release-Note: >Audit-Trail: State-Changed-From-To: open-feedback State-Changed-By: rbbloom@us.ibm.com State-Changed-When: Thu Jun 15 09:09:20 PDT 2000 State-Changed-Why: It looks like APR isn't being configured for DSO support. Please check the apr.h file in src/lib/apr/include for APR_HAS_DSO. If this is 0 that explains the errors you are seeing (We'll still need to figure out why that happened, but that's next.) If this is 1, we'll have to figure out why it didn't build correctly. Thank you for the feedback. State-Changed-From-To: feedback-closed State-Changed-By: rbb@covalent.net State-Changed-When: Fri Feb 23 08:44:38 PST 2001 State-Changed-Why: [This is a standard response.] No response from submitter, assuming issue has been resolved. >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]