[sr-dev] 3.0.2 Makefile issues continued - FreeBSD 6

Andrei Pelinescu-Onciul andrei at iptel.org
Wed Aug 11 19:52:54 CEST 2010


On Jul 27, 2010 at 12:18, Olle E. Johansson <oej at edvina.net> wrote:
> 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.

It doesn't link to -lresolv. You probably mean sercmd (freshly fixed).
(git grep "\-lresolv" modules*  doesn't return anything).

> - 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.

Fixed.

> - There's no point in even trying to compile iptrtpproxy on systems that are not Linux, right?

Yes, it needs a special linux kernel module.

> - 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.

Fixed.


> 
> 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

Fixed.

Thanks,
Andrei



More information about the sr-dev mailing list