The following build error was encountered: $ make make all-recursive make[1]: Entering directory `/home/jtilton/Downloads/pixman-0.19.4' Making all in pixman make[2]: Entering directory `/home/jtilton/Downloads/pixman-0.19.4/pixman' make all-am make[3]: Entering directory `/home/jtilton/Downloads/pixman-0.19.4/pixman' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/jtilton/Downloads/pixman-0.19.4/pixman' make[2]: Leaving directory `/home/jtilton/Downloads/pixman-0.19.4/pixman' Making all in test make[2]: Entering directory `/home/jtilton/Downloads/pixman-0.19.4/test' CC utils.o In file included from utils.c:1:0: utils.h:12:0: warning: ignoring #pragma omp threadprivate utils.c: In function 'fence_malloc': utils.c:226:5: warning: implicit declaration of function 'getpagesize' utils.c:238:5: warning: implicit declaration of function 'mmap' utils.c:238:33: error: 'PROT_READ' undeclared (first use in this function) utils.c:238:33: note: each undeclared identifier is reported only once for each function it appears in utils.c:238:45: error: 'PROT_WRITE' undeclared (first use in this function) utils.c:238:57: error: 'MAP_PRIVATE' undeclared (first use in this function) utils.c:238:71: error: 'MAP_ANONYMOUS' undeclared (first use in this function) utils.c:241:25: error: 'MAP_FAILED' undeclared (first use in this function) utils.c:247:33: warning: cast from pointer to integer of different size utils.c:247:20: warning: cast to pointer from integer of different size utils.c:257:5: warning: implicit declaration of function 'mprotect' utils.c:258:5: error: 'PROT_NONE' undeclared (first use in this function) utils.c: In function 'fence_free': utils.c:288:8: error: 'PROT_READ' undeclared (first use in this function) utils.c:288:20: error: 'PROT_WRITE' undeclared (first use in this function) utils.c:293:5: warning: implicit declaration of function 'munmap' utils.c: In function 'fuzzer_test_main': utils.c:407:0: warning: ignoring #pragma omp parallel utils.c: At top level: utils.c:457:1: warning: 'on_alarm' defined but not used make[2]: *** [utils.o] Error 1 make[2]: Leaving directory `/home/jtilton/Downloads/pixman-0.19.4/test' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/jtilton/Downloads/pixman-0.19.4' make: *** [all] Error 2
I am not able to find where PROT_READ, PROT_WRITE, PROT_NONE, MAP_PRIVATE, MAP_ANONYMOUS, and MAP_FAILED are defined. The compiler: $ gcc -v Using built-in specs. COLLECT_GCC=c:\MinGW64\bin\gcc.exe COLLECT_LTO_WRAPPER=c:/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/4.5.0/lto-wrapper.exe Target: x86_64-w64-mingw32 Configured with: ../gcc-4.5.0/configure --prefix=/crossdev/w64-native --build=x86_64-w64-mingw32 \ --enable-targets=all --enable-languages=c,c++,fortran,objc,obj-c++ --disable-werror --disable-nls \ --disable-win32-registry --enable-libgomp --enable-version-specific-runtime-libs --enable-fully-dynamic-string \ --enable-libstdcxx-debug --with-pkgversion=tdm64-1 --with-bugurl=http://tdm-gcc.tdragon.net/bugs Thread model: win32 gcc version 4.5.0 (tdm64-1) Thanks for any help you can provide. J. C. Tilton ________________________________ Dr. James C. Tilton Voice: 301-286-9510 NASA Goddard Space Flight Center FAX: 301-286-1776 Mail Code 606.3 E-Mail: [email protected]<mailto:[email protected]> (Computational & Information Sciences and Technology Office) Greenbelt, MD 20771 URLs: http://ipp.gsfc.nasa.gov/ft_tech_rhseg.shtm and http://cisto.gsfc.nasa.gov/TILTON/
_______________________________________________ Pixman mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/pixman
