[Freeswitch-users] OpenBSD compilation errors
Bryan Vyhmeister
freeswitch at bsdjournal.net
Wed Jun 6 18:41:33 PDT 2007
I am attempting to build Freeswitch on OpenBSD 4.1-stable. This
particular machine happens to be macppc but the same thing happens on
i386.
make "OUR_MODULES=`if test -z "" ; then tmp_mods="\`grep -v "#" /usr/
local/src/freeswitch/modules.conf | sed -e "s|^.*/||" \`"; 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 "#" /usr/local/src/freeswitch/modules.conf | sed -
e "s|^.*/||" \`"; 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 "#" /usr/local/src/freeswitch/
modules.conf | sed -e "s|^.*/||" \`"; 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 "#" /
usr/local/src/freeswitch/modules.conf | sed -e "s|^.*/||" \`"; else
tmp_mods="" ; fi ; mods=\`for i in $tmp_mods ; do echo $i-uninstall ;
done\`; echo $mods `" `test -n "" || echo -s` all-recursive
Making all in .
Compiling src/switch_apr.c ...
src/switch_apr.c: In function `switch_vasprintf':
src/switch_apr.c:666: warning: implicit declaration of function
`vasprintf'
*** Error code 1
Stop in /usr/local/src/freeswitch (line 659 of Makefile).
Making all in src
Making all in mod
making all mod_console
make: don't know how to make /usr/local/src/freeswitch/
libfreeswitch.la. Stop in /usr/local/src/freeswitch/src/mod/loggers/
mod_console.
*** Error code 1
Stop in /usr/local/src/freeswitch/src/mod/loggers/mod_console (line
69 of /usr/local/src/freeswitch/build/modmake.rules).
*** Error code 1
Stop in /usr/local/src/freeswitch/src/mod (line 392 of Makefile).
*** Error code 1
Stop in /usr/local/src/freeswitch/src (line 294 of Makefile).
*** Error code 1
Stop in /usr/local/src/freeswitch (line 1056 of Makefile).
*** Error code 1
Stop in /usr/local/src/freeswitch (line 463 of Makefile).
I am hoping there is some way to resolve this issue so that OpenBSD
is a usable platform. I can provide more information if that would
help in figuring this out. The majority of my network runs on OpenBSD
and I am trying to keep it that way for several reasons. Any help
would be greatly appreciated.
Bryan
More information about the FreeSWITCH-users
mailing list