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

20000821: about "ld fatal " errors in installing netCDF



Zhiqiang,

> To: "unidata" <address@hidden>
> From: "gao" <address@hidden>
> Subject: about "ld fatal " errors in installing netCDF 
> Organization: UCAR/Unidata
> Keywords: 200008201621.e7KGLSN05820

The above message contained the following:

>      I want to install the netCDF  package to my workstation(SunOS
> cleistogens 5.7 Generic_106541-10 sun4u sparc SUNW, Ultra-5_10), I have
> done according to the  INSTALL guiding. I meet this errors in executing
> the "CONFIGURE" command:
> 
> configure:2320: /opt/SUNWspro/bin/cc -o conftest -g -xtarget=3Dnative
> -xarch=3Dv9 conftest.c -lc 1>&5
> Undefined first referenced
> 
> symbol in file
> 
> tanh conftest.o
> 
> ld: fatal: Symbol referencing errors. No output written to conftest
> 
> configure: failed program was:
> 
> #line 2309 "configure"
> 
>     So, next step, I can not create the INCLUDE and LIB files for F90, I
> don't know the causes for these errors.Would you mind  giving me any
> hints and guides, I really appreciate  your helps in addvance .I
> attached the log files of every steps  here.
> 
> Sincerely Yours.
> 
> Zhiqiang Gao
> 
> 08/20/2000
> 
> Zhiqiang Gao, Ph.D
> 
> Natural Resource Ecology Laboratory
> Colorado State Univ
> Ft. Collins, CO 80523-1673, USA
> 
>   voice:(970)491-1796
>   fax:(970)491-1965
>   email: address@hidden
>          address@hidden
...
> Content-Disposition: attachment;
>       filename="make.log"
...
> rules.make:136: warning: overriding commands for target
> `/a/nardus/export/xna02/homes/zhqgao/netcdf/netcp/include'

I've never received the above warning on a SunOS 5.7 system.  Which
"make" utility are you using?

...
> Making `all' in directory
> /a/nardus/export/xna02/homes/zhqgao/netcdf/netcp/src/fortran
> 
> make[2]: Entering directory
> `/a/nardus/export/xna02/homes/zhqgao/netcdf/netcp/src/fortran'
> ../rules.make:136: warning: overriding commands for target
> `/a/nardus/export/xna02/homes/zhqgao/netcdf/netcp/include'
> ../rules.make:124: warning: ignoring old commands for target
> `/a/nardus/export/xna02/homes/zhqgao/netcdf/netcp/include'
> make[2]: *** Warning: File `../libsrc/libnetcdf.a' has modification time
> in the future (966786212 > 966786209)

It looks like your system clock is off.  I suggest that you check with
your system administrator because the "make" utility is very sensitive
to inaccurate sytem clocks.

...
> make[2]: *** Warning:  Clock skew detected.  Your build may be
> incomplete.
...
> Making `all' in directory
> /a/nardus/export/xna02/homes/zhqgao/netcdf/netcp/src/f90
> 
> make[2]: Entering directory
> `/a/nardus/export/xna02/homes/zhqgao/netcdf/netcp/src/f90'
> ../rules.make:136: warning: overriding commands for target
> `/a/nardus/export/xna02/homes/zhqgao/netcdf/netcp/include'
> ../rules.make:124: warning: ignoring old commands for target
> `/a/nardus/export/xna02/homes/zhqgao/netcdf/netcp/include'
> make[2]: *** Warning: File `../libsrc/libnetcdf.a' has modification time
> in the future (966786230 > 966786227)
> f90 -c -g  -w  -xtarget=3Dnative -xarch=3Dv9  typeSizes.f90
> make[2]: *** No rule to make target `aux.m4', needed by
> `netcdf_expanded.f90'.  Stop.

Does the file "f90/aux.m4" exist?  If so, then the "make" utility has a
problem and I suggest that you contact your system administrator.  If
not, then something happened to remove it and I suggest that you start
from scratch with a new release.

Incidentally, you sent me the file "config.log" instead of the file
"configure.log".

Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>