make error
Posted: Tue Dec 04, 2007 12:35 pm
Installing Running NEURON 5.2.
./configure --prefix =/home/rishabh --without-iv
above is successful
follwed by 'make' which gives the following error
******************
make[3]: Entering directory `/home2/rishabh/nrn-5.2/src/modlunit'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src/parallel -I../../src/nrnjava -I../../src/nrncvode -DNRNUNIT=1 -g -O2 -c list.c
list.c: In function 'emalloc':
list.c:214: error: conflicting types for 'malloc'
In file included from list.c:333:
/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.1.1/include/varargs.h:4:2: error: #error "GCC no longer implements <varargs.h>."
/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.1.1/include/varargs.h:5:2: error: #error "Revise your code to use <stdarg.h>."
list.c: In function 'makelist':
list.c:348: error: expected declaration specifiers before 'va_dcl'
list.c:376: error: expected declaration specifiers before 'append'
list.c:379: error: 'ql' undeclared (first use in this function)
list.c:379: error: (Each undeclared identifier is reported only once
list.c:379: error: for each function it appears in.)
list.c:380: error: 'q' undeclared (first use in this function)
list.c: In function 'itemarray':
list.c:406: error: expected declaration specifiers before 'va_dcl'
list.c:433: error: expected '{' at end of input
make[3]: *** [list.o] Error 1
make[3]: Leaving directory `/home2/rishabh/nrn-5.2/src/modlunit'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home2/rishabh/nrn-5.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home2/rishabh/nrn-5.2'
make: *** [all-recursive-am] Error 2
**********************
plz help
./configure --prefix =/home/rishabh --without-iv
above is successful
follwed by 'make' which gives the following error
******************
make[3]: Entering directory `/home2/rishabh/nrn-5.2/src/modlunit'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src/parallel -I../../src/nrnjava -I../../src/nrncvode -DNRNUNIT=1 -g -O2 -c list.c
list.c: In function 'emalloc':
list.c:214: error: conflicting types for 'malloc'
In file included from list.c:333:
/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.1.1/include/varargs.h:4:2: error: #error "GCC no longer implements <varargs.h>."
/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.1.1/include/varargs.h:5:2: error: #error "Revise your code to use <stdarg.h>."
list.c: In function 'makelist':
list.c:348: error: expected declaration specifiers before 'va_dcl'
list.c:376: error: expected declaration specifiers before 'append'
list.c:379: error: 'ql' undeclared (first use in this function)
list.c:379: error: (Each undeclared identifier is reported only once
list.c:379: error: for each function it appears in.)
list.c:380: error: 'q' undeclared (first use in this function)
list.c: In function 'itemarray':
list.c:406: error: expected declaration specifiers before 'va_dcl'
list.c:433: error: expected '{' at end of input
make[3]: *** [list.o] Error 1
make[3]: Leaving directory `/home2/rishabh/nrn-5.2/src/modlunit'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home2/rishabh/nrn-5.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home2/rishabh/nrn-5.2'
make: *** [all-recursive-am] Error 2
**********************
plz help