看板FreeBSD
標 題Re: [請益] 安裝ztelnet的問題??
發信站楓橋驛站 (Thu Aug 20 16:50:42 2009)
轉信站ptt!news.ntu!mars.scc.ntnu!ctu-peer!news.nctu!news.csie.ncyu!news.cs.n
※ 引述《AndyLie (Xiao Jin)》之銘言:
> 欲安裝ztelnet時.....
> ------以下為系統訊息------
> # cd /usr/ports/net/ztelnet
> # make install
> ===> ztelnet-1.0.p3_1 is marked as broken: Does not compile with GCC 4.2.
> *** Error code 1
> Stop in /usr/ports/net/ztelnet.
> # gcc -v
> Using built-in specs.
> Target: i386-undermydesk-freebsd
> Configured with: FreeBSD/i386 system compiler
> Thread model: posix
> gcc version 4.2.1 20070719 [FreeBSD]
> ------結束位置------
> 請教問題是我的gcc嗎?? 謝謝
> os: freebsd 7.2 stable
在 Makefile 有寫啊
if ${OSVERSION} >= 700042
BROKEN= Does not compile with GCC 4.2
endif
由 /usr/ports/Mk/bsd.port.mk 描述,
OSVERSION 定義在 /usr/include/sys/param.h 檔案的
#define __FreeBSD_version .....
--
※ Origin: 楓橋驛站<bbs.cs.nthu.edu.tw>
◆ From: pptpb @ mn6163.wlan.nthu.edu.tw