httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@ibm.net>
Subject Re: 2.0 build problems
Date Mon, 19 Jun 2000 10:48:22 GMT
> Date: Mon, 19 Jun 2000 10:40:32 +0200
> From: Olof Oberg <mill@pedgr571.sn.umu.se>
> 
> Hi, 
> 
> is it supposed to look like this...

Up until the error message it looks o.k...

> Making all in ap
> make[1]: Entering directory `/mnt/cvs/apache-2.0/src/ap'
> make[2]: Entering directory `/mnt/cvs/apache-2.0/src/ap'
> gcc -I. -I/mnt/cvs/apache-2.0/src/ap -I/mnt/cvs/apache-2.0/src/modules/mpm/mpmt
> _pthread -I/mnt/cvs/apache-2.0/src/include -I/mnt/cvs/apache-2.0/src/lib/apr/in
> clude -I/mnt/cvs/apache-2.0/src/os/unix  -D_REENTRANT -g -O2 -pthread  -c 
> ap_cache.c && touch ap_cache.lo
> gcc -I. -I/mnt/cvs/apache-2.0/src/ap -I/mnt/cvs/apache-2.0/src/modules/mpm/mpmt
> _pthread -I/mnt/cvs/apache-2.0/src/include -I/mnt/cvs/apache-2.0/src/lib/apr/in
> clude -I/mnt/cvs/apache-2.0/src/os/unix  -D_REENTRANT -g -O2 -pthread  -c 
> ap_base64.c && touch ap_base64.lo
> gcc -I. -I/mnt/cvs/apache-2.0/src/ap -I/mnt/cvs/apache-2.0/src/modules/mpm/mpmt
> _pthread -I/mnt/cvs/apache-2.0/src/include -I/mnt/cvs/apache-2.0/src/lib/apr/in
> clude -I/mnt/cvs/apache-2.0/src/os/unix  -D_REENTRANT -g -O2 -pthread  -c 
> ap_sha1.c && touch ap_sha1.lo
> gcc -I. -I/mnt/cvs/apache-2.0/src/ap -I/mnt/cvs/apache-2.0/src/modules/mpm/mpmt
> _pthread -I/mnt/cvs/apache-2.0/src/include -I/mnt/cvs/apache-2.0/src/lib/apr/in
> clude -I/mnt/cvs/apache-2.0/src/os/unix  -D_REENTRANT -g -O2 -pthread  -c 
> ap_buf.c && touch ap_buf.lo
> gcc -I. -I/mnt/cvs/apache-2.0/src/ap -I/mnt/cvs/apache-2.0/src/modules/mpm/mpmt
> _pthread -I/mnt/cvs/apache-2.0/src/include -I/mnt/cvs/apache-2.0/src/lib/apr/in
> clude -I/mnt/cvs/apache-2.0/src/os/unix  -D_REENTRANT -g -O2 -pthread  -c 
> ap_hooks.c && touch ap_hooks.lo
> /bin/sh /mnt/cvs/apache-2.0/src/libtool --silent --mode=link gcc 
> -export-dynamic -g -O2 -pthread   -o libap.la  ap_cache.lo ap_base64.lo 
> ap_sha1.lo ap_buf.lo ap_hooks.lo
> 
> all *.lo have obviosly size 0 and libap.la contains therefore nothing 
> of value which results in...

It is o.k. for *.lo to have size zero.  They are created by touch in
the lines you included above.  libtool is supposed to know what to do.

I think the problem is that you're getting libap.al as the name of the
static library inside libap.la somehow.  libap.la should have libap.a
as the name of the static library.

I have no guesses as to how "old_library='libap.al'" was stored in
your libap.la file.

