libtool
[Top][All Lists]
Advanced

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

.la file questions


From: François Jan
Subject: .la file questions
Date: 14 Jul 2002 13:28:17 +0200

Hi everybody,

I have problems understanding how libtool works : I first ask a few
question and at the end of the mail, there is why I ran into thoses
questions.

I read a bit of the libtool documentation. I tried to find answers with
google. Here I am :
        
- I use Red Hat 7.3 and Ximian Gnome.
- why do some packages have .la files and some don't ?
- can I make .la file manually ?
- is there a way to automatically build .la file from libraries and no
source ?
- when a program is built with libtool, does it need to find .la file
for every library it needs to link to ?

I don't belong to the libtool mailing-list so cc to me, please.

Thanks in advance.
 
François Jan

I am trying to compile gnucash out of cvs and I ran into that problem :

make[4]: Entre dans le répertoire `/zoe/gnucash/src/network-utils'
/bin/sh ../../libtool --mode=link gcc -I../../src/gnc-module
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H
-I/usr/lib/gnome-libs/include -I/usr/include/orbit-1.0 -I/usr/include -g
-O2 -Wall -Wno-unused -Wno-uninitialized -Wmissing-prototypes
-Wmissing-declarations -Werror-implicit-function-declaration -Wall
-Wunused   -o libgncmod-network-utils.la -rpath /usr/local/lib/gnucash
-module gnc-gpg.lo gnc-http.lo gncmod-network-utils.lo
../../src/gnc-module/libgncmodule.la -L/usr/lib -lghttp -rdynamic
-L/usr/lib -L/usr/X11R6/lib -lgnome -lgnomesupport -lesd -laudiofile -lm
-ldb1 -lglib -rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk
-lgdk -lgmodule -ldl -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd
-laudiofile -lm -ldb1 -lglib -lpopt -lm  -lm
libtool: link: warning: `/usr/lib/libesd.la' seems to be moved
grep: /usr/lib/libaudiofile.la: No such file or directory
sed: can't read /usr/lib/libaudiofile.la: No such file or directory
libtool: link: `/usr/lib/libaudiofile.la' is not a valid libtool archive
make[4]: *** [libgncmod-network-utils.la] Erreur 1
make[4]: Quitte le répertoire `/zoe/gnucash/src/network-utils'
make[3]: *** [all-recursive] Erreur 1
make[3]: Quitte le répertoire `/zoe/gnucash/src/network-utils'
make[2]: *** [all-recursive] Erreur 1
make[2]: Quitte le répertoire `/zoe/gnucash/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Quitte le répertoire `/zoe/gnucash'
make: *** [all-recursive-am] Erreur 2

I then looked into a .la file and tried to manually build my own for
libaudiofile. Then the compilation ended up with that message :

make[4]: Entre dans le répertoire `/zoe/gnucash/src/network-utils'
/bin/sh ../../libtool --mode=link gcc -I../../src/gnc-module
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H
-I/usr/lib/gnome-libs/include -I/usr/include/orbit-1.0 -I/usr/include -g
-O2 -Wall -Wno-unused -Wno-uninitialized -Wmissing-prototypes
-Wmissing-declarations -Werror-implicit-function-declaration -Wall
-Wunused   -o libgncmod-network-utils.la -rpath /usr/local/lib/gnucash
-module gnc-gpg.lo gnc-http.lo gncmod-network-utils.lo
../../src/gnc-module/libgncmodule.la -L/usr/lib -lghttp -rdynamic
-L/usr/lib -L/usr/X11R6/lib -lgnome -lgnomesupport -lesd -laudiofile -lm
-ldb1 -lglib -rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk
-lgdk -lgmodule -ldl -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd
-laudiofile -lm -ldb1 -lglib -lpopt -lm  -lm
libtool: link: warning: `/usr/lib/libesd.la' seems to be moved
libtool: link: warning: `/usr/lib/libesd.la' seems to be moved
libtool: link: `/usr/lib/libaudiofile.la' is not a valid libtool archive
make[4]: *** [libgncmod-network-utils.la] Erreur 1
make[4]: Quitte le répertoire `/zoe/gnucash/src/network-utils'
make[3]: *** [all-recursive] Erreur 1
make[3]: Quitte le répertoire `/zoe/gnucash/src/network-utils'
make[2]: *** [all-recursive] Erreur 1
make[2]: Quitte le répertoire `/zoe/gnucash/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Quitte le répertoire `/zoe/gnucash'
make: *** [all-recursive-am] Erreur 2


 


-- 
François Jan <address@hidden>




reply via email to

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