[ale] g77 vs gfortran

Dow_Hurst dhurst at mindspring.com
Thu Feb 23 00:46:13 EST 2006


Geoffrey,
Here is the startup command and the resulting output with the error:

dhurst at boo:/opt/simulaid_20060125> gfortran -v -ffixed-form -o ~/simulaid_20060125_suse10_gfortran_LSB32 ./simulaid_mod.f
Driving: gfortran -v -ffixed-form -o /home/dhurst/simulaid_20060125_suse10_gfortran_LSB32 ./simulaid_mod.f -lgfortranbegin -lgfortran -lm -shared-libgcc
Using built-in specs.
Target: i586-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,f95,java,ada --disable-checking --with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-java-awt=gtk --disable-libjava-multilib --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --without-system-libunwind --host=i586-suse-linux
Thread model: posix
gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)
 /usr/lib/gcc/i586-suse-linux/4.0.2/f951 ./simulaid_mod.f -ffixed-form -quiet -dumpbase simulaid_mod.f -mtune=pentium -auxbase simulaid_mod -version -ffixed-form -o /tmp/ccU1YeL6.s
GNU F95 version 4.0.2 20050901 (prerelease) (SUSE Linux) (i586-suse-linux)
        compiled by GNU C version 4.0.2 20050901 (prerelease) (SUSE Linux).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
 /usr/lib/gcc/i586-suse-linux/4.0.2/../../../../i586-suse-linux/bin/as -V -Qy -o /tmp/ccnmPhGb.o /tmp/ccU1YeL6.s
GNU assembler version 2.16.91.0.2 (i586-suse-linux) using BFD version 2.16.91.0.2 20050720 (SuSE Linux)
 /usr/lib/gcc/i586-suse-linux/4.0.2/collect2 --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o /home/dhurst/simulaid_20060125_suse10_gfortran_LSB32 /usr/lib/gcc/i586-suse-linux/4.0.2/../../../crt1.o /usr/lib/gcc/i586-suse-linux/4.0.2/../../../crti.o /usr/lib/gcc/i586-suse-linux/4.0.2/crtbegin.o -L/usr/lib/gcc/i586-suse-linux/4.0.2 -L/usr/lib/gcc/i586-suse-linux/4.0.2 -L/usr/lib/gcc/i586-suse-linux/4.0.2/../../../../i586-suse-linux/lib -L/usr/lib/gcc/i586-suse-linux/4.0.2/../../.. /tmp/ccnmPhGb.o -lgfortranbegin -lgfortran -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/i586-suse-linux/4.0.2/crtend.o /usr/lib/gcc/i586-suse-linux/4.0.2/../../../crtn.o
/tmp/ccnmPhGb.o: In function `datprt_':
simulaid_mod.f:(.text+0x9a226): undefined reference to `fdate_'
collect2: ld returned 1 exit status

Let me know what you think,
Dow

















-----Original Message-----
>From: Geoffrey <esoteric at 3times25.net>
>Sent: Feb 21, 2006 6:14 AM
>To: Atlanta Linux Enthusiasts <ale at ale.org>
>Subject: Re: [ale] g77 vs gfortran
>
>Dow_Hurst wrote:
>> I've switched to opensuse 10.0 from novell on my laptop and noticed
>> that g77 is now gfortran. A particular fortran program I've used for
>> several years now doesn't compile with gfortran.  Is the solution to
>> download the g77 source and compile it?  I don't think there is a
>> version of g77 precompiled for opensuse 10.0 is there?  I have the
>> support of the programmer who wrote the program so I can give him
>> feedback.  Isn't open source great?!  I just wondered if others have 
>> run into this problem and downloaded an older compiler version to fix
>> it. Thanks, Dow
>
>Hey Dow!
>
>Is it a different compiler all together, or is it simply an update with 
>a new name.  What kind of errors are you getting?  From my (very) old 
>fortran days, I would expect that any reasonable fortran programmer 
>should be able to resolve these issues.
>
>What kind of errors are you getting?
>
>-- 
>Until later, Geoffrey
>
>War never solved anything, well, except slavery, fascism and communism
>_______________________________________________
>Ale mailing list
>Ale at ale.org
>http://www.ale.org/mailman/listinfo/ale


No sig.



More information about the Ale mailing list