Re: [Ekiga-devel-list] [Win32] libboost compiling - trouble with opal



For opal, the trouble is than echocancel codec is not compiled. Inside Makefile, it is located in "SPEEXDSP_SYSTEM" codecs block. I copy it inside "Software Codec block"

diff -ru opal/Makefile.orig opal/Makefile
--- opal/Makefile.orig  2009-10-01 09:47:15.000000000 +0200
+++ opal/Makefile       2009-10-01 09:41:06.000000000 +0200
@@ -392,6 +392,7 @@
           $(OPAL_SRCDIR)/codec/opalwavfile.cxx \
          $(OPAL_SRCDIR)/codec/silencedetect.cxx \
          $(OPAL_SRCDIR)/codec/opalpluginmgr.cxx \
+          $(OPAL_SRCDIR)/codec/echocancel.cxx \
          $(OPAL_SRCDIR)/codec/ratectl.cxx

ifeq ($(OPAL_VIDEO), yes)

I also noticed a trouble in ekiga/src/gui/main.cpp

There is a setenv call. Must be  completed  with a _putenv one  for WIN32.


Michael Rickmann wrote:
Thierry Simonnet schrieb:
If somebody is interested, I succeed to compile libbost under linux for win 32 with mingw .

1/ download last version of libboost : boost_1_40_0.tar.gz
2/ uncompress
3/ generate bjam for local platform : sh bootstrap.sh
4/ create a config file for mingw :

   *

     touch user-config.jam

   *

     echo "using gcc : : i586-mingw32msvc-gcc : ; " > user-config.jam

5/ generate library (don't know which one I will use yet)

   * .dll : ./bjam --user-config=user-config.jam --layout=system
     variant=release threading=multi link=shared runtime-link=shared
     toolset=gcc target-os=windows threadapi=win32 --without-math
     --without-python --without-mpi --without-serialization
     --without-test --without-thread --without-wave --without-date_time
     --without-system --without-filesystem --without-graph
     --without-iostreams --without-program_options --without-regex stage
   * .a : ./bjam --user-config=user-config.jam --layout=system
     variant=release threading=multi link=static runtime-link=static
     toolset=gcc threadapi=win32 --without-math --without-python
     --without-mpi --without-serialization --without-test
     --without-thread --without-wave --without-date_time
     --without-system --without-filesystem --without-graph
     --without-iostreams --without-program_options --without-regex stage
   * .lib : ./bjam --user-config=user-config.jam --layout=system
     variant=release threading=multi link=static runtime-link=static
     toolset=gcc target-os=windows threadapi=win32 --without-math
     --without-python --without-mpi --without-serialization
     --without-test --without-thread --without-wave --without-date_time
     --without-system --without-filesystem --without-graph
     --without-iostreams --without-program_options --without-regex stage

6/ execute i586-mingw32svc-ranlib on library

Ptlib/trunk is ok now. Next step opal/trunk :

[CC] src/codec/g711a1_plc.cxx
[AR] lib_mingw_x86/libopal_s.a
i586-mingw32msvc-ranlib /root/win32/opal/lib_mingw_x86/libopal_s.a
[LD] lib_mingw_x86/libopal.3.7-beta1.dll
/root/win32/opal/lib_mingw_x86/obj/connection.o:connection.cxx:(.text+0x3587): undefined reference to `OpalEchoCanceler::SetParameters(OpalEchoCanceler::Params const&)' /root/win32/opal/lib_mingw_x86/obj/connection.o:connection.cxx:(.text+0x35a3): undefined reference to `OpalEchoCanceler::SetClockRate(int)' /root/win32/opal/lib_mingw_x86/obj/pcss.o:pcss.cxx:(.text+0xcf0): undefined reference to `OpalEchoCanceler::OpalEchoCanceler()' /root/win32/opal/lib_mingw_x86/obj/pcss.o:pcss.cxx:(.text+0xe84): undefined reference to `OpalEchoCanceler::OpalEchoCanceler()'
collect2: ld returned 1 exit status
make[1]: *** [/root/win32/opal/lib_mingw_x86/libopal.3.7-beta1.dll] Error 1
make[1]: Leaving directory `/root/win32/opal'
make: *** [/root/win32/lib/libopal_s.a] Error 2




Great work on boost, I will try your approach tomorrow. As to the Opal error, give attached patch a try. It helped me.
Michael



--

Thierry Simonnet

ESIEE-Paris

Par respect pour l’environnement, n’imprimez ce mail que si nécessaire




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]