LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 616|回复: 5

安装xfree86-4时出错

[复制链接]
发表于 2005-6-14 09:46:22 | 显示全部楼层 |阅读模式
rm -f xconsole
cc -o xconsole -O -pipe -ansi -pedantic  -Dasm=__asm -Wall -Wpointer-arith -Wundef     -L/usr/ports/x11/XFree86-4-clients/work/xc/exports/lib   xconsole.o -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -L/usr/X11R6/lib     -Wl,-rpath,/usr/X11R6/lib -Wl,-rpath-link,/usr/ports/x11/XFree86-4-clients/work/xc/exports/lib
xconsole.o: file not recognized: File truncated
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-clients/work/xc/programs/xconsole.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-clients/work/xc/programs.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-clients.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4.

这是什么出错呀。。
 楼主| 发表于 2005-6-16 11:26:50 | 显示全部楼层
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 /usr/ports/x11/XFree86-4-libraries/work/xc/exports/include/X11/Intrinsic.h:56,
                 from IntrinsicP.h:54,
                 from IntrinsicI.h:55,
                 from Object.c:64:
/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 Object.o
LD_LIBRARY_PATH=/usr/ports/x11/XFree86-4-libraries/work/xc/exports/lib cc -c -O -pipe  -ansi  -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     -DUSE_POLL -DUSE_SNPRINTF -DLIBXT        -fPIC Object.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 /usr/ports/x11/XFree86-4-libraries/work/xc/exports/include/X11/Intrinsic.h:56,
                 from IntrinsicP.h:54,
                 from IntrinsicI.h:55,
                 from Object.c:64:
/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 PassivGrab.o unshared/PassivGrab.o
LD_LIBRARY_PATH=/usr/ports/x11/XFree86-4-libraries/work/xc/exports/lib cc -c -ansi  -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     -DUSE_POLL -DUSE_SNPRINTF -DLIBXT     -O -pipe   PassivGrab.c -o unshared/PassivGrab.o
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 /usr/ports/x11/XFree86-4-libraries/work/xc/exports/include/X11/Intrinsic.h:56,
                 from IntrinsicP.h:54,
                 from IntrinsicI.h:55,
                 from PassivGrab.c:64:
/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 PassivGrab.o
LD_LIBRARY_PATH=/usr/ports/x11/XFree86-4-libraries/work/xc/exports/lib cc -c -O -pipe  -ansi  -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     -DUSE_POLL -DUSE_SNPRINTF -DLIBXT        -fPIC PassivGrab.c

这个是什么错误呀。。。。高人帮忙看看。。。谢谢。。。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-6-16 11:27:43 | 显示全部楼层
是不是什么头文件错误呀。。。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-6-16 11:30:38 | 显示全部楼层
是不是/usr/include/sys/cdefs.h文件有问题。。。。高人帮忙看看。。我freebsd版本是4.11的。。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-6-16 12:32:12 | 显示全部楼层
有人知道吗?不知道也吭一声呀。。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-6-17 07:21:20 | 显示全部楼层
终于可以了。。。可要make world 就行了。。。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表