linphone-users
[Top][All Lists]
Advanced

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

[Linphone-users] trouble compiling 3.5.2 on Ubuntu Lucid


From: Liviu Andronic
Subject: [Linphone-users] trouble compiling 3.5.2 on Ubuntu Lucid
Date: Mon, 27 Feb 2012 13:55:23 +0100
User-agent: Opera Mail/11.61 (Linux)

Dear all
I am unable to compile Linphone 3.5.2 against Ubuntu Lucid, and at fault seems to be GKT 2.20.

The first issue concerns
gtk_assistant_commit()

which seems unavailable in GKT 2.20 and makes the compilation to fail. [1]
[1] https://launchpadlibrarian.net/94297156/buildlog_ubuntu-lucid-amd64.linphone_3.5.2-1~lucid~ppa1_FAILEDTOBUILD.txt.gz

  CC     setupwizard.o
gcc -DHAVE_CONFIG_H -I. -I.. -DIN_LINPHONE -I../coreapi/ -I../mediastreamer2/include -I../oRTP/include -Wall -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -DINET6 -g -O2 -c setupwizard.c
setupwizard.c: In function 'linphone_gtk_assistant_prepare':
setupwizard.c:406: warning: implicit declaration of function 'gtk_assistant_commit'
  CCLD   linphone
setupwizard.o: In function `linphone_gtk_assistant_prepare':
/build/buildd/linphone-3.5.2/gtk/setupwizard.c:406: undefined reference to `gtk_assistant_commit'
collect2: ld returned 1 exit status
make[4]: *** [linphone] Error 1


This can be worked around using the attached patch, which for better or worse simply comments out the call to this function. With the patch applied, the compilation finishes gracefully. However, linphone crashes at start-up:
(gdb) run
Starting program: /usr/bin/linphone
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffe7520700 (LWP 31354)]

** ERROR **: Couldn't load builder file: Unknown internal child: selection
aborting...

Program received signal SIGABRT, Aborted.
0x00007ffff400aa75 in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
        in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt
#0  0x00007ffff400aa75 in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff400e5c0 in *__GI_abort () at abort.c:92
#2  0x00007ffff43a333a in g_logv () from /lib/libglib-2.0.so.0
#3  0x00007ffff43a33d3 in g_log () from /lib/libglib-2.0.so.0
#4  0x0000000000414f64 in linphone_gtk_create_window (
    window_name=0x4264ed "main") at main.c:291
#5  0x0000000000415496 in main (argc=1, argv=0x7fffffffe348) at main.c:1732
(gdb) quit


I assume that this is related to the same GTK << 2.22 version, but I'm not sure how to deal with this issue.

To sum up, is Linphone still compatible with GTK 2.20 (and Ubuntu Lucid)? If so, could these issues be addressed?

Regards
Liviu


--
Using Opera's revolutionary email client: http://www.opera.com/mail/

Attachment: fix-compilation-against-gtk-2.20
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]