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

20031210: netCDF "make" errors



Cameron,

>Date: Tue, 09 Dec 2003 14:08:28 -0700
>From: Cameron Harr <address@hidden>
>Organization: ?
>To: Steve Emmerson <address@hidden>
>Subject: Re: 20031203: netCDF "make" errors

The above message contained the following:

> When I do a make install, it errs out saying that it can't emulate 
> elf_x86_64 mode. Attached is the log file.
> 
> -- 
> Cameron Harr
> Systems Engineer
> Linux Networx Inc
> http://www.lnxi.com
> 
> --------------010307000608080907020603
> Content-Type: text/plain;
>  name="install.log"
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline;
>  filename="install.log"
> 
> make[1]: Entering directory `/home/charr/kma/netcdf-3.5.0/src'
> 
> Making `install' in directory /home/charr/kma/netcdf-3.5.0/src/libsrc
> 
> make[2]: Entering directory `/home/charr/kma/netcdf-3.5.0/src/libsrc'
> ar cru libnetcdf.a attr.o dim.o error.o libvers.o nc.o ncio.o ncx.o putget.o 
> string.o v1hpg.o v2i.o var.o
> ranlib libnetcdf.a
> cp libnetcdf.a /home/charr/kma/netcdf-3.5.0/lib/libnetcdf.a
> make[2]: Leaving directory `/home/charr/kma/netcdf-3.5.0/src/libsrc'
> 
> Returning to directory /home/charr/kma/netcdf-3.5.0/src
> 
> make[1]: Leaving directory `/home/charr/kma/netcdf-3.5.0/src'
> make[1]: Entering directory `/home/charr/kma/netcdf-3.5.0/src'
> 
> Making `install' in directory /home/charr/kma/netcdf-3.5.0/src/fortran
> 
> make[2]: Entering directory `/home/charr/kma/netcdf-3.5.0/src/fortran'
> make[2]: *** Warning: File `/home/charr/kma/netcdf-3.5.0/man/man3f' has 
> modification time in the future (2003-12-09 14:06:39 > 2003-12-09 14:06:09)
> rm -f /home/charr/kma/netcdf-3.5.0/man/man3f/netcdf.3f
> ln -s /home/charr/kma/netcdf-3.5.0/man/man3/netcdf.3f 
> /home/charr/kma/netcdf-3.5.0/man/man3f/netcdf.3f
> make[2]: warning:  Clock skew detected.  Your build may be incomplete.

"Clock skew", eh?  This might cause problems.

> make[2]: Leaving directory `/home/charr/kma/netcdf-3.5.0/src/fortran'
> 
> Returning to directory /home/charr/kma/netcdf-3.5.0/src
> 
> make[1]: Leaving directory `/home/charr/kma/netcdf-3.5.0/src'
> make[1]: Entering directory `/home/charr/kma/netcdf-3.5.0/src'
> 
> Making `install' in directory /home/charr/kma/netcdf-3.5.0/src/f90
> 
> make[2]: Entering directory `/home/charr/kma/netcdf-3.5.0/src/f90'
> make[2]: *** Warning: File `/home/charr/kma/netcdf-3.5.0/man/man3f90' has 
> modification time in the future (2003-12-09 14:06:39 > 2003-12-09 14:06:09)

This is not good.

> rm -f /home/charr/kma/netcdf-3.5.0/man/man3f90/netcdf.3f90
> ln -s /home/charr/kma/netcdf-3.5.0/man/man3/netcdf.3f90 
> /home/charr/kma/netcdf-3.5.0/man/man3f90/netcdf.3f90
> make[2]: warning:  Clock skew detected.  Your build may be incomplete.
> make[2]: Leaving directory `/home/charr/kma/netcdf-3.5.0/src/f90'
> 
> Returning to directory /home/charr/kma/netcdf-3.5.0/src
> 
> make[1]: Leaving directory `/home/charr/kma/netcdf-3.5.0/src'
> make[1]: Entering directory `/home/charr/kma/netcdf-3.5.0/src'
> 
> Making `install' in directory /home/charr/kma/netcdf-3.5.0/src/ncdump
> 
> make[2]: Entering directory `/home/charr/kma/netcdf-3.5.0/src/ncdump'
> pgcc -o ncdump -O  ncdump.o vardata.o dumplib.o ../libsrc/libnetcdf.a  
> /usr/bin/ld: unrecognised emulation mode: elf_x86_64
> Supported emulations: elf_i386 i386linux
> make[2]: *** [ncdump] Error 2
> make[2]: Leaving directory `/home/charr/kma/netcdf-3.5.0/src/ncdump'
> make[1]: *** [subdir_target] Error 1
> make[1]: Leaving directory `/home/charr/kma/netcdf-3.5.0/src'
> make: *** [ncdump/install] Error 2

I don't recall having seen this error before.  On thing, though, the
make(1) should not have tried to remake the ncdump(1) utility; that was
done in the previous "make" step.

Due to the clock skew and the above error, I suggest that you start from
scratch:

    1.  Go to the top-level source directory.

    2.  Perform steps 3 through 9 described near the end of the file
        INSTALL.html.

Please let me know what you discover.

Regards,
Steve Emmerson