[sr-dev] 3.0.2 Makefile issues continued - FreeBSD 6
Olle E. Johansson
oej at edvina.net
Tue Jul 27 12:18:55 CEST 2010
Installing on Linux went like a charm, no issues. However, there are some issues when building on FreeBSD.
Some comments:
- The xmlrpc module links to -lresolv, something that doesn't exist on FreeBSD and can be removed.
- Libraries in /usr/local/lib was not found, but it seems like include files in /usr/local/include was found by some modules, but not all. Setting CPATH solved issues here.
- There's no point in even trying to compile iptrtpproxy on systems that are not Linux, right?
- There are many compiler warnings that should be looked at
- In order to get INADDR_LOOPBACK, that is used in presence_dialoginfo and other modules I ended up copying the definition of INADDR_LOOPBACK into ip_addr.h... It's in netinet/in.h but must be disabled for some reason.
Also getting this at make install (but not make modules), guessing it belongs to kamctl installation:
MYSQLON=yes make -C ../../utils/kamctl/ install-modules
"../../Makefile.defs", line 88: Missing dependency operator
Error expanding embedded variable.
gmake[1]: *** [install-mysql-scripts] Error 2
gmake[1]: Leaving directory `/s/usr-local/src/kamailio-3.0.2/modules/db_mysql'
gmake: *** [install-modules] Error 1
I had to exclude all db modules in order to get around this.
I guess someone with some more experience of the build system needs to look at this :-)
Cheers,
/O
More information about the sr-dev
mailing list