From: Chris C. <ch...@ch...> - 2003-05-14 03:28:02
|
What version of gcc is typically used to compile and test the latest version? Using gcc 3.2.2 I got the errors included below. The transition from gcc 3.1 to gcc 3.2 caused problems for a lot of apps because of being more strict about language usage, any chance that is what is going on here? This is on a Red Hat 9 system with the Red Hat compiled 2.1.40 -- Chris Caudle ----- compile error log: mex.cc: In function `octave_value_list call_mex(callstyle, const octave_value_list&, int)': mex.cc:504: parse error before `*' token mex.cc:505: parse error before `*' token mex.cc:506: `argin' undeclared (first use this function) mex.cc:506: (Each undeclared identifier is reported only once for each function it appears in.) mex.cc:507: `argout' undeclared (first use this function) make[2]: *** [mex.o] Error 1 make[1]: *** [mex/] Error 2 make: *** [extra/] Error 2 ----- configure log: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:551: checking for gcc configure:664: checking whether the C compiler (gcc ) works configure:680: gcc -o conftest conftest.c 1>&5 configure:706: checking whether the C compiler (gcc ) is a cross-compiler configure:711: checking whether we are using GNU C configure:720: gcc -E conftest.c configure:739: checking whether gcc accepts -g configure:777: checking for mkoctfile configure:915: checking for F77_FUNC configure:923: mkoctfile -c conftest.cc configure:934: checking for octave configure:963: checking whether ln -s works configure:1014: checking for a BSD compatible install configure:1069: checking for ranlib configure:1101: checking for strip configure:1133: checking how to run the C preprocessor configure:1154: i386-redhat-linux-gcc -E conftest.c >/dev/null 2>conftest.out configure:1217: checking for X configure:1531: checking for dnet_ntoa in -ldnet configure:1550: i386-redhat-linux-gcc -o conftest -O2 -march=i386 -mcpu=i686 -g conftest.c -ldnet 1>&5 /usr/bin/ld: cannot find -ldnet collect2: ld returned 1 exit status configure: failed program was: #line 1539 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dnet_ntoa(); int main() { dnet_ntoa() ; return 0; } configure:1572: checking for dnet_ntoa in -ldnet_stub configure:1591: i386-redhat-linux-gcc -o conftest -O2 -march=i386 -mcpu=i686 -g conftest.c -ldnet_stub 1>&5 /usr/bin/ld: cannot find -ldnet_stub collect2: ld returned 1 exit status configure: failed program was: #line 1580 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dnet_ntoa(); int main() { dnet_ntoa() ; return 0; } configure:1620: checking for gethostbyname configure:1648: i386-redhat-linux-gcc -o conftest -O2 -march=i386 -mcpu=i686 -g conftest.c 1>&5 configure:1718: checking for connect configure:1746: i386-redhat-linux-gcc -o conftest -O2 -march=i386 -mcpu=i686 -g conftest.c 1>&5 configure:1810: checking for remove configure:1838: i386-redhat-linux-gcc -o conftest -O2 -march=i386 -mcpu=i686 -g conftest.c 1>&5 configure:1902: checking for shmat configure:1930: i386-redhat-linux-gcc -o conftest -O2 -march=i386 -mcpu=i686 -g conftest.c 1>&5 configure:2003: checking for IceConnectionNumber in -lICE configure:2022: i386-redhat-linux-gcc -o conftest -O2 -march=i386 -mcpu=i686 -g -L/usr/X11R6/lib conftest.c -lICE 1>&5 configure:2394: checking for linux/soundcard.h configure:2404: i386-redhat-linux-gcc -E conftest.c >/dev/null 2>conftest.out configure:2449: checking for qh_qhull in -lqhull configure:2467: i386-redhat-linux-gcc -O2 -march=i386 -mcpu=i686 -g conftest.c -o conftest -lqhull conftest.c:2:25: qhull/qhull.h: No such file or directory configure:2507: checking for jpeglib.h configure:2517: i386-redhat-linux-gcc -E conftest.c >/dev/null 2>conftest.out configure:2513:21: jpeglib.h: No such file or directory configure: failed program was: #line 2512 "configure" #include "confdefs.h" #include <jpeglib.h> configure:2608: checking for socklen_t configure:2622: i386-redhat-linux-gcc -c -O2 -march=i386 -mcpu=i686 -g conftest.c 1>&5 configure:2643: checking for term.h configure:2653: i386-redhat-linux-gcc -E conftest.c >/dev/null 2>conftest.out configure:2649:18: term.h: No such file or directory configure: failed program was: #line 2648 "configure" #include "confdefs.h" #include <term.h> configure:2677: checking for termcap.h configure:2687: i386-redhat-linux-gcc -E conftest.c >/dev/null 2>conftest.out configure:2683:21: termcap.h: No such file or directory configure: failed program was: #line 2682 "configure" #include "confdefs.h" #include <termcap.h> configure:2781: checking for ginac-config |