|
出错信息如下。。。
/X11/Xlib.h:51,
from Xlibint.h:43,
from SetFunc.c:29:
/usr/include/sys/cdefs.h:273: warning: `_POSIX_C_SOURCE' is not defined
/usr/include/sys/cdefs.h:279: warning: `_POSIX_C_SOURCE' is not defined
rm -f SetFunc.o
LD_LIBRARY_PATH=/usr/ports/x11/XFree86-4-libraries/work/xc/exports/lib cc -c -O -pipe -ansi -pedantic -Dasm=__asm -Wall -Wpointer-arith -Wundef -I/usr/ports/x11/XFree86-4-libraries/work/xc -I/usr/ports/x11/XFree86-4-libraries/work/xc/exports/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS -D_THREAD_SAFE -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI -DMALLOC_0_RETURNS_NULL -DHAS_SNPRINTF -DLIBX11 -DPOSTLOCALELIBDIR=\"lib\" -fPIC SetFunc.c
In file included from /usr/include/sys/types.h:45,
from /usr/ports/x11/XFree86-4-libraries/work/xc/exports/include/X11/Xlib.h:51,
from Xlibint.h:43,
from SetFunc.c:29:
/usr/include/sys/cdefs.h:273: warning: /X11/Xlib.h:51,
from Xlibint.h:43,
from SetFunc.c:29:
/usr/include/sys/cdefs.h:273: warning: `_POSIX_C_SOURCE' is not defined
/usr/include/sys/cdefs.h:279: warning: `_POSIX_C_SOURCE' is not defined
rm -f SetFunc.o
LD_LIBRARY_PATH=/usr/ports/x11/XFree86-4-libraries/work/xc/exports/lib cc -c -O -pipe -ansi -pedantic -Dasm=__asm -Wall -Wpointer-arith -Wundef -I/usr/ports/x11/XFree86-4-libraries/work/xc -I/usr/ports/x11/XFree86-4-libraries/work/xc/exports/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS -D_THREAD_SAFE -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI -DMALLOC_0_RETURNS_NULL -DHAS_SNPRINTF -DLIBX11 -DPOSTLOCALELIBDIR=\"lib\" -fPIC SetFunc.c
In file included from /usr/include/sys/types.h:45,
from /usr/ports/x11/XFree86-4-libraries/work/xc/exports/include/X11/Xlib.h:51,
from Xlibint.h:43,
from SetFunc.c:29:
/usr/include/sys/cdefs.h:273: warning: `_POSIX_C_SOURCE' is not defined
/usr/include/sys/cdefs.h:279: warning: `_POSIX_C_SOURCE' is not defined
/usr/include/sys/cdefs.h:279: warning: `_POSIX_C_SOURCE' is not defined
高人帮忙看一下。。谢谢 。。。。。。warning: `_POSIX_C_SOURCE' is not defined这是为什么。。。 |
|