* 3.1.6-pre-1 on HP-UX 11.00
@ 1999-07-16 15:56 Ollivier Robert
1999-07-16 16:00 ` Peter Stephenson
0 siblings, 1 reply; 3+ messages in thread
From: Ollivier Robert @ 1999-07-16 15:56 UTC (permalink / raw)
To: ZSH workers mailing list
I have an HP B180 machine, running 11.00 and I'm trying to compile
3.1.6-pre-1 (with all posted patches !) on it.
HP-UX phoenix B.11.00 A 9000/778 2013469087 two-user license
With both cc (unbundled ANSI C compiler) and gcc (EGCS 1.1.2), it fails
while trying to compile the loadable modules with the following
error. Shouldn't configure disable loadable modules on HP-UX 11 or is there
a bug somewhere ?
cc -c -I. -DHAVE_CONFIG_H +O2 -o module.o module.c
cc: "module.c", line 306: error 1000: Unexpected symbol: ")".
cc: "module.c", line 306: error 1588: "shl_t" undefined.
cc: "module.c", line 306: error 1588: "TYPE_UNDEFINED" undefined.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
It compiles fine with --disable-dynamic.
3.1.6-pre-1 (again with all patches so far) is running fine here under
FreeBSD 4.0.
FreeBSD caerdonn.eurocontrol.fr 4.0-CURRENT FreeBSD 4.0-CURRENT #4: Tue Jun 22 10:20:38 CEST 1999 roberto@caerdonn.eurocontrol.fr:/src/src/sys/compile/nCAERDONN i386
--
Ollivier ROBERT -=- Eurocontrol EEC/TEC -=- roberto@eurocontrol.fr
The Postman hits! The Postman hits! You have new mail.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 3.1.6-pre-1 on HP-UX 11.00
1999-07-16 15:56 3.1.6-pre-1 on HP-UX 11.00 Ollivier Robert
@ 1999-07-16 16:00 ` Peter Stephenson
1999-07-19 7:45 ` Ollivier Robert
0 siblings, 1 reply; 3+ messages in thread
From: Peter Stephenson @ 1999-07-16 16:00 UTC (permalink / raw)
To: Ollivier Robert, Zsh hackers list
Ollivier Robert wrote:
> I have an HP B180 machine, running 11.00 and I'm trying to compile
> 3.1.6-pre-1 (with all posted patches !) on it.
>
> HP-UX phoenix B.11.00 A 9000/778 2013469087 two-user license
>
> With both cc (unbundled ANSI C compiler) and gcc (EGCS 1.1.2), it fails
> while trying to compile the loadable modules with the following
> error. Shouldn't configure disable loadable modules on HP-UX 11 or is there
> a bug somewhere ?
So far as I'm aware, you're the first person to try it under HP-UX 11
(unlucky) so I have no idea what should happen. It looks like you have
HPUXDYNAMIC defined, which means there's no dlopen() etc., but there is
shl_load(), etc., which suggests it isn't that different from HP-UX 10
(and if one of those statements is wrong it would be interesting to know
why).
Ideally, we'd like to know what to change. A quick look at HP doesn't seem
to throw up the relevant docs, so if anyone can help --- the shl_load,
shl_unload and shl_findsym manual pages might just be enough.
--
Peter Stephenson <pws@ibmth.df.unipi.it> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 3.1.6-pre-1 on HP-UX 11.00
1999-07-16 16:00 ` Peter Stephenson
@ 1999-07-19 7:45 ` Ollivier Robert
0 siblings, 0 replies; 3+ messages in thread
From: Ollivier Robert @ 1999-07-19 7:45 UTC (permalink / raw)
To: Zsh hackers list
According to Peter Stephenson:
> (unlucky) so I have no idea what should happen. It looks like you have
> HPUXDYNAMIC defined, which means there's no dlopen() etc., but there is
> shl_load(), etc., which suggests it isn't that different from HP-UX 10
> (and if one of those statements is wrong it would be interesting to know
> why).
After looking into it, there is dlopen(3) in HP-UX 11.00... :-)
dlopen(3C) dlopen(3C)
NAME
dlopen - open a shared object
SYNOPSIS
cc [flag ... ] file ... -ldl [library] ...
#include <dlfcn.h>
void *dlopen(const char *file, int mode);
They even now seem to support LD_LIBRARY_PATH...
--
Ollivier ROBERT -=- Eurocontrol EEC/TEC -=- roberto@eurocontrol.fr
The Postman hits! The Postman hits! You have new mail.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-07-19 7:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-16 15:56 3.1.6-pre-1 on HP-UX 11.00 Ollivier Robert
1999-07-16 16:00 ` Peter Stephenson
1999-07-19 7:45 ` Ollivier Robert
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).