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

Re: netCDF General - ld:undefined symbols



"Simon Caine" <address@hidden> writes:

> Institution: Monash Univsersity
> Package Version: netcdf-3.6.0-p1
> Operating System: MAC G4 OSX 10.4
> Hardware Information: Machine Model:  PowerMac6,4
>   CPU Type:   PowerPC G4  (1.2)
>   Number Of CPUs:     1
>   CPU Speed:  1.42 GHz
>   L2 Cache (per CPU): 512 KB
>   Memory:     1 GB
>   Bus Speed:  167 MHz
>   Boot ROM Version:   4.9.2f1
>   Serial Number:      YM52201UT8P
> Inquiry: When compiling NETCDF using the XLF compiler i have the problem of 
> undefined symbols during "make test"
>
> the compiler options i have used are :-
>
> export CFLAGS="-Df2cFortran -fPIC"
> export CPPFLAGS="-DNDEBUG -Df2cFortran -fPIC"
> export FC="xlf"
> export FFLAGS="-O -g"
> export F90="xlf90"
> export F90FLAGS="-O -g -qsuffix=cpp=f90"
>
> An example of the error is:- /usr/bin/ld: Undefined symbols:_ncacpy
>
> However attached is a txt file with the full list of errors
>
> I also have the following warning, however i have gotten rid of this problem 
> before (i belive) but not the undefined symbols problem :-
>
> "ftest.F", 1500-030 (I) INFORMATION: tncacpy: Additional optimization may be 
> attained by recompiling and specifying MAXMEM option with a value greater 
> than 2048.
> "ftest.F", 1500-030 (I) INFORMATION: tncagt: Additional optimization may be 
> attained by recompiling and specifying MAXMEM option with a value greater 
> than 2048.
>
> Any information you could give would be very very much appricated, i have 
> checked on the web and all through the site which list a few fixes, none of 
> which have worked for me.
>
>

Sorry, not enough information.

Can you please send the complete output from the configure and make
test?

Please do a make distclean first.

Thanks!

Ed
-- 
Ed Hartnett  -- address@hidden