make出問題 - BBS

Mary avatar
By Mary
at 2010-04-17T11:32

Table of Contents

不好意思,我的問題現在變成了

gcc295 -DBSD44 -DTWO_LONGJMP_ARGS -O2 -mpentiumpro -pipe -fomit-frame-pointer
-Wunused -I../include -g -c visio.c
In file included from ../include/bbs.h:14,
from visio.c:14:
/usr/include/stdio.h:56: conflicting types for `va_list'
/usr/local/lib/gcc-lib/i386-portbld-freebsd6.0/2.95.3/include/varargs.h:204:
previous declaration of `va_list'
*** Error code 1

Stop in /usr/home/bbs/src/maple.
*** Error code 1

Stop in /usr/home/bbs/src/maple.


我懂她的意思,但是不知道有從何著手,煩請指點,謝謝


※ 引述《shyau (小)》之銘言:
想請問板上各位大大,

(freebsd 6.0 用gcc295)

最後出問題的地方如何解決,煩請指點,謝謝

bbs@bbs[/home/bbs/src/maple]$ make freebsd install
gcc295 -DBSD44 -DTWO_LONGJMP_ARGS -O2 -mpentiumpro -pipe -fomit-frame-pointer
-Wunused -I../include -g -c acct.c
gcc295 -DBSD44 -DTWO_LONGJMP_ARGS -O2 -mpentiumpro -pipe -fomit-frame-pointer
-Wunused -I../include -g -c bbsd.c
gcc295 -DBSD44 -DTWO_LONGJMP_ARGS -O2 -mpentiumpro -pipe -fomit-frame-pointer
-Wunused -I../include -g -c board.c
gcc295 -DBSD44 -DTWO_LONGJMP_ARGS -O2 -mpentiumpro -pipe -fomit-frame-pointer
-Wunused -I../include -g -c cache.c
gcc295 -DBSD44 -DTWO_LONGJMP_ARGS -O2 -mpentiumpro -pipe -fomit-frame-pointer
-Wunused -I../include -g -c edit.c
gcc295 -DBSD44 -DTWO_LONGJMP_ARGS -O2 -mpentiumpro -pipe -fomit-frame-pointer
-Wunused -I../include -g -c favorite.c
gcc295 -DBSD44 -DTWO_LONGJMP_ARGS -O2 -mpentiumpro -pipe -fomit-frame-pointer
-Wunused -I../include -g -c gem.c
gcc295 -DBSD44 -DTWO_LONGJMP_ARGS -O2 -mpentiumpro -pipe -fomit-frame-pointer
-Wunused -I../include -g -c mail.c
gcc295 -DBSD44 -DTWO_LONGJMP_ARGS -O2 -mpentiumpro -pipe -fomit-frame-pointer
-Wunused -I../include -g -c menu.c
gcc295 -DBSD44 -DTWO_LONGJMP_ARGS -O2 -mpentiumpro -pipe -fomit-frame-pointer
-Wunused -I../include -g -c more.c
gcc295 -DBSD44 -DTWO_LONGJMP_ARGS -O2 -mpentiumpro -pipe -fomit-frame-pointer
-Wunused -I../include -g -c post.c
post.c: In function `XoXpost':
post.c:3143: warning: comparison between pointer and integer
post.c:3143: warning: comparison between pointer and integer
gcc295 -DBSD44 -DTWO_LONGJMP_ARGS -O2 -mpentiumpro -pipe -fomit-frame-pointer
-Wunused -I../include -g -c talk.c
gcc295 -DBSD44 -DTWO_LONGJMP_ARGS -O2 -mpentiumpro -pipe -fomit-frame-pointer
-Wunused -I../include -g -c visio.c
In file included from ../include/bbs.h:14,
from visio.c:14:
/usr/include/stdio.h:56: conflicting types for `va_list'
/usr/local/lib/gcc-lib/i386-portbld-freebsd6.0/2.95.3/include/varargs.h:204:
previous declaration of `va_list'
*** Error code 1

Stop in /usr/home/bbs/src/maple.
*** Error code 1

Stop in /usr/home/bbs/src/maple.


--
Tags: BBS

All Comments

Andrew avatar
By Andrew
at 2010-04-20T00:33
post.c的第3143行出錯,所以編譯失敗
Anonymous avatar
By Anonymous
at 2010-04-22T13:34
出錯原因上面有寫,改一下程式碼應該就可以了
Olive avatar
By Olive
at 2010-04-25T02:35
謝謝樓上,我想問一下 就是ansi要怎麼在vi裡編輯,謝謝
Sarah avatar
By Sarah
at 2010-04-27T15:36
沒看到code我不清楚,不過我猜是visio.c重覆include
了stdio.h
Audriana avatar
By Audriana
at 2010-04-30T04:37
因為bbs.h裡已經有include stdio.h,而visio.c又有
include bbs.h
Frederica avatar
By Frederica
at 2010-05-02T17:38
謝謝D大

請教有關FreeBSD中文顯示的問題

Queena avatar
By Queena
at 2010-04-13T15:06
※ 引述《quarry (Man)》之銘言: : 各位前輩 : 我安裝了FreeBSD 5.0 : 安裝好之後 : 開啟有中文的檔案 : 卻看到的是亂碼 : 以下是顯現的問題 : 用more看是這樣 : ----------------- : Test document : andlt;B4andgt;and ...

make出問題

Kama avatar
By Kama
at 2010-04-13T04:56
想請問板上各位大大, (freebsd 6.0 用gcc295) 最後出問題的地方如何解決,煩請指點,謝謝 bbsatbbs[/home/bbs/src/maple]$ make freebsd install gcc295 -DBSD44 -DTWO_LONGJMP_ARGS -O2 -mpentiu ...

請教有關FreeBSD中文顯示的問題

Ethan avatar
By Ethan
at 2010-04-09T11:59
各位前輩 我安裝了FreeBSD 5.0 安裝好之後 開啟有中文的檔案 卻看到的是亂碼 以下是顯現的問題 用more看是這樣 ----------------- Test document andlt;B4andgt;andlt;FAandgt;andlt;B8andgt;andlt;D5andgt;and ...

有人在用OpenBSD/NetBSD的嗎

Olive avatar
By Olive
at 2010-04-04T23:29
bsd的人或許都看過這篇了吧? http://www.linuxfocus.org/English/September2002/article260.shtml 這是中文版 http://www.linuxfocus.org/ChineseGB/September2002/article260.sht ...

【04/06 TOSSUG 心得分享】jserv: LLVM 力--軟體的價值由編譯器決定

Ethan avatar
By Ethan
at 2010-04-01T13:50
[English below] 我真的懶得寫了,講者是 jserv 耶!大家說說看,還需要我介紹嗎?更何況神級的 jserv 早在四個禮拜!四個禮拜前就把簡介大綱寫完了! m(_._)m 大家就不用看我囉嗦,直接看 jserv 寫的簡介吧! 簡介: 當今資訊建設中,無論硬體架構為何,軟體開發可說清一色 ...