Hi Anton, * Anton Bossenbroek wrote on Fri, Nov 11, 2005 at 05:24:19PM CET: > > I am puzzled my a problem which arises when using the autobuild tools > on Linux. I try to compile a simple program which uses signal.h > (sigemptyset(3), sigaction(2)). On Mac OS X I encounter no > difficulties (autoconf 2.59, automake 1.6.3, Mac OS 10.4.2), but when > I try this on a Linux system (fedora and gentoo, automake 1.6.3, > 1.9.6, 1.9.2, autoconf 2.59) gcc reports errors which are related to > definitions in the signal.h header. When I try to compile by hand, > everything works fine. Could someone help me out on this? If you need > the full source I can send it.
This is likely not an automake issue, but may or may not be one with autoconf. You are probably more likely to receive useful answers if you ask this question on the autoconf list, and also provide the exact error that gcc outputs, plus the config.log parts that correspond to these tests: > My config.in: *snip* > AC_HEADER_STDC > AC_CHECK_HEADERS([ctype.h err.h errno.h string.h sysexits.h sys/ > types.h uninstd.h]) > > # Checks for typedefs, structures, and compiler characteristics. > AC_TYPE_PID_T > AC_TYPE_SIGNAL > > # Checks for library functions. > AC_FUNC_FORK > AC_FUNC_SETVBUF_REVERSED > AC_SYS_RESTARTABLE_SYSCALLS *snip* I'm sorry I can't help you any further. Cheers, Ralf