You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Gerard Gachelin <ge...@univ-reunion.fr> on 2002/03/01 07:52:36 UTC

os-solaris/10000: Can't build httpd with mod_auth_mysql-2.20

>Number:         10000
>Category:       os-solaris
>Synopsis:       Can't build httpd with mod_auth_mysql-2.20
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Feb 28 23:00:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     gerard.gachelin@univ-reunion.fr
>Release:        1.3.23
>Organization:
apache
>Environment:
OS : Solaris 8 (Sparc)
Compiler : gcc 2.95.3
Module : auth_mysql 2.20
MySQL : mysql-3.23.48-sun-solaris2.8-sparc
>Description:
Here is the configure line :
./configure --prefix=/usr/local/apache --enable-module=most --enable-shared=max --activate-module=src/modules/auth_mysql/libauth_mysql.a

No error message during this step.
modules are built, libauth_mysql.a is built but make crashes during the final step (httpd building):

gcc  -I/usr/local/mysql/include  -DSOLARIS2=280 -DMOD_SSL=208106 -DEAPI -DEAPI_MM -DUSE_EXPAT -I./lib/expat-lite `./apaci` -L/usr/local/mm/lib   \
      -o httpd buildmark.o modules.o modules/auth_mysql/libauth_mysql.a modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a  lib/expat-lite/libexpat.a  -L/usr/local/mysql/lib -lmysqlclient   -lsocket -lnsl -lpthread -lmm -ldl
Undefined                       first referenced
 symbol                             in file
floor                               /usr/local/mysql/lib/libmysqlclient.a(password.o)
uncompress                          /usr/local/mysql/lib/libmysqlclient.a(my_compress.o)
compress                            /usr/local/mysql/lib/libmysqlclient.a(my_compress.o)
ld: fatal: Symbol referencing errors. No output written to httpd
collect2: ld returned 1 exit status
gmake[2]: *** [target_static] Error 1
gmake[2]: Leaving directory `/local/src/apache_1.3.23/src'
gmake[1]: *** [build-std] Error 2
gmake[1]: Leaving directory `/local/src/apache_1.3.23'
gmake: *** [build] Error 2

If I remove --activate-module=src/modules/auth_mysql/libauth_mysql.a from the configure line, make is working fine.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> 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!     ]