[MonetDB-users] configure warning
Hello,
During 'configure' of the MonetDB4 module (Stable branch, MonetDB_4-20), I got the warning:
configure: WARNING: fcntl.h: present but cannot be compiled configure: WARNING: fcntl.h: check for missing prerequisite headers? configure: WARNING: fcntl.h: see the Autoconf documentation configure: WARNING: fcntl.h: section "Present But Cannot Be Compiled" configure: WARNING: fcntl.h: proceeding with the preprocessor's result configure: WARNING: fcntl.h: in the future, the compiler will take precedence
The same warning was given about several other header files, e.g. limits.h, pwd.h, time.h, sys/time.h, utime.h, ...
The compilation was finished without further problems, but I would like to know why I got these warnings, since this is something new.
Thanks!
Jennie
The problem is that (only in MonetDB4/configure.ag) some header files are checked with the CFLAGS extended by our own (more strict) X_CFLAGS. Since the latter have been extended for "-fundef", compilation complains about (see config.log):
conftest.c:105:5: error: "STDC_HEADERS" is not defined
I'll check why MonetDB4 extends the CFLAGS with X_CFLAGS for some header files, while the other configure.ag's don't ...
Stefan
On Tue, Oct 09, 2007 at 03:36:25PM +0200, Ying Zhang wrote:
Hello,
During 'configure' of the MonetDB4 module (Stable branch, MonetDB_4-20), I got the warning:
configure: WARNING: fcntl.h: present but cannot be compiled configure: WARNING: fcntl.h: check for missing prerequisite headers? configure: WARNING: fcntl.h: see the Autoconf documentation configure: WARNING: fcntl.h: section "Present But Cannot Be Compiled" configure: WARNING: fcntl.h: proceeding with the preprocessor's result configure: WARNING: fcntl.h: in the future, the compiler will take precedence
The same warning was given about several other header files, e.g. limits.h, pwd.h, time.h, sys/time.h, utime.h, ...
The compilation was finished without further problems, but I would like to know why I got these warnings, since this is something new.
Thanks!
Jennie
participants (2)
-
Stefan Manegold
-
Ying Zhang