Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google site



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-23-2009
Registered User
 

Join Date: Apr 2009
Location: India
Posts: 1
Compiling netcdf-3.6.2 on powerpc-ibm-aix5.2.0.0

Hi,
I am trying to compile a package netcdf-3.6.2 on an ibm aix machine called IBM Regatta P690. The script i am using is:
Code:
#!/usr/bin/bash -f

export CC=xlc_r
export CXX=xlC_r
export F77=xlf_r
export FC=xlf90_r
export CFLAGS=-q64
export CXXFLAGS=-q64
export FFLAGS='-q64 -qextname'
export FCFLAGS='-qsuffix=f=f90 -qextname'
export FCFLAGS_f90=-qsuffix=f=f90
export CPPFLAGS='-DIBMR2Fortran -Df2cFortran -Dextname'
export ARFLAGS='-X32_64 -cru'
export NMFLAGS=-X32_64
export SED=/usr/bin/sed

./configure --prefix=/home/caos1/mecsmrao/netcdf_3.6.2 --enable-f90

gmake

During the configure process i got a message as:c
Quote:
hecking command to parse /usr/bin/nm -B output from xlc_r object... failed
After a few object files get created the gmake process aborts giving the error as:
Quote:
libtool: compile: xlc_r -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -DIBMR2Fortran -Df2cFortran -Dextname -q64 -c -M fort-varsio.c -o fort-varsio.o
/bin/sh ../libtool --tag=CC --mode=link xlc_r -q64 -o libnetcdff.la fort-attio.lo fort-control.lo fort-dim.lo fort-genatt.lo fort-geninq.lo fort-genvar.lo fort-lib.lo fort-misc.lo fort-v2compat.lo fort-vario.lo fort-var1io.lo fort-varaio.lo fort-varmio.lo fort-varsio.lo
libtool: link: ar cru .libs/libnetcdff.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
ar: 0707-126 fort-attio.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
ar: 0707-126 fort-control.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
ar: 0707-126 fort-dim.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
ar: 0707-126 fort-genatt.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
ar: 0707-126 fort-geninq.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
ar: 0707-126 fort-genvar.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
ar: 0707-126 fort-lib.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
ar: 0707-126 fort-misc.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
ar: 0707-126 fort-v2compat.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
ar: 0707-126 fort-vario.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
ar: 0707-126 fort-var1io.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
ar: 0707-126 fort-varaio.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
ar: 0707-126 fort-varmio.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
ar: 0707-126 fort-varsio.o is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
gmake[3]: *** [libnetcdff.la] Error 14
gmake[3]: Leaving directory `/home/caos1/mecsmrao/netcdf-3.6.2/netcdf-3.6.2/fortran'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/home/caos1/mecsmrao/netcdf-3.6.2/netcdf-3.6.2/fortran'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/caos1/mecsmrao/netcdf-3.6.2/netcdf-3.6.2'
gmake: *** [all] Error 2
Could someone suggest a solution.

I am not a programmer, but i need to get this package compiled. I got many parts of the script from the net.

Thanks for any help.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
RedHat AS4 on PowerPC thomn8r Red Hat 1 03-27-2009 04:52 PM
How to upgrade AIX5.3TL6-07 to AIX5.3TL8-04? sangers AIX 2 02-20-2009 01:33 AM
Live CD (Linux) for Max OS X PowerPC (PPC) ? Neo Linux 2 01-03-2009 06:08 PM
NetCDF 4.0 (NetCDF over HDF5 (Unstable) branch) Linux Bot Software Releases - RSS News 0 07-02-2008 05:50 PM
NetCDF 4.0-beta2 (NetCDF over HDF5 (Unstable) branch) Linux Bot Software Releases - RSS News 0 05-13-2008 08:10 AM



All times are GMT -4. The time now is 01:40 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2010. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0