Hello all,
I am trying to install the latest version of AFNI/SUMA (Linux_gcc32).
After finishing installing all AFNI and SUMA files, I tried to compile them but failed.
I think it\'s not working from the commands,
Makefile.linux_gcc32
cp Makefile.linux_gcc32 Makefile
make totality suma or (make totality)
Could you let me know what the problem is.
My OS is the UBUNTU7.10.
Thank you.
Woogul Lee
woogul@woogul:~/afni/afni_src$ make totality
/bin/rm -f `find . -name \*.o -print`
/bin/cp -f niml/niml.h .
( cd niml/ ; make all 'CC=/usr/bin/gcc -O2 -march=i686 -mmmx -DLINUX2 -Wcomment -Wformat -DUSE_TRACING -DHAVE_XDBE ' ; /bin/mv -f *.o .. ; )
make[1]: Entering directory `/home/woogul/afni/afni_src/niml'
/usr/bin/gcc -O2 -march=i686 -mmmx -DLINUX2 -Wcomment -Wformat -DUSE_TRACING -DHAVE_XDBE -c niml_b64.c
In file included from niml_private.h:4,
from niml_b64.c:1:
niml.h:5:19: error: stdio.h: No such file or directory
niml.h:6:20: error: stdlib.h: No such file or directory
niml.h:7:20: error: unistd.h: No such file or directory
niml.h:8:19: error: ctype.h: No such file or directory
niml.h:9:19: error: errno.h: No such file or directory
niml.h:10:23: error: sys/types.h: No such file or directory
niml.h:11:22: error: sys/stat.h: No such file or directory
niml.h:13:20: error: string.h: No such file or directory
niml.h:14:24: error: sys/socket.h: No such file or directory
niml.h:15:24: error: netinet/in.h: No such file or directory
niml.h:17:26: error: netinet/tcp.h: No such file or directory
niml.h:19:19: error: netdb.h: No such file or directory
niml.h:20:23: error: arpa/inet.h: No such file or directory
niml.h:21:22: error: sys/time.h: No such file or directory
niml.h:22:19: error: fcntl.h: No such file or directory
niml.h:23:23: error: sys/times.h: No such file or directory
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.3/include/syslimits.h:7,
from /usr/lib/gcc/i486-linux-gnu/4.1.3/include/limits.h:11,
from niml.h:24,
from niml_private.h:4,
from niml_b64.c:1:
/usr/lib/gcc/i486-linux-gnu/4.1.3/include/limits.h:122:61: error: limits.h: No such file or directory
In file included from niml_private.h:4,
from niml_b64.c:1:
niml.h:271:22: error: sys/ipc.h: No such file or directory
niml.h:272:22: error: sys/shm.h: No such file or directory
In file included from niml_private.h:4,
from niml_b64.c:1:
niml.h:352: error: expected specifier-qualifier-list before ‘FILE’
In file included from niml_b64.c:1:
niml_private.h:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
niml_b64.c: In function ‘B64_to_binary’:
niml_b64.c:103: warning: incompatible implicit declaration of built-in function ‘malloc’
niml_b64.c: In function ‘B64_to_base64’:
niml_b64.c:190: warning: incompatible implicit declaration of built-in function ‘malloc’
make[1]: *** [niml_b64.o] Error 1
make[1]: Leaving directory `/home/woogul/afni/afni_src/niml'
/bin/mv: cannot stat `*.o': No such file or directory
make: *** [niml_b64.o] Error 1