RE: fork

> > It **is** thread safe. Read section 5.2 of the GTK+ FAQ.
>   I try compile code from section 5.2 with small 
> modifications and I get:
>   /tmp/cc3m4UVu.o: In function `main':
>   /tmp/cc3m4UVu.o(.text+0xc): undefined reference to `g_thread_init'
>   collect2: ld returned 1 exit status

This caught me out too... try this in your compile line:

`gtk-config --cflags --libs gthread` instead!


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