gcc 3.4.1 vs glib 1.2.10
I'm trying to get GTK+1.2.10 installed under Mandrake 10.1. I'm having some fun trying to get glib 1.2.10 up and running first (I think it's a pre-requisite for gtk+). I've got gcc 3.4.1 as the compiler, and I'm getting a number of errors (see below), that according to a quick bit of googling, appear to be caused by the later version of gcc.
Being a complete n00b, how would I get an earlier version of gcc, and how do I get glib to be compiled by it? There's talk of patches as well for gcc 3.4.x, but that just confuses me. Any ideas? So much to learn, so much time. TIA --- Glib error message, in part: gstrfuncs.c: In function `g_printf_string_upper_bound': gstrfuncs.c:870: error: syntax error before string constant gstrfuncs.c:1037: error: syntax error before string constant gstrfuncs.c:1080: error: syntax error before string constant gstrfuncs.c:1111: error: syntax error before string constant |
Patching isnt that difficult, in your case there's an example online at the LFS website that fixes this very problem.
See here http://www.linuxfromscratch.org/blfs...eral/glib.html HTH Mad. |
Many thanks. Got there in the end...
|
All times are GMT -5. The time now is 01:48 PM. |