From: Rick K. <rk...@nc...> - 2008-11-26 23:36:50
|
Thomas, Your suspicion is probably correct. This particular issue was not caught because we did not have the g77 compiler installed on the Ubuntu machine that is most similar to yours. I am guessing there is probably some language dialect option that will cause the compiler to recognize that construct, but do not know what it is offhand. We will look into it. Any suggestions from list subscribers who may have a more recent Fortran compiler (GNU 4.2.x ideal) on their system are welcome! Thanks again for reporting these problems - will update as more is known. Rick ------------------------------------------------------------------------ Subject: Re: Compilation Error on perfsuite-0.6.2b2 From: "Thomas Tanaka" <tho...@gm...> Date: Wed, 26 Nov 2008 09:48:33 -0800 To: per...@li... I suspect it doesn't like integer*8 start declaration on line 57 on perfsuite-0.6.2b2/src/libperfsuite/tests/psf_rtc-test.f Thanks, Thomas On Wed, Nov 26, 2008 at 9:40 AM, Thomas Tanaka <tho...@gm...> wrote: > > Hello again, > > > > I have tried to make the new perfsuite-0.6.2b2 and the following is the error: > > > > f77 -I../../../src/libperfsuite -g -O2 -o psf_error-test > > psf_error-test.o > > -L/home/tanaka/Desktop/ALL/perfsuite-0.6.2b2/src/libperfsuite > > -lperfsuite > > /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libf2c.so: undefined > > reference to `MAIN__' > > collect2: ld returned 1 exit status > > f77 -I../../../src/libperfsuite -g -O2 -c -o psf_rtc-test.o psf_rtc-test.f > > MAIN rtctest: > > Warning on line 104: local variable sleepsecs never used > > dowork: > > psf_rtc-test.f: In function 'MAIN__': > > psf_rtc-test.f:74: error: expected '=', ',', ';', 'asm' or > > '__attribute__' before 'stop' > > psf_rtc-test.f:74: error: 'stop' undeclared (first use in this function) > > psf_rtc-test.f:74: error: (Each undeclared identifier is reported only once > > psf_rtc-test.f:74: error: for each function it appears in.) > > psf_rtc-test.f:76: error: expected '=', ',', ';', 'asm' or > > '__attribute__' before 'start' > > psf_rtc-test.f:76: error: 'start' undeclared (first use in this function) > > psf_rtc-test.f:80: error: expected '=', ',', ';', 'asm' or > > '__attribute__' before 'elapsed' > > psf_rtc-test.f:80: error: 'elapsed' undeclared (first use in this function) > > psf_rtc-test.f:82: error: expected ')' before '*' token > > /usr/bin/f77: aborting compilation > > make[4]: *** [psf_rtc-test.o] Error 25 > > make[3]: *** [all-recursive] Error 1 > > make[2]: *** [all-recursive] Error 1 > > make[1]: *** [all-recursive] Error 1 > > make: *** [all] Error 2 > > > > My platform is Linux 2.6.27-rc5-mm1 on ubuntu 8.04 > > > > Any direction is much appreciated. Thanks in advance. > > > > Regards, > > > > Thomas > > > |