I’m trying to compile parflow for a researcher on their Mac workstation with PGI 7.2-5.
I’m getting this when linking, both when using pgcc or ld as the linker:
pgcc -o parflow.so pftappinit.o printdatabox.o readdatabox.o databox.o error.o velocity.o head.o flux.o diff.o stats.o tools_io.o axpy.o getsubbox.o enlargebox.o load.o usergrid.o grid.o region.o file.o pftools.o -ltcl8.4
“_main”, referenced from:
__start in crt1.o
ld: symbol(s) not found for inferred architecture i386
I’m sure the fix for this is simple (I know I’ve fixed similar things on linux before), but I can’t remember what they were and my googling is proving unfruitful.