[AMBER] AmberTools compilation problem

From: Matteo Tiberti <matteo.tiberti.gmail.com>
Date: Tue, 12 Jul 2011 16:54:35 +0200

Hello everyone,
I'm trying to compile the serial version of the AmberTools under Debian
GNU/Linux x86_64 using gcc 4.5 (gnu option), patched with the latest
bugfixes, and I get an error:

*
make[1]: Entering directory `/usr/src/amber11/AmberTools/src/sff'
gcc -c -Dflex -O3 -mtune=generic -DBINTRAJ -DHASGZ -DHASBZ2
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ -DRISMSFF -o
binpos.o binpos.c
gcc -c -Dflex -O3 -mtune=generic -DBINTRAJ -DHASGZ -DHASBZ2
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ -DRISMSFF -o
conjgrad.o conjgrad.c
gcc -c -Dflex -O3 -mtune=generic -DBINTRAJ -DHASGZ -DHASBZ2
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ -DRISMSFF -o
lmodC.o lmodC.c
gcc -c -Dflex -O3 -mtune=generic -DBINTRAJ -DHASGZ -DHASBZ2
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ -DRISMSFF -o
memutil.o memutil.c
gcc -c -Dflex -O3 -mtune=generic -DBINTRAJ -DHASGZ -DHASBZ2
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ -DRISMSFF -o
nblist.o nblist.c
gcc -c -Dflex -O3 -mtune=generic -DBINTRAJ -DHASGZ -DHASBZ2
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ -DRISMSFF -o
newton.o newton.c
gcc -c -Dflex -O3 -mtune=generic -DBINTRAJ -DHASGZ -DHASBZ2
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ -DRISMSFF -o
nmode.o nmode.c
gcc -c -Dflex -O3 -mtune=generic -DBINTRAJ -DHASGZ -DHASBZ2
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ -DRISMSFF -o prm.o
prm.c
gcc -c -Dflex -O3 -mtune=generic -DBINTRAJ -DHASGZ -DHASBZ2
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ -DRISMSFF -o
rand2.o rand2.c
gcc -c -Dflex -O3 -mtune=generic -DBINTRAJ -DHASGZ -DHASBZ2
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ -DRISMSFF -o
sasad.o sasad.c
gcc -c -Dflex -O3 -mtune=generic -DBINTRAJ -DHASGZ -DHASBZ2
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ -DRISMSFF -o sff.o
sff.c
In file included from sff.c:859:0:
eff.c: In function ‘mme34’:
eff.c:4242:8: warning: passing argument 3 of ‘rism_thermo_’ from
incompatible pointer type
sff.h:215:8: note: expected ‘double *’ but argument is of type ‘double
(*)[20]’
In file included from sff.c:2278:0:
mm_options.l: In function ‘mmolex’:
mm_options.l:31:9: error: ‘hcp_h’ undeclared (first use in this function)
mm_options.l:31:9: note: each undeclared identifier is reported only once
for each function it appears in
In file included from sff.c:2278:0:
mm_options.l:139:9: error: ‘cutres’ undeclared (first use in this function)
make[1]: *** [sff.o] Error 1
make[1]: Leaving directory `/usr/src/amber11/AmberTools/src/sff'
make: *** [serial] Error 2

The same appens with gcc 4.6. How can I solve this problem?

Thank you
*
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Jul 12 2011 - 08:00:06 PDT
Custom Search