[Developers] problem compiling with pgi 5.1

Bela Szilagyi szilagyi at aei.mpg.de
Tue May 10 02:45:52 CDT 2005


I am trying to compile a tiny configuration, containing no other thorn than 
PUGH.  I am using the options "CC=pgcc CXX=pgCC" at config time. The linker 
gives an error message:


Creating cactus_pgi in /home/bela/Cactus/exe from CactusPUGH/PUGH
/home/bela/Cactus/configs/pgi/lib/libthorn_Cactus.a(WarnLevel.c.o)
(.text+0x44a): In function `CCTK_VWarn':
: undefined reference to `va_copy'
gmake[1]: *** [/home/bela/Cactus/exe/cactus_pgi] Error 2
gmake: *** [pgi] Error 2


the PGI compiler is a standard 5.1 install under suse 9.2

peniel 67% pgcc -V

pgcc 5.1-6
Copyright 1989-2000, The Portland Group, Inc.  All Rights Reserved.
Copyright 2000-2003, STMicroelectronics, Inc.  All Rights Reserved.


I am assuming this is a problem of the configuration script not figuring the 
right set of libraries to be passed at link time. 

Can anyone help?

-- 
Bela Szilagyi
----------------------------------------------------
Max-Planck-Institut für Gravitationsphysik
Albert-Einstein-Institut
Tel: +49 331 567 7632
Fax: +49 331 567 7649
----------------------------------------------------





More information about the Developers mailing list