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

[netCDF #ZJO-577290]: AIX linking error



> Sorry, it was a permission problem; I fixed it with a chmod.
>
> Now the make test arrive until nf_test; here I got the following error during
compilation:
>
> xlf -DHAVE_CONFIG_H -I. -I.. -I../fortran   -D_LARGE_FILES -DNDEBUG
-Df2cFortran -I../fortran      -I../libsrc -I../fortran  -I../f90 -q64 -O
-qmaxmem=-1 -qarch=auto -c -o test_get.o test_get.F
> xlf: 1501-216 command option -_LARGE_FILES is not recognized - passed to ld
> xlf: 1501-210 command option NDEBUG contains an incorrect subargument
> make[1]: *** [test_get.o] Error 40
>
> So, I deleted the -D_LARGE_FILES and -DNDEBUG flags from CPPFLAGS and it
start to compile. Then I facing with the old problem during the linking:
>

Howdy Markus!

Try it without the -Df2cFortran flag as well. Just leave CPPFLAGS unset.

Make sure you do a make distclean and start from scratch.

This is known to work for both 3.6.2 and 3.6.3.

Thanks,

Ed

Ticket Details
===================
Ticket ID: ZJO-577290
Department: Support netCDF
Priority: Normal
Status: Open