[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problemas con fort77 y libf2c.a



Hola, que tal amigos listeros...
En estos momentos tengo un pequeño problema compilando un programita en fortran, con la librería Libf2c.a de gcc,estoy trabajando con linux Red Hat 7.0 y al compilar me sale el siguiente mensaje:

make facet

fort77 -C -g  -c -o initl.o initl.f
initl.f:
initl:
fort77 -C -g  -c -o init_w.o init_w.f
init_w.f:
init_w:
fort77 -C -g  -c -o solar.o solar.f
solar.f:
solar:
fort77 -C -g  -c -o weathr.o weathr.f
weathr.f:
weathr:
fort77 -C -g  -c -o solwat.o solwat.f
solwat.f:
solwat:
fort77 -C -g  -c -o books.o books.f
books.f:
books:
fort77 -C -g  -c -o grow.o grow.f
grow.f:
grow:
fort77 -C -g  -c -o regen.o regen.f
regen.f:
regen:
fort77 -C -g  -c -o mortal.o mortal.f
mortal.f:
mortal:
fort77 -C -g  -c -o print.o print.f
print.f:
print:
fort77 -C -g  -c -o punch.o punch.f
punch.f:
punch:
fort77 -C -g  -c -o grid.o grid.f
grid.f:
grid:
fort77 -C -g  -c -o dla.o dla.f
dla.f:
dla:
fort77 -C -g  -c -o wood.o wood.f
wood.f:
wood:
fort77 -C -g  -c -o height.o height.f
height.f:
height:
fort77 -C -g  -c -o aleaf.o aleaf.f
aleaf.f:
aleaf:
fort77 -C -g  -c -o dinco.o dinco.f
dinco.f:
dinco:
fort77 -C -g  -c -o alf.o alf.f
alf.f:
alf:
fort77 -C -g  -c -o drtf.o drtf.f
drtf.f:
drtf:
fort77 -C -g  -c -o fertf.o fertf.f
fertf.f:
fertf:
fort77 -C -g  -c -o degdf.o degdf.f
degdf.f:
degdf:
fort77 -C -g  -c -o amort.o amort.f
amort.f:
amort:
fort77 -C -g  -c -o smort.o smort.f
smort.f:
smort:
fort77 -C -g  -c -o ran1.o ran1.f
ran1.f:
ran1:
fort77 -C -g  -c -o ran2.o ran2.f
ran2.f:
ran2:
fort77 -C -g  -c -o ran3.o ran3.f
ran3.f:
ran3:
fort77 -C -g  -c -o gauss1.o gauss1.f
gauss1.f:
gauss1:
fort77 -C -g  -c -o gauss2.o gauss2.f
gauss2.f:
gauss2:
fort77 -C -g  -c -o gamma.o gamma.f
gamma.f:
gamma:
fort77 -C -g  -c -o srof.o srof.f
srof.f:
srof:
fort77 -C -g  -c -o tline.o tline.f
tline.f:
tline:
fort77 -C -g  -c -o ntype.o ntype.f
ntype.f:
ftype:
fort77 -C -g  -c -o dpatch.o dpatch.f
dpatch.f:
dump_patch:
rand:
fort77 -C -g -static -o facet f2.o initl.o init_w.o solar.o weathr.o solwat.o books.o grow.o regen.o mortal.o print.o punch.o grid.o dla.o wood.o height.o aleaf.o dinco.o alf.o drtf.o fertf.o degdf.o amort.o smort.o ran1.o ran2.o ran3.o gauss1.o gauss2.o gamma.o srof.o tline.o ntype.o dpatch.o /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libf2c.a(endfile.o): In function `t_runc': endfile.o(.text+0xef): the use of `tmpnam' is dangerous, better use `mkstemp' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libf2c.a(s_paus.o): In function `s_paus':
s_paus.o(.text+0xb): undefined reference to `_IO_stderr_'
s_paus.o(.text+0x26): undefined reference to `_IO_stderr_'
s_paus.o(.text+0x38): undefined reference to `_IO_stderr_'
s_paus.o(.text+0x42): undefined reference to `_IO_stdin_'
s_paus.o(.text+0x5e): undefined reference to `_IO_stderr_'
s_paus.o(.text+0x68): undefined reference to `_IO_stderr_'
s_paus.o(.text+0x72): undefined reference to `_IO_stdin_'
s_paus.o(.text+0x84): undefined reference to `_IO_stdin_'
s_paus.o(.text+0x96): undefined reference to `_IO_stdin_'
s_paus.o(.text+0xad): undefined reference to `_IO_stderr_'
s_paus.o(.text+0xce): undefined reference to `_IO_stderr_'
s_paus.o(.text+0xe4): undefined reference to `_IO_stderr_'
s_paus.o(.text+0xfb): undefined reference to `_IO_stderr_'
s_paus.o(.text+0x105): undefined reference to `_IO_stderr_'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libf2c.a(s_rnge.o)(.text+0x14): more undefined references to `_IO_stderr_' follow /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libf2c.a(err.o): In function `f_init':
err.o(.text+0x2d4): undefined reference to `_IO_stdin_'
err.o(.text+0x2dc): undefined reference to `_IO_stdin_'
err.o(.text+0x314): undefined reference to `_IO_stdout_'
err.o(.text+0x319): undefined reference to `_IO_stdout_'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libf2c.a(fmt.o): In function `ne_d':
fmt.o(.text+0x3d): undefined reference to `_IO_stderr_'
fmt.o(.text+0x87): undefined reference to `_IO_stderr_'
fmt.o(.text+0xe2): undefined reference to `_IO_stderr_'
fmt.o(.text+0x12b): undefined reference to `_IO_stderr_'
fmt.o(.text+0x19f): undefined reference to `_IO_stderr_'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libf2c.a(fmt.o)(.text+0x1e7): more undefined references to `_IO_stderr_' follow /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libf2c.a(sfe.o): In function `e_rsfe':
sfe.o(.text+0xda): undefined reference to `_IO_stdout_'
sfe.o(.text+0xe1): undefined reference to `_IO_stderr_'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libf2c.a(sfe.o): In function `e_wsfe':
sfe.o(.text+0x10e): undefined reference to `_IO_stdout_'
sfe.o(.text+0x115): undefined reference to `_IO_stderr_'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libf2c.a(wsle.o): In function `e_wsle':
wsle.o(.text+0x1a): undefined reference to `_IO_stdout_'
wsle.o(.text+0x21): undefined reference to `_IO_stderr_'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libf2c.a(rdfmt.o): In function `rd_ed':
rdfmt.o(.text+0x65d): undefined reference to `_IO_stderr_'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libf2c.a(rdfmt.o): In function `rd_ned':
rdfmt.o(.text+0xa67): undefined reference to `_IO_stderr_'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libf2c.a(wrtfmt.o): In function `w_ed':
wrtfmt.o(.text+0x5a8): undefined reference to `_IO_stderr_'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libf2c.a(wrtfmt.o): In function `w_ned':
wrtfmt.o(.text+0x9e7): undefined reference to `_IO_stderr_'
collect2: ld returned 1 exit status No se sí me pueden ayudar de como podría solucionar el problema que tengo y de antemano gracias por escucharme y atenderme.


    Saludos...

         Erasmo





Reply to: