[Freeswitch-users] OpenBSD compile problems

Bryan Vyhmeister freeswitch at bsdjournal.net
Tue Apr 17 20:17:33 PDT 2007


I am attempting to compile Freeswitch that I just checked out from  
svn on OpenBSD/macppc 4.1. I am running into this error:

Compiling src/switch_ivr_play_say.c ...
Compiling src/switch_ivr_menu.c ...
Compiling src/switch_ivr.c ...
Compiling src/switch_stun.c ...
Compiling src/switch_log.c ...
src/switch_log.c: In function `log_thread':
src/switch_log.c:118: warning: statement with no effect
gmake[2]: *** [libfreeswitch_la-switch_log.lo] Error 1
Making all in src
Making all in mod

making all mod_console
/usr/local/src/freeswitch.trunk/src/mod/loggers/mod_console
gmake[5]: *** No rule to make target `/usr/local/src/freeswitch.trunk/ 
libfreeswitch.la', needed by `mod_console.so'.  Stop.
gmake[4]: *** [all] Error 1
gmake[3]: *** [mod_console-all] Error 1
gmake[2]: *** [all-recursive] Error 1
gmake[1]: *** [all-recursive] Error 1
gmake: *** [all] Error 2


I tried commenting out line 118 from src/switch_log.c and then  
compiling proceeded to the next error:

making all mod_echo
/usr/local/src/freeswitch.trunk/src/mod/applications/mod_echo
Compiling mod_echo.c...
Creating mod_echo.so...

making all mod_enum
Compiling ../../../../libs/udns/udns_dn.c...
Compiling ../../../../libs/udns/udns_dntosp.c...
Compiling ../../../../libs/udns/udns_parse.c...
Compiling ../../../../libs/udns/udns_misc.c...
Compiling ../../../../libs/udns/udns_rr_a.c...
../../../../libs/udns/udns_rr_a.c: In function `dns_parse_a4':
../../../../libs/udns/udns_rr_a.c:83: warning: statement with no effect
gmake[5]: *** [../../../../libs/udns/udns_rr_a.o] Error 1
gmake[4]: *** [all] Error 1
gmake[3]: *** [mod_enum-all] Error 1
gmake[2]: *** [all-recursive] Error 1
gmake[1]: *** [all-recursive] Error 1
gmake: *** [all] Error 2


These errors both seem to be related to the warning "statement with  
no effect." What is the best way to get around this? Thank you.

Bryan




More information about the FreeSWITCH-users mailing list