compile errors in glib 1.2.9



When trying to make glib-1.2.9, gstrfuncs.c has some errors:

At line 1063: 'MB_LEN_MAX' undeclared. This can be fixed this by adding '#include <limits.h>' to the file.

At line 1352: parse error before ';'. This line assigns G_MAXINT to a variable. It appears that G_MAXINT is defined as INT_MAX which is defined as the maximum sized integer.

I'm a bit rusty in C and I'm unfamiliar with this app (and the other gtk+ modules). I hesitate to just start making changes to the code. I think that if the problems were really with gtk+, others would have found these errors before now.

My machine runs Red Hat 7.0 with the latest Ximian GNOME updates. I also have Nautilus, which means that I have to have at least gtk+ 1.2.9. I updated my system with Ximian's Red Carpet except where it wanted to install older versions of software that I already have.

I'd be very happy to have executables for glib, gdk and gtk as long as they were version 1.2.9. Does anyone know where I can get them or how I might have messed up my system?

I want to rewrite and upgrade a package I wrote in Delphi in C++ under Linux to be release under the GPL.

Thanks for your help.





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