[Developers] problem compiling with pgi 5.1
Yaakoub Y El Khamra
yye00 at cct.lsu.edu
Tue May 10 03:29:15 CDT 2005
Hi Bela
What OS and libc are you using? I had this problem before with macos and
ibm C compilers due to an upgrade on libc that removed the _va_copy. Are
you using BSD by any chance?
NB PGI 5.1 is available on helix and supermike, so we can try it out
On Tue, 2005-05-10 at 09:45 +0200, Bela Szilagyi wrote:
> 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?
>
More information about the Developers
mailing list