Compiling errors
Hello, I have been trying to build libtools, under Ubuntu 7.10, and I have problems during compilation. I tried several versions: 1.5.22, 1.5.24, 2.2.2, 2.2.6 with the same errors always. Here are the messages received while trying to build libtool-2.2.6, but the same errors appear while trying to build other versions I use Note: I use old versions of automake and autoconf because I need to compile something else with these versions, could it be the problem ? I wanted to build libtool version 1.5.22, I tried others only afterwards when the first one didn't succeed. Any help will be appreciated Camilo - libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdl "-DLT_CONFIG_H=" -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl/libltdl -g -O2 -MT libltdl/libltdl_libltdl_la-ltdl.lo -MD -MP -MF libltdl/.deps/libltdl_libltdl_la-ltdl.Tpo -c libltdl/ltdl.c -fPIC -DPIC -o libltdl/.libs/libltdl_libltdl_la-ltdl.o libltdl/ltdl.c:79: error: ‘usr’ undeclared here (not in a function) libltdl/ltdl.c:79: error: ‘local’ undeclared here (not in a function) libltdl/ltdl.c:79: error: ‘lib’ undeclared here (not in a function) libltdl/ltdl.c:79: error: expected ‘,’ or ‘;’ before string constant make[2]: *** [libltdl/libltdl_libltdl_la-ltdl.lo] Error 1 make[2]: Leaving directory `/home/camilo/temp/autoconf_m4/libtool-2.2.6' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/camilo/temp/autoconf_m4/libtool-2.2.6' make: *** [all] Error 2 - Results ./libtool --help host-triplet: i686-pc-linux-gnu shell: /bin/bash compiler: gcc compiler flags: -g -O2 linker: /usr/bin/ld (gnu? yes) libtool: (GNU libtool) 2.2.6 automake: automake (GNU automake) 1.9.6 autoconf: autoconf (GNU Autoconf) 2.60 ___ http://lists.gnu.org/mailman/listinfo/libtool
Re: Compiling errors
I have tried again to install the last versions of everything (m4,autoconf, automake) and then install libtool-2.2.6a. The same errors appear during make Camilo La Rota wrote: Hello, I have been trying to build libtools, under Ubuntu 7.10, and I have problems during compilation. I tried several versions: 1.5.22, 1.5.24, 2.2.2, 2.2.6 with the same errors always. Here are the messages received while trying to build libtool-2.2.6, but the same errors appear while trying to build other versions I use Note: I use old versions of automake and autoconf because I need to compile something else with these versions, could it be the problem ? I wanted to build libtool version 1.5.22, I tried others only afterwards when the first one didn't succeed. Any help will be appreciated Camilo - libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdl "-DLT_CONFIG_H=" -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl/libltdl -g -O2 -MT libltdl/libltdl_libltdl_la-ltdl.lo -MD -MP -MF libltdl/.deps/libltdl_libltdl_la-ltdl.Tpo -c libltdl/ltdl.c -fPIC -DPIC -o libltdl/.libs/libltdl_libltdl_la-ltdl.o libltdl/ltdl.c:79: error: ‘usr’ undeclared here (not in a function) libltdl/ltdl.c:79: error: ‘local’ undeclared here (not in a function) libltdl/ltdl.c:79: error: ‘lib’ undeclared here (not in a function) libltdl/ltdl.c:79: error: expected ‘,’ or ‘;’ before string constant make[2]: *** [libltdl/libltdl_libltdl_la-ltdl.lo] Error 1 make[2]: Leaving directory `/home/camilo/temp/autoconf_m4/libtool-2.2.6' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/camilo/temp/autoconf_m4/libtool-2.2.6' make: *** [all] Error 2 - Results ./libtool --help host-triplet: i686-pc-linux-gnu shell: /bin/bash compiler: gcc compiler flags: -g -O2 linker: /usr/bin/ld (gnu? yes) libtool: (GNU libtool) 2.2.6 automake: automake (GNU automake) 1.9.6 autoconf: autoconf (GNU Autoconf) 2.60 ___ http://lists.gnu.org/mailman/listinfo/libtool ___ http://lists.gnu.org/mailman/listinfo/libtool
Re: Compiling errors
Solution Found at: http://www.mail-archive.com/clamav-us...@lists.clamav.net/msg32558.html Camilo La Rota wrote: I have tried again to install the last versions of everything (m4,autoconf, automake) and then install libtool-2.2.6a. The same errors appear during make Camilo La Rota wrote: Hello, I have been trying to build libtools, under Ubuntu 7.10, and I have problems during compilation. I tried several versions: 1.5.22, 1.5.24, 2.2.2, 2.2.6 with the same errors always. Here are the messages received while trying to build libtool-2.2.6, but the same errors appear while trying to build other versions I use Note: I use old versions of automake and autoconf because I need to compile something else with these versions, could it be the problem ? I wanted to build libtool version 1.5.22, I tried others only afterwards when the first one didn't succeed. Any help will be appreciated Camilo - libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdl "-DLT_CONFIG_H=" -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl/libltdl -g -O2 -MT libltdl/libltdl_libltdl_la-ltdl.lo -MD -MP -MF libltdl/.deps/libltdl_libltdl_la-ltdl.Tpo -c libltdl/ltdl.c -fPIC -DPIC -o libltdl/.libs/libltdl_libltdl_la-ltdl.o libltdl/ltdl.c:79: error: ‘usr’ undeclared here (not in a function) libltdl/ltdl.c:79: error: ‘local’ undeclared here (not in a function) libltdl/ltdl.c:79: error: ‘lib’ undeclared here (not in a function) libltdl/ltdl.c:79: error: expected ‘,’ or ‘;’ before string constant make[2]: *** [libltdl/libltdl_libltdl_la-ltdl.lo] Error 1 make[2]: Leaving directory `/home/camilo/temp/autoconf_m4/libtool-2.2.6' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/camilo/temp/autoconf_m4/libtool-2.2.6' make: *** [all] Error 2 - Results ./libtool --help host-triplet: i686-pc-linux-gnu shell: /bin/bash compiler: gcc compiler flags: -g -O2 linker: /usr/bin/ld (gnu? yes) libtool: (GNU libtool) 2.2.6 automake: automake (GNU automake) 1.9.6 autoconf: autoconf (GNU Autoconf) 2.60 ___ http://lists.gnu.org/mailman/listinfo/libtool ___ http://lists.gnu.org/mailman/listinfo/libtool ___ http://lists.gnu.org/mailman/listinfo/libtool