[gmx-users] Compiling Gromacs
Maciej Masłyk
maciekm at kul.pl
Tue Apr 23 11:05:58 CEST 2013
Dear all,
I'm facing a problem when compiling Gromacs. This is the message I got:
numa_malloc.c:117:73: error: expected ‘)’ before ‘Processor’
numa_malloc.c:118:78: error: expected ‘)’ before ‘ProcNumber’
numa_malloc.c:121:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ be fore
‘smalloc_GetNumaProcessorNodeEx’
numa_malloc.c:122:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ be fore
‘smalloc_GetCurrentProcessorNumberEx’
numa_malloc.c: In function ‘InitNumaHeapSupport’:
numa_malloc.c:151:5: error: ‘smalloc_GetCurrentProcessorNumberEx’
undeclared (fi rst use in this function)
numa_malloc.c:151:5: note: each undeclared identifier is reported only
once for each function it appears in
numa_malloc.c:151:44: error: ‘func_GetCurrentProcessorNumberEx_t’
undeclared (fi rst use in this function)
numa_malloc.c:151:79: error: expected ‘;’ before ‘GetProcAddress’
numa_malloc.c:152:5: error: ‘smalloc_GetNumaProcessorNodeEx’ undeclared
(first u se in this function)
numa_malloc.c:152:39: error: ‘func_GetNumaProcessorNodeEx_t’ undeclared
(first u se in this function)
numa_malloc.c:152:69: error: expected ‘;’ before ‘GetProcAddress’
numa_malloc.c: In function ‘ReturnHeapHandle’:
numa_malloc.c:246:5: error: ‘PROCESSOR_NUMBER’ undeclared (first use in
this fun ction)
numa_malloc.c:246:22: error: expected ‘;’ before ‘CurrentProcessorNumber’
numa_malloc.c:285:5: warning: implicit declaration of function
‘smalloc_GetCurre ntProcessorNumberEx’
numa_malloc.c:285:42: error: ‘CurrentProcessorNumber’ undeclared (first
use in t his function)
numa_malloc.c:287:5: warning: implicit declaration of function
‘smalloc_GetNumaP rocessorNodeEx’
numa_malloc.c:324:9: warning: implicit declaration of function
‘HeapSetInformati on’
Makefile:332: recipe for target `numa_malloc.lo' failed
make[4]: *** [numa_malloc.lo] Error 1
make[4]: Opuszczenie katalogu
`/cygdrive/c/Packages/gromacs-4.5.5/src/gmxlib/thr ead_mpi'
Makefile:599: recipe for target `all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Opuszczenie katalogu
`/cygdrive/c/Packages/gromacs-4.5.5/src/gmxlib'
Makefile:302: recipe for target `all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Opuszczenie katalogu `/cygdrive/c/Packages/gromacs-4.5.5/src'
Makefile:238: recipe for target `all' failed
make[1]: *** [all] Error 2
make[1]: Opuszczenie katalogu `/cygdrive/c/Packages/gromacs-4.5.5/src'
Makefile:347: recipe for target `all-recursive' failed
make: *** [all-recursive] Error 1
The configuration went ok. I used :
./configure --prefix=/cygdrive/c/Packages/Gromacs --enable-shared
LDFLAGS='-L/cygdrive/c/Packages/fftw/lib/'
CPPFLAGS='-I/cygdrive/c/Packages/fftw/include/'
The above error I get after "make" command.
Can you please help me with this as I'm not familiar with linux environment.
Thanks in advance
Maciek
More information about the gromacs.org_gmx-users
mailing list