That's ok, I have solved the name clash and C test program works like charm now.
On Mon, Jun 18, 2012 at 7:02 AM, Milan Marković <firstname.lastname@example.org> wrote:
Actually, segfault was due to name clash.When I rename connect to connect_foo it works as expected. http://hpaste.org/70111So the bug is probably in gtk2hs.
The bug is that connect() is a name used by the sockets API; XOpenDIsplay() is trying to use it to connect to the X11 server socket. ("man 3 connect")--
brandon s allbery email@example.com
wandering unix systems administrator (available) (412) 475-9364 vm/sms