Re: [Ekiga-devel-list] undefined reference to `g_timeout_add_seconds'



On Thu, May 6, 2010 at 7:44 AM, Eugen Dedu
<Eugen Dedu pu-pm univ-fcomte fr> wrote:
> On 06/05/10 08:30, Rohit Negi wrote:
>>
>> Hi,
>>      I am using centos 5.4 and trying to compile ekiga3.2.6 source code
>> .It
>> configured correctly but on make giving following error:
>>
>> [root nsg-corporate-150 ekiga-3.2.6]# make
>> .........
>> ......
>>  ekiga-helper dbus-helper.o  -L/lib -ldbus-glib-1 -ldbus-1 -lgobject-2.0
>> -lglib-2.0 -lresolv -pthread
>> dbus-helper.o: In function `g_once_init_enter':
>> /usr/include/glib-2.0/glib/gthread.h:347: undefined reference to
>> `g_once_init_enter_impl'
>> dbus-helper.o: In function `helper_get_type()':
>> /root/rohit/ekiga/ekiga1/ekiga-3.2.6/src/dbus-helper/dbus-helper.cpp:83:
>> undefined reference to `g_once_init_leave'
>> dbus-helper.o: In function `main':
>> /root/rohit/ekiga/ekiga1/ekiga-3.2.6/src/dbus-helper/dbus-helper.cpp:204:
>> undefined reference to `g_timeout_add_seconds'
>> collect2: ld returned 1 exit status
>> make[3]: *** [ekiga-helper] Error 1
>> make[3]: Leaving directory `/root/rohit/ekiga/ekiga1/ekiga-3.2.6/src'
>> make[2]: *** [all] Error 2
>> make[2]: Leaving directory `/root/rohit/ekiga/ekiga1/ekiga-3.2.6/src'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/root/rohit/ekiga/ekiga1/ekiga-3.2.6'
>> make: *** [all] Error 2
>>
>>
>> please give any solution.
>
> For the moment, re-configure with --disable-dbus.  I will find out where the
> error is later.

Its because the glib in RHEL-5 and associated it too old. The
g_timeout_add_seconds was added at some point for apps that didn't
need exact timers to allow all the apps to wake up at the same time to
improve power saving.

Peter


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