libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Libtool Error


From: Boehne, Robert
Subject: RE: Libtool Error
Date: Sat, 14 Sep 2002 16:40:01 -0400

Manoj,

This is probably because you are using a "make" that
doesn't understand Automake's Makefiles.  Try it using
GNU make, I bet that will work just fine.

Robert

-----Original Message-----
From: Manoj Kithany [mailto:address@hidden]
Sent: Saturday, September 14, 2002 1:52 PM
To: address@hidden
Subject: Libtool Error


Hi Experts,

To build mod_jk.so on IBM AIX 5.1 System with Apache 1.3.26 and Tomcat
4.0.4, I get following error.

I first executed "./buildconf.sh" with NO errors with output as:
-----------------------------------------------------------------
#./buildconf.sh
libtoolize --force --automake --copy
aclocal
automake -a --foreign -i --copy
autoconf
-----------------------------------------------------------------

I then executed configure with options and again NO Errors:
-----------------------------------------------------------------
# ./configure --with-apxs=/usr/local/apache1326/bin/apxs --enable-EAPI
checking for a BSD compatible install... scripts/build/unix/install-sh -c
checking whether build environment is sane... yes
checking for mawk... mawk
checking whether make sets ${MAKE}... yes
checking build system type... powerpc-ibm-aix5.1.0.0
checking host system type... powerpc-ibm-aix5.1.0.0
checking for style of include used by make... GNU
checking for gcc... /usr/bin/gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc accepts -g... yes
checking dependency style of /usr/bin/gcc... none
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... /usr/bin/gcc -E
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for /usr/bin/gcc option to produce PIC... none
checking if /usr/bin/gcc static flag -static -Wl,-lC works... no
checking if /usr/bin/gcc supports -c -o file.o... yes
checking if /usr/bin/gcc supports -c -o file.lo... yes
checking if /usr/bin/gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... aix5.1.0.0 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... no
creating libtool
checking for gcc... (cached) /usr/bin/gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/bin/gcc accepts -g... (cached) yes
checking dependency style of /usr/bin/gcc... (cached) none
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) no
checking for test... /usr/bin/test
checking for rm... /usr/bin/rm
checking for grep... /usr/bin/grep
checking for echo... /usr/bin/echo
checking for sed... /usr/bin/sed
checking for cp... /usr/bin/cp
checking for mkdir... /usr/bin/mkdir
need to check for Perl first, apxs depends on it...
checking for perl... /usr/bin/perl
building connector for "apache-1.3"
checking for target platform... unix
no apache given
...Enabling EAPI Support...
configure: creating ./config.status
config.status: creating Makefile
config.status: creating apache-1.3/Makefile
config.status: creating apache-1.3/Makefile.apxs
config.status: creating apache-2.0/Makefile
config.status: creating apache-2.0/Makefile.apxs
config.status: creating common/Makefile
-----------------------------------------------------------------------------------

I then executed "make" with LIBTOOL ERROR as seen below at end.
-----------------------------------------------------------------------------------
# make
Making all in common
Target "all" is up to date.
Making all in apache-1.3
        /bin/sh ../libtool --mode=link /usr/bin/gcc
-I/usr/local/apache1326/include -I../common -g -O2 -DEAPI    -o libjk.la
-rpath /li
bexec  mod_jk.lo ../common/jk_ajp12_worker.lo ../common/jk_connect.lo 
../common/jk_msg_buff.lo ../common/jk_util.lo  ../common/jk_ajp1
3.lo ../common/jk_pool.lo  ../common/jk_worker.lo
../common/jk_ajp13_worker.lo  ../common/jk_lb_worker.lo
../common/jk_sockbuf.lo  ../c
ommon/jk_map.lo ../common/jk_uri_worker_map.lo  ../common/jk_ajp14.lo
../common/jk_ajp14_worker.lo  ../common/jk_md5.lo   ../common/jk_
ajp_common.lo ../common/jk_context.lo
rm -fr .libs/libjk.la .libs/libjk.* .libs/libjk.*
generating symbol list for `libjk.la'
/usr/bin/nm -B  mod_jk.o ../common/jk_ajp12_worker.o ../common/jk_connect.o
../common/jk_msg_buff.o ../common/jk_util.o ../common/jk_aj
p13.o ../common/jk_pool.o ../common/jk_worker.o ../common/jk_ajp13_worker.o
../common/jk_lb_worker.o ../common/jk_sockbuf.o ../common/j
k_map.o ../common/jk_uri_worker_map.o ../common/jk_ajp14.o
../common/jk_ajp14_worker.o ../common/jk_md5.o ../common/jk_ajp_common.o ../
common/jk_context.o   | sed -n -e 's/^.*[  ]\([BCDT][BCDT]*\)[     ][     
]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' | sed 's/.*
//' | sort | uniq > .libs/libjk.exp
/usr/bin/gcc -shared -o .libs/libjk.so.0  mod_jk.o
../common/jk_ajp12_worker.o ../common/jk_connect.o ../common/jk_msg_buff.o
../common
/jk_util.o ../common/jk_ajp13.o ../common/jk_pool.o ../common/jk_worker.o
../common/jk_ajp13_worker.o ../common/jk_lb_worker.o ../commo
n/jk_sockbuf.o ../common/jk_map.o ../common/jk_uri_worker_map.o
../common/jk_ajp14.o ../common/jk_ajp14_worker.o ../common/jk_md5.o ../
common/jk_ajp_common.o ../common/jk_context.o   -lc  ${wl}-berok
-Wl,-bnoentry -Wl,-bexport:.libs/libjk.exp
ar -crlo .libs/libjk.a .libs/libjk.so.0
ar cru .libs/libjk.a  mod_jk.o ../common/jk_ajp12_worker.o
../common/jk_connect.o ../common/jk_msg_buff.o ../common/jk_util.o ../common
/jk_ajp13.o ../common/jk_pool.o ../common/jk_worker.o
../common/jk_ajp13_worker.o ../common/jk_lb_worker.o ../common/jk_sockbuf.o
../co
mmon/jk_map.o ../common/jk_uri_worker_map.o ../common/jk_ajp14.o
../common/jk_ajp14_worker.o ../common/jk_md5.o ../common/jk_ajp_common
.o ../common/jk_context.o
ranlib .libs/libjk.a
creating libjk.la
(cd .libs && rm -f libjk.la && ln -s ../libjk.la libjk.la)
        /bin/sh ../libtool --mode=install cp  `pwd`/mod_jk.so
libtool: install: you must specify a destination
Try `libtool --help --mode=install' for more information.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.
#
-----------------------------------------------------------------------------------

Do you experts know how to tackel this error. Would appreciate if you could
share that with me.

THANKS!

Manoj G. Kithany




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com



_______________________________________________
Libtool mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/libtool


reply via email to

[Prev in Thread] Current Thread [Next in Thread]