[Dillo-dev]AIX : illegal instruction
Hello, I compiled dillo 0.80 Jan-30 tarball after having applied the patches by Andreas (namely undefining func_data before ever gtk.h include) % grep func_data * browser.h:#undef func_data dns.h:#undef func_data web.h:#undef func_data 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 cheers, Riccardo
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.
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
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 ? Cheers, Andreas -- **************************** NEW ADDRESS ****************************** Hamburger Sternwarte Universitaet Hamburg Gojenbergsweg 112 Tel. ++49 40 42891 4016 D-21029 Hamburg, Germany Fax. ++49 40 42891 4198
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.-
Hi, On Sun, Feb 01, 2004 at 05:04:17PM +0100, Riccardo wrote:
Andreas Schweitzer wrote:
About the WAIT_ANY :
AIX didn't complain... the fix was for solaris.
:-) ... I only grep'ed through /usr/include and did not find it ...
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 ? Yes, that's all.
Maybe I should make clean and log the build output? Maybe some compiler warnings could be instructive.
At least check where the illegal instrucution comes from ... On Sun, Feb 01, 2004 at 12:27:11PM -0300, Jorge Arellano Cid wrote:
On Sun, 1 Feb 2004, Andreas Schweitzer wrote:
<problems about func_data and GTK in AIX ...>
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)
maybe that's why I kept the "patch" to myself :-) ... I used an older pre-packaged version of GTK and was too lazy to upgrade. And since Ricardo told us in another mail that he isn't using 1.2.10 either .... Cheers, Andreas -- **************************** NEW ADDRESS ****************************** Hamburger Sternwarte Universitaet Hamburg Gojenbergsweg 112 Tel. ++49 40 42891 4016 D-21029 Hamburg, Germany Fax. ++49 40 42891 4198
Andreas Schweitzer wrote:
At least check where the illegal instrucution comes from ...
the backtrace stopped there! that was the problem.
maybe that's why I kept the "patch" to myself :-) ... I used an older pre-packaged version of GTK and was too lazy to upgrade.
And since Ricardo told us in another mail that he isn't using 1.2.10 either .... I removed 1.2.9 and recompiled 1.2.10 and run also "make check" before installing. I tried building from a clean 30-Jan 0.8.0 tarball and it didn't work, I still get errors in the headers. I try applying your patch manually again and see if it helps.
-Ric
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.
AIX didn't complain... the fix was for solaris. Unfortunately it seems thjat I don't have the full developer manpages on AIX, so Ic ouldnt' check further.
*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 It should go into dillo... maybew check for AIX4 ? Is it possible? It should
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 ? Yes, that's all.
Maybe I should make clean and log the build output? Maybe some compiler warnings could be instructive. -Riccardo
participants (3)
-
Andreas Schweitzer
-
Jorge Arellano Cid
-
Riccardo