Hi, I am trying to compile afni for my solaris box (sunos 5.6).
I used Makefile.solaris26_gcc.
If failed with the following errors
gcc -O2 -ffast-math -DSOLARIS -DSOLARIS_DIRENT_ZERO -UUSE_TRACING -DDONT_USE_MCW_MALLOC -o Imon Imon.o l_mcw_glob.o realtime.o ../thd_iochan.o -s -L. -L/usr/dt/lib -L/usr/openwin/lib -L/usr/ucblib -L.. -lm
Undefined first referenced
symbol in file
socket ../thd_iochan.o
recv ../thd_iochan.o
gethostbyname ../thd_iochan.o
accept ../thd_iochan.o
send ../thd_iochan.o
bind ../thd_iochan.o
setsockopt ../thd_iochan.o
gethostbyaddr ../thd_iochan.o
inet_ntoa ../thd_iochan.o
shutdown ../thd_iochan.o
listen ../thd_iochan.o
connect ../thd_iochan.o
Any idea what's wrong ?