You are not logged in.

#1 2010-06-18 04:23:17

Cheifchimp
Member
From: Queensland Australia
Registered: 2009-05-07
Posts: 69

illegal instruction when gtk_init called.

today when I started working on my program in ajunta I did my usual make clean, make, make install before editing and the code that compiled and ran 2 days ago now gives illegal instruction and terminates when calling gtk_init() even though:

1 the code has not been touched between sessions;
2 calls to gtk_init() in small test progs are successful.

Where do I start looking for the cause?

Offline

#2 2010-06-20 06:13:40

Cheifchimp
Member
From: Queensland Australia
Registered: 2009-05-07
Posts: 69

Re: illegal instruction when gtk_init called.

UPDATE:
it appears the recent update to pkg-config may be part of the problem, recreating the package with anjuta changed the PKG_CHECK_MODULES line, changing the illegal instruction to a segfault and changing it back results in gtk.h & gdk.h not being found.

Offline

#3 2010-06-20 08:21:09

spctrl
Member
Registered: 2010-06-20
Posts: 32

Re: illegal instruction when gtk_init called.

Illegal instruction means you are ending up with compiled code that cannot be run on your CPU, most often this is due to trying to compile for SSE2 or something similar when it isn't available. I'd suspect broken sse2 detection or something like that.

Offline

Board footer

Powered by FluxBB