> 
> Making all in support
> make[1]: Entering directory `/mnt/cvs/apache-2.0/src/support'
> make[2]: Entering directory `/mnt/cvs/apache-2.0/src/support'
> /bin/sh /mnt/cvs/apache-2.0/src/libtool --silent --mode=link gcc 
> -export-dynamic -g -O2 -pthread   -o htpasswd htpasswd.lo  ../ap/libap.la 
> ../lib/apr/libapr.a -lnsl -lcrypt -lresolv -lnsl -lnsl -ldl
> ../ap/.libs/libap.al: could not read symbols: Archive has no index; run ranlib 
> to add one
> collect2: ld returned 1 exit status
> make[2]: *** [htpasswd] Error 1
> make[2]: Leaving directory `/mnt/cvs/apache-2.0/src/support'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/mnt/cvs/apache-2.0/src/support'
> make: *** [all-recursive] Error 1
> 
> 
> Something is wrong with the build process, I think.
> 
> The same thing occurs with 2.0a4.
> 
>  /mill
> 
> 
> 
> # libap.la - a libtool library file
> # Generated by ltmain.sh - GNU libtool 1.3.4 (1.385.2.196 1999/12/07 21:47:57)
> #
> # Please DO NOT delete this file!
> # It is necessary for linking the library.
> 
> # The name that we can dlopen(3).
> dlname=''
> 
> # Names of this library.
> library_names=''
> 
> # The name of the static archive.
> old_library='libap.al'
> 
> # Libraries that this one depends upon.
> dependency_libs=''
> 
> # Version information for libap.
> current=
> age=
> revision=
> 
> # Is this an already installed library?
> installed=no
> 
> # Directory that this library needs to be installed in:
> libdir=''
> #############################################################
> # S-mail: Olof Oberg     #  mill@pedgr571.sn.umu.se         #
> #         Pedagoggr. 7A  #  mill@ludd.luth.se               #
> #         S-907 30 Umea  #  tdv94oog@cs.umu.se              #
> # Phone:  090-197395     #  http://pedgr571.sn.umu.se/~mill #
> #############################################################
 -=- MIME -=- 
This is a multipart MIME message.

--==_Exmh_-2495930840
Content-Type: text/plain; charset=us-ascii

Hi, 

is it supposed to look like this...

Making all in ap
make[1]: Entering directory `/mnt/cvs/apache-2.0/src/ap'
make[2]: Entering directory `/mnt/cvs/apache-2.0/src/ap'
gcc -I. -I/mnt/cvs/apache-2.0/src/ap -I/mnt/cvs/apache-2.0/src/modules/mpm/mpmt
_pthread -I/mnt/cvs/apache-2.0/src/include -I/mnt/cvs/apache-2.0/src/lib/apr/in
clude -I/mnt/cvs/apache-2.0/src/os/unix  -D_REENTRANT -g -O2 -pthread  -c 
ap_cache.c && touch ap_cache.lo
gcc -I. -I/mnt/cvs/apache-2.0/src/ap -I/mnt/cvs/apache-2.0/src/modules/mpm/mpmt
_pthread -I/mnt/cvs/apache-2.0/src/include -I/mnt/cvs/apache-2.0/src/lib/apr/in
clude -I/mnt/cvs/apache-2.0/src/os/unix  -D_REENTRANT -g -O2 -pthread  -c 
ap_base64.c && touch ap_base64.lo
gcc -I. -I/mnt/cvs/apache-2.0/src/ap -I/mnt/cvs/apache-2.0/src/modules/mpm/mpmt
_pthread -I/mnt/cvs/apache-2.0/src/include -I/mnt/cvs/apache-2.0/src/lib/apr/in
clude -I/mnt/cvs/apache-2.0/src/os/unix  -D_REENTRANT -g -O2 -pthread  -c 
ap_sha1.c && touch ap_sha1.lo
gcc -I. -I/mnt/cvs/apache-2.0/src/ap -I/mnt/cvs/apache-2.0/src/modules/mpm/mpmt
_pthread -I/mnt/cvs/apache-2.0/src/include -I/mnt/cvs/apache-2.0/src/lib/apr/in
clude -I/mnt/cvs/apache-2.0/src/os/unix  -D_REENTRANT -g -O2 -pthread  -c 
ap_buf.c && touch ap_buf.lo
gcc -I. -I/mnt/cvs/apache-2.0/src/ap -I/mnt/cvs/apache-2.0/src/modules/mpm/mpmt
_pthread -I/mnt/cvs/apache-2.0/src/include -I/mnt/cvs/apache-2.0/src/lib/apr/in
clude -I/mnt/cvs/apache-2.0/src/os/unix  -D_REENTRANT -g -O2 -pthread  -c 
ap_hooks.c && touch ap_hooks.lo
/bin/sh /mnt/cvs/apache-2.0/src/libtool --silent --mode=link gcc 
-export-dynamic -g -O2 -pthread   -o libap.la  ap_cache.lo ap_base64.lo 
ap_sha1.lo ap_buf.lo ap_hooks.lo

all *.lo have obviosly size 0 and libap.la contains therefore nothing 
of value which results in...

Making all in support
make[1]: Entering directory `/mnt/cvs/apache-2.0/src/support'
make[2]: Entering directory `/mnt/cvs/apache-2.0/src/support'
/bin/sh /mnt/cvs/apache-2.0/src/libtool --silent --mode=link gcc 
-export-dynamic -g -O2 -pthread   -o htpasswd htpasswd.lo  ../ap/libap.la 
../lib/apr/libapr.a -lnsl -lcrypt -lresolv -lnsl -lnsl -ldl
../ap/.libs/libap.al: could not read symbols: Archive has no index; run ranlib 
to add one
collect2: ld returned 1 exit status
make[2]: *** [htpasswd] Error 1
make[2]: Leaving directory `/mnt/cvs/apache-2.0/src/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/cvs/apache-2.0/src/support'
make: *** [all-recursive] Error 1


Something is wrong with the build process, I think.

The same thing occurs with 2.0a4.

 /mill




--==_Exmh_-2495930840
Content-Type: text/plain ; name="libap.la"; charset=us-ascii
Content-Description: libap.la
Content-Disposition: attachment; filename="libap.la"

# libap.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.3.4 (1.385.2.196 1999/12/07 21:47:57)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname=''

# Names of this library.
library_names=''

# The name of the static archive.
old_library='libap.al'

# Libraries that this one depends upon.
dependency_libs=''

# Version information for libap.
current=
age=
revision=

# Is this an already installed library?
installed=no

# Directory that this library needs to be installed in:
libdir=''

--==_Exmh_-2495930840
Content-Type: text/plain; charset=us-ascii

#############################################################
# S-mail: Olof Oberg     #  mill@pedgr571.sn.umu.se         #
#         Pedagoggr. 7A  #  mill@ludd.luth.se               #
#         S-907 30 Umea  #  tdv94oog@cs.umu.se              #
# Phone:  090-197395     #  http://pedgr571.sn.umu.se/~mill #
#############################################################

--==_Exmh_-2495930840--





-- 
Jeff Trawick | trawick@ibm.net | PGP public key at web site:
     http://www.geocities.com/SiliconValley/Park/9289/
          Born in Roswell... married an alien...

Mime
View raw message