httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Parramore" <parramo...@homes.com>
Subject RE: [users@httpd] 2.0.45 make fails on exports.c
Date Wed, 14 May 2003 13:18:53 GMT

This is a known bug when building Apache --- search the Apache bugs database for
the redefinition of function complaints.  One cause is due to running the make
in a directory which is symlinked to another directory, i.e., your sources are
in /usr/sources/apache_2.0.45, you've a symlink to that directory, and you used
the sumlink to cd to that direct before running configure and make.  Apaprently,
prototypes in exports will get written twice --- you'll need to cd to the
directory using the "real" path or remove the redundant prototypes by hand.

Regards,
Joel



> -----Original Message-----
> From: marcel.kuiper@nl.abnamro.com [mailto:marcel.kuiper@nl.abnamro.com]
> Sent: Wednesday, May 14, 2003 8:04 AM
> To: users@httpd.apache.org
> Subject: [users@httpd] 2.0.45 make fails on exports.c
>
>
> Hi
>
> I'm trying to build apache 2.0.45 on Solaris 2.7 with gcc 3.2.3 (tried
> 2.95.3 as well) and getting an error with make. These are the steps:
>
> - cd /usr/local/builds/httpd-2.0.45
> - ./configure --prefix=/usr/local/apache2
> - make
>
> <make output snippet>
> /bin/ksh /opt/local/builds/httpd-2.0.45/srclib/apr/libtool --silent
> --mode=compi
> le gcc  -g -O2 -pthreads    -DSOLARIS2=7 -D_POSIX_PTHREAD_SEMANTICS
> -D_REENTRANT
>  -DAP_HAVE_DESIGNATED_INITIALIZER
> -I/opt/local/builds/httpd-2.0.45/srclib/apr/
> include -I/usr/local/builds/httpd-2.0.45/srclib/apr/include
> -I/opt/local/builds/
> httpd-2.0.45/srclib/apr-util/include
> -I/usr/local/builds/httpd-2.0.45/srclib/apr
> -util/include
> -I/usr/local/builds/httpd-2.0.45/srclib/apr-util/xml/expat/lib -I.
>  -I/usr/local/builds/httpd-2.0.45/os/unix
> -I/usr/local/builds/httpd-2.0.45/serve
> r/mpm/prefork -I/usr/local/builds/httpd-2.0.45/modules/http
> -I/usr/local/builds/
> httpd-2.0.45/modules/filters
> -I/usr/local/builds/httpd-2.0.45/modules/proxy -I/u
> sr/local/builds/httpd-2.0.45/include
> -I/usr/local/builds/httpd-2.0.45/modules/da
> v/main -prefer-non-pic -static -c
> /usr/local/builds/httpd-2.0.45/server/exports.
> c && touch /usr/local/builds/httpd-2.0.45/server/exports.lo
>
> /usr/local/builds/httpd-2.0.45/server/exports.c:1549: redefinition of
> `ap_hack_a
> pr_base64_encode_len'
> /usr/local/builds/httpd-2.0.45/server/exports.c:175:
> `ap_hack_apr_base64_encode_
> len' previously defined here
> </make output snippet>
>
> There's a lot more complaints about the redefinition of functions
> after the first complaint
>
> Any help would be appreciated
>
> THNX
>
> Marcel
>
> ---------------------------------------------------------------------------
> This message (including any attachments) is confidential and may be
> privileged. If you have received it by mistake please notify the
> sender by return
> e-mail and delete this message from your system. Any unauthorised use
> or dissemination of this message in whole or in part is strictly prohibited.
> Please note that e-mails are susceptible to change.
> ABN AMRO Bank N.V. (including its group companies) shall not be
> liable for the improper or incomplete transmission of the information
> contained in
> this communication nor for any delay in its receipt or damage to your
> system. ABN AMRO Bank N.V. (or its group companies) does not
> guarantee that the
> integrity of this communication has been maintained nor that this
> communication is free of viruses, interceptions or interference.
> ---------------------------------------------------------------------------
>
>
>
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message