Re: glib problem with glibc 2.1 ?
On 15 Mar 1999, Frozen Rose wrote:
>
> In article <[🔎] 19990315223320.A5324@k6.resI.insa-lyon.fr>,
> Raphael Hertzog <rhertzog@hrnet.fr> wrote:
>
> >I wonder if I've done something wrong, but I'm not able to make work
> >a simple program like this one :-)
> >
> >#include <stdio.h>
> >#include <glib.h>
> >
> >int main (int argc, char *argv[], char *env[])
> >{
> > g_print ("Hello world !\n");
> >
> > exit(0);
> >}
> >
>
> Istr that a glibc2.0-compile libglib will choke a glibc2.1 system in,
> you got it, g_print (or g_printv istr...)
>
> I don't think I found it why... relying on the size of a struct FILE
> was all I could think of... But I was getting segfaults every time a
> GNOME application tried to print something out until I recompiled
> libglib.
Aha.
Thanks for this. I was tearing my hair out over this one!
Jules
/----------------+-------------------------------+---------------------\
| Jelibean aka | jules@jellybean.co.uk | 6 Evelyn Rd |
| Jules aka | jules@debian.org | Richmond, Surrey |
| Julian Bean | jmlb2@hermes.cam.ac.uk | TW9 2TF *UK* |
+----------------+-------------------------------+---------------------+
| War doesn't demonstrate who's right... just who's left. |
| When privacy is outlawed... only the outlaws have privacy. |
\----------------------------------------------------------------------/
Reply to: