Re: [Ekiga-devel-list] mingw, ekiga trunk



I switch my development environment to Trunk.
First of all, I work with Debian/Gnu Linux sid.

Makefile needs some work because opal ant ptlib version are not up to date.
Debian sid specific :
  • wiki package list is OK
  • aclocal and automake version must be set to 1.10 (both)
Ekiga 3.1 specific:
  • opal version must be set to 3.5.2
  • ptlib version must be set to 2.5.2
Yesterday night the win32 tree without any patch gave me :

/root/win32/opal/lib_mingw_x86/obj_d/vidcodec.o  /root/win32/opal/lib_mingw_x86/obj_d/rfc4175.o  /root/win32/opal/lib_mingw_x86/obj_d/g711a1_plc.o  /root/win32/opal/lib_mingw_x86/obj_d/speex_preprocess.o  /root/win32/opal/lib_mingw_x86/obj_d/smallft.o  /root/win32/opal/lib_mingw_x86/obj_d/misc.o  /root/win32/opal/lib_mingw_x86/obj_d/mdf.o  /root/win32/opal/lib_mingw_x86/obj_d/math_approx.o  /root/win32/opal/lib_mingw_x86/obj_d/kiss_fftr.o  /root/win32/opal/lib_mingw_x86/obj_d/kiss_fft.o  /root/win32/opal/lib_mingw_x86/obj_d/fftwrap.o  -L/root/win32/lib -lpt_d -lwinmm -lwsock32 -lsnmpapi -lmpr -lcomdlg32 -lgdi32 -lavicap32 -liphlpapi -lole32 -lregex -lexpat -ldnsapi
Info: resolving vtable for PObjectby linking to __imp___ZTV7PObject (auto-import)
Info: resolving vtable for PSmartPointerby linking to __imp___ZTV13PSmartPointer (auto-import)
Info: resolving vtable for PIPSocket::Addressby linking to __imp___ZTVN9PIPSocket7AddressE (auto-import)
Info: resolving vtable for PTimeby linking to __imp___ZTV5PTime (auto-import)
Info: resolving vtable for PTimeIntervalby linking to __imp___ZTV13PTimeInterval (auto-import)
Info: resolving vtable for PContainerby linking to __imp___ZTV10PContainer (auto-import)
Info: resolving vtable for PAbstractArrayby linking to __imp___ZTV14PAbstractArray (auto-import)
Info: resolving vtable for PCharArrayby linking to __imp___ZTV10PCharArray (auto-import)
Info: resolving vtable for PStringby linking to __imp___ZTV7PString (auto-import)
Info: resolving vtable for PCaselessStringby linking to __imp___ZTV15PCaselessString (auto-import)
Info: resolving vtable for PFilePathby linking to __imp___ZTV9PFilePath (auto-import)
Info: resolving vtable for PBYTEArrayby linking to __imp___ZTV10PBYTEArray (auto-import)
Info: resolving vtable for PCollectionby linking to __imp___ZTV11PCollection (auto-import)
Info: resolving vtable for PArrayObjectsby linking to __imp___ZTV13PArrayObjects (auto-import)
Info: resolving vtable for PStringArrayby linking to __imp___ZTV12PStringArray (auto-import)
Info: resolving vtable for PAbstractListby linking to __imp___ZTV13PAbstractList (auto-import)
Info: resolving vtable for PHashTableby linking to __imp___ZTV10PHashTable (auto-import)
Info: resolving vtable for PAbstractDictionaryby linking to __imp___ZTV19PAbstractDictionary (auto-import)
Info: resolving vtable for PTextFileby linking to __imp___ZTV9PTextFile (auto-import)
Info: resolving VTT for PTextFileby linking to __imp___ZTT9PTextFile (auto-import)
Info: resolving vtable for PSyncPointby linking to __imp___ZTV10PSyncPoint (auto-import)
Info: resolving vtable for PStringToStringby linking to __imp___ZTV15PStringToString (auto-import)
Info: resolving vtable for PStringListby linking to __imp___ZTV11PStringList (auto-import)
Info: resolving vtable for PGloballyUniqueIDby linking to __imp___ZTV17PGloballyUniqueID (auto-import)
Info: resolving vtable for PSafeObjectby linking to __imp___ZTV11PSafeObject (auto-import)
Info: resolving vtable for POrdinalKeyby linking to __imp___ZTV11POrdinalKey (auto-import)
Info: resolving vtable for PAbstractSortedListby linking to __imp___ZTV19PAbstractSortedList (auto-import)
Info: resolving vtable for PTCPSocketby linking to __imp___ZTV10PTCPSocket (auto-import)
Info: resolving VTT for PTCPSocketby linking to __imp___ZTT10PTCPSocket (auto-import)
Info: resolving vtable for POrdinalToStringby linking to __imp___ZTV16POrdinalToString (auto-import)
Info: resolving vtable for PASN_Objectby linking to __imp___ZTV11PASN_Object (auto-import)
Info: resolving vtable for PASN_ConstrainedObjectby linking to __imp___ZTV22PASN_ConstrainedObject (auto-import)
Info: resolving vtable for PASN_Integerby linking to __imp___ZTV12PASN_Integer (auto-import)
Info: resolving vtable for PASN_OctetStringby linking to __imp___ZTV16PASN_OctetString (auto-import)
Info: resolving vtable for PASN_BitStringby linking to __imp___ZTV14PASN_BitString (auto-import)
Info: resolving vtable for PASN_Sequenceby linking to __imp___ZTV13PASN_Sequence (auto-import)
Info: resolving vtable for PASN_Enumerationby linking to __imp___ZTV16PASN_Enumeration (auto-import)
Info: resolving vtable for PASN_Booleanby linking to __imp___ZTV12PASN_Boolean (auto-import)
Info: resolving vtable for PASN_Arrayby linking to __imp___ZTV10PASN_Array (auto-import)
Info: resolving vtable for PASN_ConstrainedStringby linking to __imp___ZTV22PASN_ConstrainedString (auto-import)
Info: resolving vtable for PASN_NumericStringby linking to __imp___ZTV18PASN_NumericString (auto-import)
Info: resolving vtable for PASN_BMPStringby linking to __imp___ZTV14PASN_BMPString (auto-import)
Info: resolving vtable for PASN_ObjectIdby linking to __imp___ZTV13PASN_ObjectId (auto-import)
Info: resolving vtable for PASN_VisibleStringby linking to __imp___ZTV18PASN_VisibleString (auto-import)
Info: resolving vtable for PASN_Nullby linking to __imp___ZTV9PASN_Null (auto-import)
Info: resolving vtable for PASN_IA5Stringby linking to __imp___ZTV14PASN_IA5String (auto-import)
Info: resolving vtable for PASN_PrintableStringby linking to __imp___ZTV20PASN_PrintableString (auto-import)
Info: resolving vtable for PASN_GeneralStringby linking to __imp___ZTV18PASN_GeneralString (auto-import)
Info: resolving vtable for PURLby linking to __imp___ZTV4PURL (auto-import)
Info: resolving vtable for PAbstractSetby linking to __imp___ZTV12PAbstractSet (auto-import)
Info: resolving vtable for PStringSetby linking to __imp___ZTV10PStringSet (auto-import)
Info: resolving vtable for PASN_Streamby linking to __imp___ZTV11PASN_Stream (auto-import)
Info: resolving vtable for PPER_Streamby linking to __imp___ZTV11PPER_Stream (auto-import)
Info: resolving vtable for PSortedStringListby linking to __imp___ZTV17PSortedStringList (auto-import)
Info: resolving vtable for PMessageDigestby linking to __imp___ZTV14PMessageDigest (auto-import)
Info: resolving vtable for PMessageDigest5by linking to __imp___ZTV15PMessageDigest5 (auto-import)
Info: resolving vtable for PTimerby linking to __imp___ZTV6PTimer (auto-import)
Info: resolving vtable for PMIMEInfoby linking to __imp___ZTV9PMIMEInfo (auto-import)
Info: resolving vtable for PReadWriteMutexby linking to __imp___ZTV15PReadWriteMutex (auto-import)
Info: resolving vtable for PPluginModuleManagerby linking to __imp___ZTV20PPluginModuleManager (auto-import)
Info: resolving vtable for PDirectoryby linking to __imp___ZTV10PDirectory (auto-import)
Info: resolving vtable for PUDPSocketby linking to __imp___ZTV10PUDPSocket (auto-import)
Info: resolving VTT for PUDPSocketby linking to __imp___ZTT10PUDPSocket (auto-import)
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/bin/ld: warning: auto-importing has been activated without --enable-auto-import specified on the command line.
This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.rm -f /root/win32/opal/lib_mingw_x86/libopal_d.dll ; ln -sf  libopal_d.3.5.2.dll /root/win32/opal/lib_mingw_x86/libopal_d.dll
make[2]: Entering directory `/root/win32/opal/plugins'
make[3]: Entering directory `/root/win32/opal/plugins/audio/G722'
i586-mingw32msvc-gcc -mms-bitfields -g  -I../../../include   -g3 -ggdb -O0 -D_DEBUG -I/root/win32/include -march=pentium-mmx -DPTRACING -Wall -Wextra -Winit-self -Wstrict-aliasing=2 -Wfloat-equal -Wno-comment -Wno-missing-field-initializers -Wno-unused  -mms-bitfields -DPTRACING=1 -fno-exceptions -I/root/win32/include   -I/root/win32/opal/include -c g722codec.c -o obj/g722codec.o
g722codec.c:155: warning: missing braces around initializer
g722codec.c:155: warning: (near initialization for âg722CodecDefn[0].parmâ)
g722codec.c: In function âPWLibPlugin_GetAPIVersionâ:
g722codec.c:208: error: âPWLibPlugin_GetAPIVersionâ: definition is marked as dllimport
make[3]: *** [obj/g722codec.o] Error 1
make[3]: Leaving directory `/root/win32/opal/plugins/audio/G722'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/win32/opal/plugins'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/root/win32/opal'
make: *** [/root/win32/lib/libopal_s.a] Error 2

Earlier version of opal are compiling (with minor corrections). I will sync my tree this afternoon and will continue.
I have a dedicated platform for this and can make feedbacks daily.

Thierry

Michael Cronenworth a écrit :
TRUNK doesn't build or run well. After hours of messing with it I'm giving up until I can get some assistance. Here's the issues I've encountered.

Ptlib
-The svcproc patch is no longer necessary. You applied it to trunk, but it wasn't needed. Please revert the patch.
-ptlib/include/ptlib/msos/ptlib/contain.h is exposing WINVER of 0x0500, when it should be 0x0501 to compile with the changes in ptlib/src/ptlib/msos/ethsock.cxx
-The PTimeParse symbol is still not being compiled correctly. I'm having to use a stub.

Opal
-Missing the configure test changes. This is known already.
#include <SDL/SDL.h>
int main(int argc, char *argv[])
instead of
int main()

Ekiga
-ekiga/lib/platform/platform-win32.c needs a one line change. The g_win32_get_package_installation_directory_of_module() function only takes one argument. GTK doc link[1].
-If I enable LDAP, SASL support is requested. Two SASL function calls are being made when support is not available in mingw. I spent a few hours trying to get a libsasl2.dll but it was fruitless. Cyrus-SASL is meant for Cygwin and not mingw. The two offending calls were sasl_client_init() and sasl_global_list_mech(). I noticed a "FIXME" on the init call. I disabled LDAP support for now.

With those changes made... Ekiga 3.1.1 builds and runs, but it does not register and crashes on exit. I'm attaching a debug log of that.


[1] http://library.gnome.org/devel/glib/stable/glib-Windows-Compatibility-Functions.html#g-win32-get-package-installation-directory-of-module

_______________________________________________ Ekiga-devel-list mailing list Ekiga-devel-list gnome org http://mail.gnome.org/mailman/listinfo/ekiga-devel-list
--

Thierry Simonnet
ESIEE – Paris

Environnement 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]