Re: g_printf undefined?



On Fri, May 16, 2003 at 19:50:46 +0200, Bj�Lindstr�rote:
> % gcc `pkg-config --cflags glib-2.0` -o hello hello.c

You're not linking with glib. 

$ gcc `pkg-config --cflags glib-2.0` -o hello hello.c `pkg-config --libs glib-2.0`.

Noah



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