Kamaraju Kusumanchi wrote:
On Sunday 24 December 2006 20:45, Paul Scott wrote:
I just installed gfortran on my sid system a few days ago to try to
build a program for a friend which needs recursion.  It uses gsl and
gdcharts.  I can't seem to get gfortran to link to these libraries.

gfortran -o demostemp -lgdc *.o 2>xxxxxx

gives the following error output.

TIA for any help.

Paul Scott


Do you have libgdchart-gd2-xpm, libgdchart-gd2-xpm-dev packages installed?
Thanks.

I had a different set installed. I now have the two you suggested installed and I get:

man1.o: In function `julia_':
man1.f:(.text+0x2b91): multiple definition of `julia_'
julia.o:julia.f:(.text+0x0): first defined here
/usr/bin/ld: Warning: size of symbol `julia_' changed from 964 in julia.o to 1005 in man1.o
man2.o: In function `MAIN__':
man2.f:(.text+0x0): multiple definition of `MAIN__'
demos.o:demos.f:(.text+0x0): first defined here
/usr/bin/ld: Warning: size of symbol `MAIN__' changed from 5239 in demos.o to 617 in man2.o
demos.o: In function `MAIN__':
demos.f:(.text+0x69): undefined reference to `gsinit__'
demos.f:(.text+0x8bf): undefined reference to `erase_'
demos.f:(.text+0x145d): undefined reference to `mapcol_'
demos.f:(.text+0x1467): undefined reference to `gsterm__'
flake.o: In function `flake_':
flake.f:(.text+0x20b0): undefined reference to `erase_'
flake.f:(.text+0x2366): undefined reference to `random_'
flake.f:(.text+0x242e): undefined reference to `random_'
flake.f:(.text+0x256b): undefined reference to `random_'
flake.f:(.text+0x25d4): undefined reference to `random_'
flake.f:(.text+0x2693): undefined reference to `random_'
flake.o:flake.f:(.text+0x2714): more undefined references to `random_' follow
flake.o: In function `flake_':
flake.f:(.text+0x28db): undefined reference to `gdc_color_'
flake.f:(.text+0x2b76): undefined reference to `gdc_movabs_'
(snip)

Paul


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to