Re: [GnomeMeeting-list] Problems with 'make'ing Ekiga 2.0.2



Damien Sandras a écrit :
Le mercredi 21 juin 2006 à 18:38 +0200, Andrew Myers a écrit :
I am running Mandrake 2006.0 on an x86-64 computer and kernel
2.6.12-18.

I had some problems with configure, but eventually got a clean result.
Now I am receiving the following error from 'make':

make[3]: Entering directory `/home/andrew/Download/ekiga-2.0.2/src'
... loads of messages ...
gui/chat.cpp: In function 'void
style_button_toggled_cb(GtkToggleButton*, void*)
':
gui/chat.cpp:925: error: cast from 'void*' to 'gint' loses precision
make[3]: *** [chat.o] Error 1

So far I have spent several hours getting this far and would quite
like to take a look at the finished product. Can anyone tell me what
this error is caused by?

I have checked the code and it looks correct, except if GPOINTER_TO_INT
is broken in your GLIB installation...

Hmmmm... GPOINTER_TO_INT ? An error with a cast from void* to gint losing precision ? And I notice you have a 64 bit computer?

I would say check if it wouldn't by chance be a glib bug.

What happens if you put the following in test.c :
#include <glib.h>

int
main (int argc, char *argv [])
{
  gpointer pointer;
  gint integer;

  integer = GPOINTER_TO_INT (pointer);

  return 0;
}

then try to compile it with :
gcc `pkg-config --cflags --libs glib-2.0` test.c -o test

?

Snark on #ekiga



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