From: Steve K. <st...@st...> - 2004-04-12 20:36:09
|
John wrote: > >Ok... i checked out the src and here is what needs to be done to compile on >freebsd (so far..) > > >Well after some hacking i'm at the same error on my freebsd box. >I'll checkout cvs (head?) and see if that fixes my problems. > >BTW some things i've had to do to get to this point... > >replace make with gmake in all the make files. > >iaxclient/lib/libiax2/src/md5.c > there is a FreeBSD ifdef, however no FreeBSD OSTYPE in the Makefile. > >iaxclient/lib/libiax2/src/iax.c > Seems to want to use MAXOSX + LINUX include lines > FreeBSD doesn't have a error.h and stdlib.h replaces malloc.h > at least from the thats what the warning said. > FreeBSD also wants > #include <sys/types.h> > include before > #include <sys/socket.h> > #define IAX_SOCKOPTS MSG_DONTWAIT | MSG_NOSIGNAL <- no idea > what MSG_NOSIGNAL is or should be in freebsd but > removing the | MSG_NOSIGNAL is the last step. > >at this point the lib compiles clean. >even though it thinks this is Linux ;) > >ok so next... >i installed >wxgtk (wxgtk-2.4.2_7) >wxgtk-common (wxgtk-common-2.4.2_1) >from the ports/x11-toolkits dir.. > >and that got me to the >" >Makefile:27: OSTYPE cannot be detected, assuming Linux >(cd ../../lib; gmake libiaxclient.a) >gmake[1]: Entering directory `/home/strgout/iaxclient/lib' >Makefile:92: OSTYPE cannot be detected, assuming Linux >gmake[1]: `libiaxclient.a' is up to date. >gmake[1]: Leaving directory `/home/strgout/iaxclient/lib' >g++ -I../../lib -g -Wall `wx-config --cflags` `gtk-config --cflags` -c -o calls.o calls.cc >calls.cc: In method `void CallList::OnSelect(wxListEvent &)': >calls.cc:125: implicit declaration of function `int iaxc_unquelch(...)' >gmake: *** [calls.o] Error 1 >" >under FreeBSD. > >who needs linulation anyways ;) > >i also just noticed the cvs commit message, so i'll check out and try again. > > Yeah, the iaxc_unquelch thing you need to deal with first, obviously :) After that, if you want to help us make things work under FreeBSD, I'd be glad to take patches. If they're outside of libiax2, things are simpler (the Makefile, for example); if they're inside libiax2, Mark might want you to disclaim the changes (just sending a fax is sufficient), but this might not be necessary for the small things you're writing. -SteveK |