Re: missing ictrans file

From: Rick Grubin <grubin_at_nyahnyahspammersnyahnyah>
Date: Thu, 21 Jun 2007 15:22:46 -0600

Hello,

> Hi. I'm installing NCAR Graphics on a 64-bit Rhel 4 workstation.
> I used the source code. I keep getting the
> errors in the attached file, and the ictrans executable is not
> created, so we can't use idt to view our images.
> Can someone please tell me how to fix this problem? Thank you very
> much.

The errors you're seeing:

/usr/pgi7.0/linux86-64/7.0-3/lib/libpgf90.a(async.o)(.text+0x32): In
function `asy_wait':
: undefined reference to `aio_suspend'
/usr/pgi7.0/linux86-64/7.0-3/lib/libpgf90.a(async.o)(.text+0x64): In
function `asy_wait':
: undefined reference to `aio_return'
/usr/pgi7.0/linux86-64/7.0-3/lib/libpgf90.a(async.o)(.text+0x8d): In
function `asy_wait':
: undefined reference to `aio_error'
/usr/pgi7.0/linux86-64/7.0-3/lib/libpgf90.a(async.o)(.text+0x2b0): In
function `Fio_asy_read':
: undefined reference to `aio_read'
/usr/pgi7.0/linux86-64/7.0-3/lib/libpgf90.a(async.o)(.text+0x362): In
function `Fio_asy_write':
: undefined reference to `aio_write'
make[5]: *** [ictrans] Error 2

can be traced to the configuration of the build for NCAR Graphics.
The link command (edited for brevity):

pgcc -O -o ictrans main.o [...] -lpgc -lpgf90 -lpgf90_rpm1 -
lpgf902 -lpgftnrtl

is an older invocation of the PGI compilers argument that links in C/
Fortran compatibility libraries.

 From the top-level directory of your source tree, in the 'config'
directory, are a number of files used to configure the
build of NCAR Graphics.

In the file "LINUX.64.PGI" make sure you have this line defined:

#define CtoFLibraries -pgf90libs

This will tell the PGI compilers to link in the correct compatibility
libraries, in the correct sequence.

Copy the file "LINUX.64.PGI" to "LINUX" if you have not already, and
reconfigure and make.

-Rick.
----
Rick Grubin NCAR/TDD/CISL/VETS
Visualization + Enabling Technologies
grubin_at_ucar.edu 303.497.1832

_______________________________________________
ncarg-talk mailing list
ncarg-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
Received on Thu Jun 21 2007 - 15:22:46 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 27 2007 - 08:08:36 MDT