Compilation of gtk+ 1.2.5 stopped with error:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H 
-DGTK_EXE_PREFIX=\"/usr/local\" -DGTK_DATA_PREFIX=\"/usr/local\" 
-DGTK_SYSCONFDIR=\"/usr/local/etc\" -DGTK_LOCALEDIR=\"/usr/local/lib/locale\" -I.. 
-DGTK_NO_CHECK_CASTS -DUSE_X
IM -I/usr/local/lib/glib/include -I/usr/local/include -D_REENTRANT 
-I/usr/X11R6/include    -O6 -mpentium -fomit-frame-pointer -fexpensive-optimizations 
-ffast-math -Wall -c testgtk.c
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'
make[2]: *** [testgtk.o] Error 1

Linux 2.0.37, gcc 2.95.1
Anybody had this problem ?

        Regards,

                Oleg

_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: [EMAIL PROTECTED], http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

Reply via email to