[問題] 麻煩幫我看一下這個make過程錯在哪

看板LinuxDev作者 (澎湖.仙人掌.234)時間18年前 (2007/03/22 06:45), 編輯推噓2(201)
留言3則, 2人參與, 最新討論串1/2 (看更多)
= ="弄了一個半夜,從半夜十二點弄到現在= =" 實在是找不出錯在哪了 麻煩大家幫我看一下,不然真不曉得錯在哪 我要安裝的是insight-6.4.tar.bz2 我的系統是Debian 底下是我configure的訊息 This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:600: checking host system type configure:621: checking target system type configure:639: checking build system type configure:694: checking for a BSD compatible install configure:747: checking whether ln works configure:771: checking whether ln -s works configure:1825: checking for gcc configure:1938: checking whether the C compiler (gcc ) works configure:1954: gcc -o conftest conftest.c 1>&5 configure:1980: checking whether the C compiler (gcc ) is a cross-compiler configure:1985: checking whether we are using GNU C configure:2013: checking whether gcc accepts -g configure:2080: checking for gnatbind configure:2145: checking whether compiler driver understands Ada configure:2177: checking how to compare bootstrapped objects configure:2275: checking for correct version of gmp.h configure:2288: gcc -c -g -O2 conftest.c 1>&5 configure:2301: checking for MPFR configure:2314: gcc -o conftest -g -O2 conftest.c -lmpfr -lgmp 1>&5 configure:2829: checking for bison 底下是我make的訊息 ------------------------------------------------------------------------------- /root/insight-6.4/tk/generic/tk3d.c:1307: error: syntax error before ')' token /root/insight-6.4/tk/generic/tk3d.c:1308: error: syntax error before ')' token /root/insight-6.4/tk/generic/tk3d.c: In function `TkDebugBorder': /root/insight-6.4/tk/generic/tk3d.c:1388: error: `borderPtr' undeclared (first use in this function) /root/insight-6.4/tk/generic/tk3d.c:1391: error: invalid operands to binary * /root/insight-6.4/tk/generic/tk3d.c:1391: error: syntax error before ')' token /root/insight-6.4/tk/generic/tk3d.c:1394: error: request for member `borderTable' in something not a structure or union /root/insight-6.4/tk/generic/tk3d.c:1394: error: request for member `borderTable' in something not a structure or union /root/insight-6.4/tk/generic/tk3d.c:1396: error: syntax error before ')' token /root/insight-6.4/tk/generic/tk3d.c: At top level: /root/insight-6.4/tk/generic/tk3d.c:1134: error: storage size of `shiftTable' isn't known /root/insight-6.4/tk/generic/tk3d.c:31: warning: `BorderInit' declared `static' but never defined /root/insight-6.4/tk/generic/tk3d.c:35: warning: `Intersect' declared `static' but never defined /root/insight-6.4/tk/generic/tk3d.c:38: warning: `ShiftLine' declared `static' but never defined make[3]: *** [tk3d.o] Error 1 make[3]: Leaving directory `/root/build_gdb/tk/unix' make[2]: *** [all] Error 2 make[2]: Leaving directory `/root/build_gdb/tk' make[1]: *** [all-tk] Error 2 make[1]: Leaving directory `/root/build_gdb' make: *** [all] Error 2 --------------------------------------------------------------------------- -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 210.64.213.95

03/22 08:21, , 1F
資訊不夠充足..無法正確判斷..如果你的 gcc版本在 4.1
03/22 08:21, 1F

03/22 08:21, , 2F
以上,也許只是 syntax 錯誤,手動改一改就好
03/22 08:21, 2F

03/22 13:08, , 3F
如果是要幫忙改Makefile, 把檔案波出來會比較好呦
03/22 13:08, 3F
文章代碼(AID): #160RLt-4 (LinuxDev)
文章代碼(AID): #160RLt-4 (LinuxDev)