Original von Anonymous
the problem is that i can't uses bsd so i can't fix the problem with code.
so i can fix the problem like this:
comment all in function getIP(), leave only a return "error";
so you won't have compilation problem.
i tried the above.
commented all in the function and leave return "Error"
run ./configure
run gmake and i get the following error
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -g -I/usr/X11R6/incl
ude -I/usr/X11R6/include -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -
D_LARGE_FILES -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/
include -I/usr/X11R6/include -Isrc -MT gsocket.o -MD -MP -MF ".deps/gsocket.Tpo
" \
-c -o gsocket.o `test -f 'gsocket.c' || echo './'`gsocket.c; \
then mv ".deps/gsocket.Tpo" ".deps/gsocket.Po"; \
else rm -f ".deps/gsocket.Tpo"; exit 1; \
fi
gsocket.c: In function `_GSocket_Send_Stream':
gsocket.c:1178: `MSG_NOSIGNAL' undeclared (first use in this function)
gsocket.c:1178: (Each undeclared identifier is reported only once
gsocket.c:1178: for each function it appears in.)
gsocket.c: In function `_GSocket_Send_Dgram':
gsocket.c:1202: `MSG_NOSIGNAL' undeclared (first use in this function)
gmake[3]: *** [gsocket.o] Error 1
gmake[3]: Leaving directory `/usr/home/demo/compile/aMule-1.1.0/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/home/demo/compile/aMule-1.1.0/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/demo/compile/aMule-1.1.0'
gmake: *** [all] Error 2
has anyone had any luck compiling on freebsd yet?