[Gdal-dev] HDF config question...
Andrey Kiselev
dron at ak4719.spb.edu
Wed May 19 03:41:29 EDT 2004
On Tue, May 18, 2004 at 08:35:03AM -0700, Chris G. Nicholas wrote:
> OK - more clues from the "blah..blah..." section; and indeed
> interesting.
>
> The last part of config.log shows it trying to compile a simple
> program using the "SDreaddata" routine, but can't, which is really
> wierd....
>
> extern char SDreaddata ();
> main ()
> {
> SDreaddata ();
> ;
> return 0;
> }
>
> [user1 at gateway2earth /tmp]% gcc -L/usr/local/lib -lmfhdf c.c
> /tmp/cccvk9yh.o(.text+0x11): In function `main':
> : undefined reference to `SDreaddata'
> collect2: ld returned 1 exit status
Well, I don't have any clue what is wrong with your environment. The
only thing I can recommend is to invoke gcc with the '-v -Xlinker "-t"'
options to get more verbosive output.
Andrey
--
Andrey V. Kiselev
Home phone: +7 812 5274898 ICQ# 26871517
More information about the Gdal-dev
mailing list