This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Link time problems ....


Sir/Ma'am:

	I am using G77 0.5.24 under Caldera Open Linux 2.2 to try to port some
code from SGI to Linux. I enclose a Listing of Output from the MAKE
process w/ error messages about can't find various G77_... routines,
which I think should be in system libraries somewhere. What do I do to
get these libraries & install them ? The last time I looked at
ftp.GNU.org, they only went up to V0.5.23 on G77 .... Thanks in advance
for your time.
make[1]: Entering directory `/home/wam/Dian3D/src'
Library up to date.
make[1]: Leaving directory `/home/wam/Dian3D/src'
make[1]: Entering directory `/home/wam/Dian3D/src'
Library up to date.
make[1]: Leaving directory `/home/wam/Dian3D/src'
ar xv /home/wam/Dian3D/lib/libO1.a main.o
x - main.o
f77 -o /usr/local/bin/Dian3D main.o SprayIO.o /home/wam/Dian3D/lib/libO1.a /home/wam/Dian3D/lib/libO2.a /home/wam/Dian3D/lib/libO1.a /home/wam/Dian3D/lib/libO2.a /home/wam/Dian3D/lib/libO1.a /home/wam/Dian3D/lib/libO2.a && \rm main.o
main.o: In function `timer_':
main.o(.text+0x244b): undefined reference to `G77_etime_0'
SprayIO.o: In function `open_drops_log_':
SprayIO.o(.text+0x34): undefined reference to `__assert'
SprayIO.o: In function `init_drops_log_':
SprayIO.o(.text+0x81): undefined reference to `__assert'
SprayIO.o: In function `logdropsbanner_':
SprayIO.o(.text+0xed): undefined reference to `__assert'
SprayIO.o: In function `logdropstats_':
SprayIO.o(.text+0x16d): undefined reference to `__assert'
SprayIO.o: In function `echodropdtchg_':
SprayIO.o(.text+0x2d5): undefined reference to `__assert'
/home/wam/Dian3D/lib/libO1.a(outp.o): In function `__g77_masterfun_output':
outp.o(.text+0x278): undefined reference to `G77_etime_0'
/home/wam/Dian3D/lib/libO1.a(chek.o): In function `quit_':
chek.o(.text+0x3e1): undefined reference to `G77_exit_0'
chek.o(.text+0x3fa): undefined reference to `G77_exit_0'
/home/wam/Dian3D/lib/libO1.a(chek.o): In function `zflush_':
chek.o(.text+0x537): undefined reference to `G77_flush1_0'
/home/wam/Dian3D/lib/libO1.a(file.o): In function `wrtape_':
file.o(.text+0xd1a): undefined reference to `G77_vxtidate_0'
file.o(.text+0xd23): undefined reference to `G77_itime_0'
/home/wam/Dian3D/lib/libO1.a(df09.o): In function `wrdf09_':
df09.o(.text+0x1447): undefined reference to `G77_vxtidate_0'
df09.o(.text+0x1453): undefined reference to `G77_itime_0'
/home/wam/Dian3D/lib/libO1.a(wphi.o): In function `wrphi_':
wphi.o(.text+0x1ab9): undefined reference to `G77_vxtidate_0'
wphi.o(.text+0x1ac5): undefined reference to `G77_itime_0'
/home/wam/Dian3D/lib/libO1.a(spay.o): In function `sprays_':
spay.o(.text+0x72): undefined reference to `init_drops_log__'
/home/wam/Dian3D/lib/libO1.a(solv.o): In function `solve_':
solv.o(.text+0xb38): undefined reference to `pscgsb1_'
make: *** [/usr/local/bin/Dian3D] Error 1
Command exited with non-zero status 2
0.25user 0.05system 0:00.33elapsed 88%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (10413major+3166minor)pagefaults 0swaps

Output of 'g77 --verbose' follows :


g77 version egcs-2.91.60 19981201 (egcs-1.1.1 release) (from FSF-g77 version 0.5.24-19980804)
Driving: g77 -v -c -xf77-version /dev/null -xnone
Reading specs from /usr/lib/gcc-lib/i386-linux/egcs-2.91.60/specs
gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)
 /usr/lib/gcc-lib/i386-linux/egcs-2.91.60/cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=91 -D__ELF__ -D__unix__ -D__i386__ -D__i386__ -D__linux__ -D__unix -D__i386 -D__linux -Asystem(posix) -D_LANGUAGE_FORTRAN -traditional -Asystem(unix) -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ /dev/null /dev/null
GNU CPP version egcs-2.91.60 19981201 (egcs-1.1.1 release) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/lib/gcc-lib/i386-linux/egcs-2.91.60/include
 /usr/include
End of search list.
 /usr/lib/gcc-lib/i386-linux/egcs-2.91.60/f771 -fnull-version -quiet -dumpbase g77-version.f -version -fversion -o /tmp/ccwOOWnb.s /dev/null
GNU F77 version egcs-2.91.60 19981201 (egcs-1.1.1 release) (i386-linux) compiled by GNU C version egcs-2.91.60 19981201 (egcs-1.1.1 release).
GNU Fortran Front End version 0.5.24-19980804
 /usr/i386-linux/bin/as -V -Qy -o /tmp/ccumMBzb.o /tmp/ccwOOWnb.s
GNU assembler version 2.9.1 (i386-linux), using BFD version 2.9.1.0.21
 /usr/i386-linux/bin/ld -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o /tmp/ccwIclKe /tmp/ccumMBzb.o /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/gcc-lib/i386-linux/egcs-2.91.60/crtbegin.o -L/usr/lib/gcc-lib/i386-linux/egcs-2.91.60 -L/usr/i386-linux/lib -lg2c -lm -lgcc -lc -lgcc /usr/lib/gcc-lib/i386-linux/egcs-2.91.60/crtend.o /usr/lib/crtn.o
/tmp/ccumMBzb.o: In function `MAIN__':
/tmp/ccumMBzb.o(.text+0x4): undefined reference to `g77__fvers__'
/tmp/ccumMBzb.o(.text+0x9): undefined reference to `g77__ivers__'
/tmp/ccumMBzb.o(.text+0xe): undefined reference to `g77__uvers__'

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]