Hi Peter, Thanks for you help.
On my Ubuntu 64bit this example works fine with 'gtk_main_iteration' - so can you tell me which version of Linux you are using, which GNU awk?
I also use Ubuntu 64bit:
Linux heimdal 2.6.24-19-generic #1 SMP Wed Aug 20 17:53:40 UTC 2008 x86_64 GNU/Linuxuname -a
awk --version
GNU Awk 3.1.6 This is what System -> About Ubuntu says: Thank you for your interest in Ubuntu 8.04 - the Hardy Heron - released in April 2008. This is what Update Manager says: Your system is up-to-date The package information was last updated 1 days ago New distribution release '10.04.1 LTS' is available --- I will try again on a machine running 10.04.1 LTS when I get a chance. ---To double check, I tried two Fedora 14 installations, but could not even compile gtk-server:
env CPPFLAGS=-I/usr/lib64/libffi-3.0.9/include ./configure
... checking ffi.h usability... yes checking ffi.h presence... yes checking for ffi.h... yes ... Now run 'make' and 'make install' to build and install the GTK-server.
make
.../usr/bin/ld: gtk-server.o: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'
On one Fedora 14, I got the "undefined reference to dlsym@@GLIBC_2.2.5" message above. On another Fedora 14 I was just told that dlopen, dlerror, etc. were undefined. Things like
env CPPFLAGS="-I/usr/lib64/libffi-3.0.9/include -L/usr/lib64" \ ./configure
did not help. I will dig more into this.All this is a bit strange, since I have used gtk-server on several older systems without any problems at all.
---
Anyway, the 'gtk_main_iteration' normally is not used in a mainloop - just forget about it...
OK, I will. Thanks for you help. Cheers, Klaus