Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
This is on current master, CentOS 7.
$ sh autogen.sh && ./configure --disable-modules ... $ make ... gcc -DHAVE_CONFIG_H -I. -I../.. -D_GNU_SOURCE -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DLUSTRE_UTILS=1 -include /work/lustre-release/undef.h -include /work/lustre-release/config.h -I/work/lustre-release/libcfs/include -I/work/lustre-release/lnet/include -I/work/lustre-release/lustre/include -fPIC -g -O2 -Wall -Werror -MT libcfsutil_a-parser.o -MD -MP -MF .deps/libcfsutil_a-parser.Tpo -c -o libcfsutil_a-parser.o `test -f 'util/parser.c' || echo './'`util/parser.c In file included from <command-line>:0:0: /usr/include/stdc-predef.h:40:1: fatal error: /work/lustre-release/undef.h: No such file or directory #endif ^ compilation terminated.make[4]: *** [libcfsutil_a-parser.o] Error 1 make[4]: Leaving directory `/work/lustre-release/libcfs/libcfs' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/work/lustre-release/libcfs/libcfs' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/work/lustre-release/libcfs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/work/lustre-release' make: *** [all] Error 2
The workaround is to do make undef.h.