[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #PNQ-750270]: About warning message to link with libray libnetcdf.a.
- Subject: [netCDF #PNQ-750270]: About warning message to link with libray libnetcdf.a.
- Date: Mon, 26 Feb 2007 14:39:18 -0700
>
>
> Hi,
>
> I install the library netCDF on my HP Cluster (Linux n18 2.6.9-22.7hp.XCsmp
> #1 SMP Sun Dec 18 01:41:24 EST 2005 x86_64 x86_64 x86_64 GNU/Linux).
>
> I try to link my Fortran objects with this library, I got lot of warning
> messages as following:
>
>
>
> "# Do the link
>
> # m_tmr2.o \
>
> # m_eswinv.o \
>
> # mrdnum.o \
>
>
>
> ${FC} ${FLAGS} -o poes.exe \
>
> getobs.o \
>
> mksmrysats.o \
>
> poes.o \
>
> wtsats.o \
>
> wtsatr.o \
>
> rdarflsats.o \
>
> nearest.o \
>
> \
>
> ${LIB}/cdfinv.o \
>
> ${LIB}/mwtchr.o \
>
> ${LIB}/mwtdbl.o \
>
> ${LIB}/mwtnum.o \
>
> ${LIB}/smryrpt.o \
>
> ${LIB}/sortc.o \
>
> ${LIB}/sorti.o \
>
> ${LIB}/uatempvc.o \
>
> ${API}/lib/madislib.a \
>
> ${NETCDF_DIR}/libnetcdf.a
>
> /usr/bin/ld: warning: i386:x86-64 architecture of input file
> `/usr/local/netcdf/lib/libnetcdf.a(fort-attio.o)' is incompatible with i386
> output
>
> /usr/bin/ld: warning: i386:x86-64 architecture of input file
> `/usr/local/netcdf/lib/libnetcdf.a(fort-control.o)' is incompatible with i386
> output
>
> /usr/bin/ld: warning: i386:x86-64 architecture of input file
> `/usr/local/netcdf/lib/libnetcdf.a(fort-dim.o)' is incompatible with i386
> output
>
> /usr/bin/ld: warning: i386:x86-64 architecture of input file
> `/usr/local/netcdf/lib/libnetcdf.a(fort-genatt.o)' is incompatible with i386
> output
>
> /usr/bin/ld: warning: i386:x86-64 architecture of input file
> `/usr/local/netcdf/lib/libnetcdf.a(fort-geninq.o)' is incompatible with i386
> output
>
> /usr/bin/ld: warning: i386:x86-64 architecture of input file
> `/usr/local/netcdf/lib/libnetcdf.a(fort-genvar.o)' is incompatible with i386
> output
>
> /usr/bin/ld: warning: i386:x86-64 architecture of input file
> `/usr/local/netcdf/lib/libnetcdf.a(fort-lib.o)' is incompatible with i386
> output
>
> /usr/bin/ld: warning: i386:x86-64 architecture of input file
> `/usr/local/netcdf/lib/libnetcdf.a(fort-misc.o)' is incompatible with i386
> output
>
> /usr/bin/ld: warning: i386:x86-64 architecture of input file
> `/usr/local/netcdf/lib/libnetcdf.a(fort-v2compat.o)' is incompatible with
> i386 output
>
> /usr/bin/ld: warning: i386:x86-64 architecture of input file
> `/usr/local/netcdf/lib/libnetcdf.a(fort-vario.o)' is incompatible with i386
> output
>
Howdy Jian-Rong Zhou,
It looks like you build netCDF for 64-bit and are trying to build your app as
32-bit. That won't work!
You either need to rebuild netCDF for 32 bit, or build your apps for 64 bit.
Ed
Ticket Details
===================
Ticket ID: PNQ-750270
Department: Support netCDF
Priority: Normal
Status: Closed