Re: [Threads-list] Trouble compiling
Brought to you by:
hanseno
From: Martin M. <mam...@st...> - 2003-02-27 15:26:50
|
> The problem is that threads uses an outdated version of the m4 files, for > compiling. I'm aware of this, and have changed this in the CVS repository > which should compile now under newer versions of automake. Thanks for your answer. I updated threads via CVS, but it seems the version I got still depends on and old version of automake, and I have automake 1.7.2 installed on my system. It complains on the config.in file. What to do now? Below is the output from my compile attempt. / Martin Magnusson ================================================================= /home/martin/threads> aclocal /home/martin/threads> autogen.sh WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' WARNING: and `config.h.top', to define templates for `config.h.in' WARNING: is deprecated and discouraged. WARNING: Using the third argument of `AC_DEFINE' and WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without WARNING: `acconfig.h': WARNING: AC_DEFINE([NEED_MAIN], 1, WARNING: [Define if a function `main' is needed.]) WARNING: More sophisticated templates can also be produced, see the WARNING: documentation. configure.in:51: version mismatch. This is Automake 1.7.2, configure.in:51: but the definition used by this AM_INIT_AUTOMAKE configure.in:51: comes from Automake 1.6.3. You should recreate configure.in:51: aclocal.m4 with aclocal and run automake again. examples/Makefile.am: required file `./depcomp' not found /usr/autotool/devel/share/automake-1.7/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL threads/Makefile.am: object `cloning.lo' created both with libtool and without threads/Makefile.am: object `thread.lo' created both with libtool and without threads/Makefile.am: object `mutex.lo' created both with libtool and without threads/Makefile.am: object `cond.lo' created both with libtool and without threads/Makefile.am: object `semaphore.lo' created both with libtool and without threads/Makefile.am: object `attributes.lo' created both with libtool and without threads/Makefile.am: object `spinlock.lo' created both with libtool and without threads/Makefile.am: object `thread_lists.lo' created both with libtool and without threads/Makefile.am: object `wait_queue.lo' created both with libtool and without threads/Makefile.am: object `shared.lo' created both with libtool and without threads/Makefile.am: object `io.lo' created both with libtool and without threads/Makefile.am: object `exception.lo' created both with libtool and without threads/Makefile.am: object `socket.lo' created both with libtool and without threads/Makefile.am: object `buffer.lo' created both with libtool and without threads/Makefile.am: object `stack.lo' created both with libtool and without threads/Makefile.am: object `sock_buffer.lo' created both with libtool and without threads/Makefile.am: object `async_io.lo' created both with libtool and without threads/Makefile.am: object `descriptors.lo' created both with libtool and without threads/Makefile.am: object `systemlib.lo' created both with libtool and without threads/Makefile.am: object `linked_list.lo' created both with libtool and without /usr/autotool/devel/share/automake-1.7/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL /usr/autotool/devel/share/automake-1.7/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL /home/martin/threads> configure checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking target system type... i686-pc-cygwin checking for gcc... gcc checking for C compiler default output... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking dependency style of g++... none checking for ld used by GCC... /usr/i686-pc-cygwin/bin/ld.exe checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes checking for /usr/i686-pc-cygwin/bin/ld.exe 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... file_magic file format pei*-i3 6(.*architecture: i386)? checking command to parse /usr/bin/nm -B output... ok checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... no checking for stdint.h... no checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -DDLL_EXPORT checking if gcc PIC flag -DDLL_EXPORT works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared li raries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... Win32 ld.exe checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no creating libtool configure: creating ./config.status config.status: creating Makefile config.status: creating threads/Makefile config.status: creating doc/Makefile config.status: creating man/Makefile config.status: creating examples/Makefile config.status: creating config.h config.status: executing depfiles commands /home/martin/threads> make cd . && /bin/bash /home/martin/threads/missing --run autoheader WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' WARNING: and `config.h.top', to define templates for `config.h.in' WARNING: is deprecated and discouraged. WARNING: Using the third argument of `AC_DEFINE' and WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without WARNING: `acconfig.h': WARNING: AC_DEFINE([NEED_MAIN], 1, WARNING: [Define if a function `main' is needed.]) WARNING: More sophisticated templates can also be produced, see the WARNING: documentation. touch ./config.h.in cd . && /bin/bash ./config.status config.h config.status: creating config.h config.status: config.h is unchanged make all-recursive make[1]: Entering directory `/home/martin/threads' Making all in threads make[2]: Entering directory `/home/martin/threads/threads' Makefile:346: *** missing separator. Stop. make[2]: Leaving directory `/home/martin/threads/threads' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/martin/threads' make: *** [all] Error 2 /home/martin/threads> |