[Pw_forum] problem with compilation
Paolo Giannozzi
giannozz at nest.sns.it
Tue Sep 2 22:47:47 CEST 2003
On Tuesday 02 September 2003 20:07, Bachir Bouhafs wrote:
> [...]
> /usr/absoft/lib/libfio.a(lowlevel.o): In function `_temp_file':
> lowlevel.o(.text+0x10): the use of `tempnam' is dangerous
this is irrelevant
> [...] restart.o(.text+0xcda7): undefined reference to `dscal'
in restart.f90 change "dscal" into "DSCAL". If it doesn't
work, add line
#include "machine.h"
or change to "dscal" to "dscal_" or "dscal__"
> [...] rader.o(.text+0x1ba): undefined reference to `cos'
> rader.o(.text+0x1e8): undefined reference to `sin' [...]
try to add "-lm" to libraries
Paolo
More information about the users
mailing list