Problem with building a non-shareable QKDRIVER
Hamilton, Allison
Allison.Hamilton@Cognos.COM
Thu, 3 May 2001 10:51:26 -0400
The dalock objects should be built with DECC since at least 710Gn on both
platforms. We no longer use VAXC.
-----Original Message-----
From: Chris Sharman [mailto:Chris.Sharman@ccagroup.co.uk]
Sent: Thursday, May 03, 2001 6:34 AM
To: RessingM@unive.nl
Cc: Chris.Sharman@ccagroup.co.uk; powerh-l@lists.swau.edu
Subject: RE: Problem with building a non-shareable QKDRIVER
> we are using PH 7.10F2 on Open VMS for Alpha 7.1.
> Because we are having some trouble with external routines (C-routines) we
> tried to build the QKDRIVER as non-shareable instead of shareable.
> We didn't manage to do that because after calling 'buildexternal' with the
> '/noshare' flag we get the following error:
Non-shareable won't work.
An image is either shareable or executable, and you can only run one
executable
at a time (eg QUICKA710F.EXE) - the images it links to must be shareable.
Shareable images by definition don't (mustn't) have a main() program, just
some
functions of global scope, declared as universal by a symbol_vector in the
linker options file.
I've never used buildexternal myself: I just link my own shareable images,
and
I've never had any trouble.
In the past I've used ph_location:dalock.aobj (which I don't recommend).
I've run into conflict between VAXC & DECC. (I think DALOCK used to be
VAXC).
I used to use the following in my linker options files:
sys$share:vaxcrtl/share
psect_attr=userbreak,noshr ! from DALOCK/VAXC
but no longer need it, apparently (710G3, Alpha VMS 7.1).
We're mostly Pascal here, rather than C, but we do have one DECC module I
can
think of which we've successfully put into a QKDRIVER image & called from
Quick.
If you need more specific help, you'll have to more clearly describe your
problems.
Regards,
Chris Sharman
_______________________________________________________________________
Chris.Sharman@CCAgroup.co.uk http://www.ccagroup.co.uk/
CCA Stationery Ltd, Eastway, Fulwood, Preston, Lancashire, PR2 9WS.
-----------------------------------------------------------------------
Any views expressed in this message are those of the sender and not
necessarily those of CCA Group. The unauthorized use, disclosure,
copying or alteration of this message is forbidden. The contents of
this message may be confidential and/or privileged, copyright CCA Group
and are intended solely for the use of the individual or entity to whom
they are addressed. Whilst this message has been scanned, CCA Group
cannot guarantee that it is virus free or compatible with your systems
and accepts no responsibility for any loss or damage arising from its
use. The recipient is advised to run their own anti-virus software. If
you receive this message in error please contact
postmaster@ccagroup.co.uk immediately, destroy any copies and delete it
from your computer systems.
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe" in message body to
powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.