[Freeswitch-users] building mod_opal fails on gentoo linux

Tamer Higazi th982a at googlemail.com
Sun Jan 29 02:46:55 MSK 2012


Hi people!
I have successfully built the latest freeswitch_snapshot but I am not
capable to build "mod_opal". Can somebody tell me, what I did wrong?

ptlib and opal are installed on my system.

thanks for any support.


here is the output:

making all mod_opal
Compiling
/storage/downloads/freeswitch-snapshot/src/mod/endpoints/mod_opal/mod_opal.cpp...
Compiling
/storage/downloads/freeswitch-snapshot/src/mod/endpoints/mod_opal/mod_opal.cpp
...
/storage/downloads/freeswitch-snapshot/src/mod/endpoints/mod_opal/mod_opal.cpp:
In constructor 'FSConnection::FSConnection(OpalCall&, FSEndPoint&,
void*, unsigned int, OpalConnection::StringOptions*,
switch_caller_profile_t*, switch_core_session_t*, switch_channel_t*)':
/storage/downloads/freeswitch-snapshot/src/mod/endpoints/mod_opal/mod_opal.cpp:564:26:
error: no matching function for call to
'OpalLocalConnection::OpalLocalConnection(OpalCall&, FSEndPoint&,
void*&, unsigned int&, OpalConnection::StringOptions*&)'
/usr/include/opal/opal/localep.h:249:5: note: candidates are:
OpalLocalConnection::OpalLocalConnection(OpalCall&, OpalLocalEndPoint&,
void*)
/usr/include/opal/opal/localep.h:242:1: note:                
OpalLocalConnection::OpalLocalConnection(const OpalLocalConnection&)
/storage/downloads/freeswitch-snapshot/src/mod/endpoints/mod_opal/mod_opal.cpp:
In member function 'switch_status_t
FSMediaStream::read_frame(switch_frame_t**, switch_io_flag_t)':
/storage/downloads/freeswitch-snapshot/src/mod/endpoints/mod_opal/mod_opal.cpp:1295:25:
error: 'class OpalMediaPatch' has no member named 'OnStartMediaPatch'
/storage/downloads/freeswitch-snapshot/src/mod/endpoints/mod_opal/mod_opal.cpp:
In member function 'switch_status_t FSMediaStream::write_frame(const
switch_frame_t*, switch_io_flag_t)':
/storage/downloads/freeswitch-snapshot/src/mod/endpoints/mod_opal/mod_opal.cpp:1417:25:
error: 'class OpalMediaPatch' has no member named 'OnStartMediaPatch'
make[5]: *** [mod_opal.lo] Fehler 1
make[4]: *** [all] Fehler 1
make[3]: *** [mod_opal-all] Fehler 1
make[2]: *** [all-recursive] Fehler 1
make[1]: *** [all-recursive] Fehler 1
make: *** [all] Fehler 2



and my system:

tamer at office /storage/downloads/freeswitch-snapshot $ emerge --info opal
ptlib
Portage 2.1.10.44 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3,
glibc-2.13-r4, 3.0.6-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname:
Linux-3.0.6-gentoo-x86_64-Intel-R-_Core-TM-2_CPU_6600_ at _2.40GHz-with-gentoo-2.0.3
Timestamp of tree: Thu, 26 Jan 2012 23:30:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo freeswitch voyageur proaudio calculate x-liquidx
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /usr/lib64/fax
/usr/share/config /usr/share/gnupg/qualified.txt /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d
/etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
/etc/revdep-rebuild /etc/sandbox.d /etc/terminfo
/etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d
/etc/texmf/web2c"
CXXFLAGS="-march=core2 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles
news parallel-fetch protect-owned sandbox sfperms strict
unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.mneisen.org/
http://gentoo.mirror.dkm.cz/pub/gentoo/
http://mirrors.linuxant.fr/distfiles.gentoo.org/
http://mirror.netcologne.de/gentoo/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en ar"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/freeswitch /var/lib/layman/voyageur
/var/lib/layman/pro-audio /var/lib/layman/calculate /var/lib/layman/liquidx"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apm avahi berkdb bluetooth branding
bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups
custom-cflags cxx dbus disk-partition dri dts dvd dvdr eds emboss encode
evo exif fam firefox flac fontconfig fortran gdbm gdu gif gnome
gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 iconv ipv6
java jpeg kde kerberos lcms ldap libnotify mad mmx mng modules mp3 mp4
mpeg mudflap multilib nautilus ncurses nls nptl nptlonly ogg opengl
openmp pam pango pcre pdf png policykit ppds pppd pulseaudio python qt3
qt3support qt4 readline scanner sdl session socialweb spell sqlite sse
sse2 ssl startup-notification svg sysfs system-sqlite tcpd tiff truetype
udev unicode unlock-notify usb vorbis x264 xcb xinerama xml xorg
xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem
bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801
hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx
via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare
dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter
mmap_emul mulaw multi null plug rate route share shm softvol"
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon
authn_dbm authn_default authn_file authz_dbm authz_default
authz_groupfile authz_host authz_owner authz_user autoindex cache cgi%*
cgid%* dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter
file_cache filter headers include info log_config logio mem_cache mime
mime_magic negotiation rewrite setenvif speling status unique_id userdir
usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage
tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df
interface irq load memory rrdtool swap syslog" ELIBC="glibc"
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt
gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore
rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx"
INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad
cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LINGUAS="de en ar" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18"
USERLAND="GNU" VIDEO_CARDS="nvidia nv" XTABLES_ADDONS="quota2 psd pknock
lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee
tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL,
PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

net-libs/opal-3.6.8-r2 was built with the following:
USE="audio celt dtmf fax ffmpeg h224 h281 h323 iax ipv6 java ldap
(multilib) plugins sip sipim srtp ssl theora video wav x264 xml -capi
-debug -doc -examples -ilbc -ivr -ixj -lid -sbc -static-libs -stats
-swig -vpb -vxml -x264-static"
CFLAGS="-march=core2 -O3 -pipe -fno-visibility-inlines-hidden
-D__STDC_CONSTANT_MACROS"
CXXFLAGS="-march=core2 -O3 -pipe -fno-visibility-inlines-hidden
-D__STDC_CONSTANT_MACROS"


net-libs/ptlib-2.6.7-r1 was built with the following:
USE="alsa asn audio dtmf ffmpeg http ipv6 jabber ldap (multilib) sasl
sdl soap ssl stun v4l video vxml wav xml xmlrpc -debug -doc (-esd)
-examples -ftp -mail -odbc -oss -pch -qos -remote -serial -shmvideo
-snmp -socks -static-libs -telnet -tts"




Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list