Riccardo, Andreas: On Sun, 1 Feb 2004, Andreas Schweitzer wrote:
Hi,
I followed the progress on the mailing list, but was always too late ;-) ...
About the WAIT_ANY : AIX 4.3.3 (and Ricardo's 4.2.X) indeed does not define WAIT_ANY. I checked man-pages on several OS's and neither says anything about this being standard, but all agree that "-1" is standard, so "-1" is probably the way to go.
That's what I put in CVS.
I compiled dillo 0.80 Jan-30 tarball after having applied the patches by Andreas (namely undefining func_data before ever gtk.h include)
I never dug deep enough to find out if this is the right way to solve this problem. Apparently, both AIX-internals and GTK define this "func_data", I only remember that the AIX definition was for something we don't need - but I don't remember the details.
% grep func_data * browser.h:#undef func_data dns.h:#undef func_data web.h:#undef func_data
*If* that ever wants to go into dillo, a cleaner way would be to enclose it in "#ifdef _AIX" - but I don't know about AIX5
AIX defines func_data in timer.h, and GTK also used it. Is an AIX/GTK problem and was solved in GTK+-1.2.10. (http://www.aoindustries.com/docs/glib-1.2.10/ChangeLog)
The compilation ends (although I saw some wanrings about vsnprintf implicitly declared...
But startup fails, GDB gives me the following: (gdb) bt #0 0x0 in ?? () from /usr/local/build/dillo-0.8.0-pre/src/./dillo
and now I'm lost ... is this all the output ?
Well, <q> dnl From: mlaster@metavillage.com (Mike Laster) dnl AIX 4.1.4.x does not have header files for snprintf/vsnprintf dnl So using the internal versions generates a load of warnings dnl during compile. </q> AFAIU it makes noise only. Cheers Jorge.-