From: Fiona Reid (fiona_at_epcc.ed.ac.uk)
Date: Thu Oct 20 2005 - 10:44:32 CDT

Dear VMD Users,

I've solved my problem - a mixture of a 32-bit tcl which was not being
picked up with -q64 and /usr/include/math.h getting confused by placing
it under CCFLAGS/CXXFLAGS caused the missing symbols. If anyone wants
to compile on AIX 5.2 in future, the following options worked for me:

export OBJECT_MODE=32
export TCLINC=-I/usr/include
export TCLLIB=-L/usr/lib
gmake AIX5_32 TCLINC=$TCLINC TCLLIB=$TCLLIB

With the following architecture specific flags:

AIX5_32:
         $(MAKE) dynlibs staticlibs bins \
         "ARCH = AIX5_32" \
         "COPTO = -o " \
         "LOPTO = -o " \
         "CC = xlc" \
         "CXX = xlC" \
         "CCFLAGS = -w -qinlglue -qarch=pwr4 -qtune=pwr4 " \
         "CXXFLAGS = -w -qstrict -Q -qarch=pwr4 -qtune=pwr4 " \
         "LDFLAGS = -qarch=pwr4 -qtune=pwr4" \
         "TCLLDFLAGS = /usr/lib/libtcl8.3.so " \
         "NM = nm -B" \
         "RANLIB = touch" \
         "SHLD = xlC -bM:SRE -bnoentry -bexpall -qarch=pwr4 -qtune=pwr4"

Cheers,

Fiona

On Thu, 20 Oct 2005, Fiona Reid wrote:

> I'm attempting to install CATDCD on an IBM p690+ running AIX 5.2.
>
> When attempting to install the VMD plugins I run into problems with
> missing math symbols, e.g.
>
> export TCLINC=-I/usr/include
> export TCLLIB=-L/usr/lib
> gmake AIX5_64_hpcxtcl TCLINC=$TCLINC TCLLIB=$TCLLIB/lib_AIX5_64_hpcxtcl
> Building Molecule File Reader plugins
> "src/gromacsplugin.C", line 459.22: 1540-0274 (S) The name lookup for "__sin"
> did not find a declaration.
<snip>