I am attempting to upgrade devel/libpci on a FreeBSD-9.1-RELEASE amd64 system. I receive the following errors in /usr/include/stdlib.h when gmake attempts to compile init.c:
The date on /usr/include/stdlib.h is Dec 4, so it has not been modified since the original installation of FreeBSD.
Anyone have any idea why a header file that has not changed is suddenly generating compile errors?
Code:
root:/usr/ports/devel/libpci# make install clean
===> Building for libpci-3.2.0
gmake -C lib all
gmake[1]: Entering directory `/usr/ports/devel/libpci/work/pciutils-3.2.0/lib'
cc -O2 -pipe -fno-strict-aliasing -fPIC -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -I/usr/src/sys -c -o init.o init.c
In file included from init.c:10:
/usr/include/stdlib.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wchar_t'
/usr/include/stdlib.h:99: error: expected ')' before '*' token
/usr/include/stdlib.h:100: error: expected ')' before '*' token
/usr/include/stdlib.h:114: error: expected declaration specifiers or '...' before 'wchar_t'
/usr/include/stdlib.h:115: error: expected ';', ',' or ')' before '*' token
gmake[1]: *** [init.o] Error 1
gmake[1]: Leaving directory `/usr/ports/devel/libpci/work/pciutils-3.2.0/lib'
The date on /usr/include/stdlib.h is Dec 4, so it has not been modified since the original installation of FreeBSD.
Anyone have any idea why a header file that has not changed is suddenly generating compile errors?