Re: [gtk-list] problem compiling gtk+-1.2.5

Mohd. K. Kasmin wrote:
> got this error while compiling gtk+-1.2.5
>   testgtk.c:7771: `idle' redeclared as different kind of symbol
>   /usr/include/unistd.h:669: previous declaration of `idle'
>   testgtk.c:7771: warning: `idle' was declared `extern' and later `static'
> What should I do since I am not sure whether the `idle' in
> /usr/include/unistd.h refer to the same thing as the one in
> gtk+-1.2.5/gtk/testgtk.c
> Please help.
That happened here (Solaris 2.5.1), too.
Just rename ALL occurences of 'idle' in testgtk.c to
'testgtk_idle' and recompile testgtk.c.
Should work.

Better yet, the gtk developers should do this change, too.



Norbert Bladt		 Payphone Management System Software Development
ascom Autelca AG
Worbstrasse 201		 CH-3073 Guemligen, Switzerland VOICE: +41 31 999 6552, FAX: +41 31 999 6575

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