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

Re: 20051028: netCDF make test



Unidata Support <address@hidden> writes:

> ------- Forwarded Message
>
>>To: address@hidden
>>From: Battalgazi Yildirim <address@hidden>
>>Subject: make test
>>Organization: Brown
>>Keywords: 200510282139.j9SLde7s017864 netCDF 3.6.0-p1
>
>
>
> Hi,
>
> I would like to install netcdf-3.6.0-p1 on our own Linux-cluster, after 
> downloading and extracting files,
>
>>> ./configure --prefix = /users/yildirim/LinuxNETCDF-trapezoid
>
> and then
>>> make test
>
> make[1]: Entering directory `/users/yildirim/netcdf-3.6.0-p1/src'
>
> Making `all' in directory /users/yildirim/netcdf-3.6.0-p1/src/fortran
>
> make[2]: Entering directory `/users/yildirim/netcdf-3.6.0-p1/src/fortran'
> ar cru ../libsrc/libnetcdf.a fort-attio.o fort-control.o fort-dim.o 
> fort-genatt.o fort-geninq.o fort-genvar.o fort-lib.o fort-misc.o 
> fort-v2compat.o fort-vario.o fort-var1io.o fort-varaio.o fort-varmio.o 
> fort-varsio.o
> ranlib ../libsrc/libnetcdf.a
> make[2]: Leaving directory `/users/yildirim/netcdf-3.6.0-p1/src/fortran'
>
> Returning to directory /users/yildirim/netcdf-3.6.0-p1/src
>
> make[1]: Leaving directory `/users/yildirim/netcdf-3.6.0-p1/src'
> make[1]: Entering directory `/users/yildirim/netcdf-3.6.0-p1/src'
>
> Making `test' in directory /users/yildirim/netcdf-3.6.0-p1/src/libsrc
>
> make[2]: Entering directory `/users/yildirim/netcdf-3.6.0-p1/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
> cc -o t_nc -g  t_nc.o -L. -lnetcdf
> /usr/bin/ld: t_nc.o: Relocations in generic ELF (EM: 2)
> t_nc.o: could not read symbols: File in wrong format
> collect2: ld returned 1 exit status
> make[2]: *** [t_nc] Error 1
> make[2]: Leaving directory `/users/yildirim/netcdf-3.6.0-p1/src/libsrc'
> make[1]: *** [subdir_target] Error 1
> make[1]: Leaving directory `/users/yildirim/netcdf-3.6.0-p1/src'
> make: *** [libsrc/test] Error 2
>
>
> I got this error, I have no idea what caused this thing, I succesfully 
> compiled many NETCDF on other Linux, SGI, and SUN machines, but not this 
> one.
>
>
> if you help me out, I would be so glad,
>
> thanks,
>
>

Hmmm.

Could you send me the output of the following:

make distclean && ./configure --prefix=/users/yildirim/LinuxNETCDF-trapezoid && 
make test

Thanks,

Ed


-- 
Ed Hartnett  -- address@hidden