From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: Zsh hackers list <zsh-workers@sunsite.dk>
Subject: Re: 4.2.0-pre-3; HP-UX
Date: Wed, 10 Mar 2004 19:08:38 +0100 [thread overview]
Message-ID: <4024.1078942118@trentino.logica.co.uk> (raw)
In-Reply-To: <6316.1078935662@csr.com>
Peter wrote:
> > Warning 942: "module.c", line 429 # Types 'void *' and 'int' are not
> > assignment-compatible.
> > ret = dlopen(unmeta(buf), RTLD_LAZY | RTLD_GLOBAL);
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> Looks like a missing header.
This led me to the problem. It was including dl.h (which contains all
the shl_* functions) instead of dlfcn.h.
With the following patch, the modules now all load and seem to work.
It still isn't 100% though judging by make check.
./A01grammar.ztst: starting.
sh[2]: 14893 Bus error(coredump)
and A04 hangs.
but I'm off home now so that (and the signals stuff) will have to wait.
Oliver
Index: module.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/module.c,v
retrieving revision 1.12
diff -u -r1.12 module.c
--- module.c 29 Oct 2003 19:17:30 -0000 1.12
+++ module.c 10 Mar 2004 17:55:12 -0000
@@ -349,7 +349,7 @@
#else
#ifdef HAVE_DLFCN_H
-# if defined(HAVE_DL_H) && defined(__hpux)
+# if defined(HAVE_DL_H) && defined(HPUXDYNAMIC)
# include <dl.h>
# else
# include <dlfcn.h>
next prev parent reply other threads:[~2004-03-10 18:09 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20681.1078496403@csr.com>
2004-03-08 19:34 ` Paul Ackersviller
2004-03-09 12:17 ` Peter Stephenson
2004-03-09 15:25 ` Bart Schaefer
2004-03-09 16:00 ` Clint Adams
2004-03-09 16:06 ` Bart Schaefer
2004-03-09 16:11 ` Clint Adams
2004-03-10 16:05 ` Oliver Kiddle
2004-03-10 16:21 ` Peter Stephenson
2004-03-10 17:43 ` Oliver Kiddle
2004-03-10 18:08 ` Oliver Kiddle [this message]
2004-03-10 4:27 ` Paul Ackersviller
2004-03-10 11:01 ` Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4024.1078942118@trentino.logica.co.uk \
--to=okiddle@yahoo.co.uk \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).