[Freeswitch-users] Problem compiling FreeSWITCH on OpenBSD 4.8
Comète
comete at daknet.org
Sat Nov 20 07:41:01 PST 2010
Hello,
i'm trying to compile freeswitch with sources from git repository on a
fresh OpenBSD 4.8 (i386) install and i get this error during the "gmake"
part of the installation
gmake install
...
gmake "OUR_MODULES=$(if test -z "" ; then tmp_mods="$(grep -v "#"
/home/lefieux-m/freeswitch/modules.conf | sed -e "s|^.*/||" | sort |
uniq )"; else tmp_mods="" ; fi ; mods="$(for i in $tmp_mods ; do echo
$i-all ; done )"; echo $mods )" "OUR_CLEAN_MODULES=$(if test -z "" ;
then tmp_mods="$(grep -v "#" /home/lefieux-m/freeswitch/modules.conf |
sed -e "s|^.*/||" | sort | uniq )"; else tmp_mods="" ; fi ; mods="$(for
i in $tmp_mods ; do echo $i-clean ; done )"; echo $mods )"
"OUR_INSTALL_MODULES=$(if test -z "" ; then tmp_mods="$(grep -v "#"
/home/lefieux-m/freeswitch/modules.conf | sed -e "s|^.*/||" | sort |
uniq )"; else tmp_mods="" ; fi ; mods="$(for i in $tmp_mods ; do echo
$i-install ; done)"; echo $mods )" "OUR_UNINSTALL_MODULES=$(if test -z
"" ; then tmp_mods="$(grep -v "#"
/home/lefieux-m/freeswitch/modules.conf | sed -e "s|^.*/||" | sort |
uniq )"; else tmp_mods="" ; fi ; mods="$(for i in $tmp_mods ; do echo
$i-uninstall ; done)"; echo $mods )"
"OUR_DISABLED_MODULES=$(tmp_mods="$(grep "#"
/home/lefieux-m/freeswitch/modules.conf | grep -v "##" | sed -e
"s|^.*/||" | sort | uniq )"; mods="$(for i in $tmp_mods ; do echo $i-all
; done )"; echo $mods )" "OUR_DISABLED_CLEAN_MODULES=$(tmp_mods="$(grep
"#" /home/lefieux-m/freeswitch/modules.conf | grep -v "##" | sed -e
"s|^.*/||" | sort | uniq )"; mods="$(for i in $tmp_mods ; do echo
$i-clean ; done )"; echo $mods )"
"OUR_DISABLED_INSTALL_MODULES=$(tmp_mods="$(grep "#"
/home/lefieux-m/freeswitch/modules.conf | grep -v "##" | sed -e
"s|^.*/||" | sort | uniq )"; mods="$(for i in $tmp_mods ; do echo
$i-install ; done)"; echo $mods )"
"OUR_DISABLED_UNINSTALL_MODULES=$(tmp_mods="$(grep "#"
/home/lefieux-m/freeswitch/modules.conf | grep -v "##" | sed -e
"s|^.*/||" | sort | uniq )"; mods="$(for i in $tmp_mods ; do echo
$i-uninstall ; done)"; echo $mods )" `test -n "" || echo -s`
install-recursive
Making all in xml/expat
mkdir .libs
Compiling src/switch_apr.c ...
cc1: warnings being treated as errors
In file included from ./src/include/switch_platform.h:120,
from ./src/include/switch.h:109,
from src/switch_apr.c:33:
/usr/include/arpa/inet.h:74: warning: 'struct in_addr' declared inside
parameter list
/usr/include/arpa/inet.h:74: warning: its scope is only this definition
or declaration, which is probably not what you want
/usr/include/arpa/inet.h:75: warning: 'struct in_addr' declared inside
parameter list
gmake[1]: *** [libfreeswitch_la-switch_apr.lo] Error 1
gmake: *** [install] Error 2
this is the list of packages i've installed:
autoconf-2.59p3 automatically configure source code on many Un*x
platforms
automake-1.9.6p4 GNU standards-compliant Makefile generator
bzip2-1.0.5 block-sorting file compressor, unencumbered
colorls-4.6p0 ls that can use color to display file attributes
curl-7.20.0 get files from FTP, Gopher, HTTP or HTTPS servers
cvsps-2.1 generate patchsets from CVS repositories
gettext-0.18.1 GNU gettext
git-1.7.1p0 GIT - Tree History Storage Tool
gmake-3.81p1 GNU make
jpeg-8b IJG's JPEG compression utilities
libiconv-1.13p1 character set conversion library
libidn-1.11 internationalized string handling
libltdl-1.5.26p0 GNU libtool system independent dlopen wrapper
libogg-1.2.0 Ogg bitstream library
libtool-1.5.26p4 generic shared library support script
libvorbis-1.3.1 audio compression codec library
metaauto-0.9 wrapper for gnu auto*
p5-Error-0.17015 error/exception handling in an OO-ish way
pcre-8.02p1 perl-compatible regular expression library
python-2.6.5 interpreted object-oriented programming language
rsync-3.0.7 mirroring/synchronization over low bandwidth links
sqlite3-3.6.23p0 embedded SQL implementation
tiff-3.9.4 tools and library routines for working with TIFF images
vim-7.2.444-no_x11 vi clone, many additional features
zsh-4.3.10p1 Z shell, Bourne shell-compatible
the ./bootstrap.sh and ./configure parts produce no error and work well
any idea ?
Thanks
Comete
More information about the FreeSWITCH-users
mailing list