home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.claremont.edu!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL
- From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
- Newsgroups: comp.os.vms
- Subject: Re: Alternative callable editors in MAIL?
- Date: 3 Jan 1993 09:04:20 GMT
- Organization: HST Wide Field/Planetary Camera
- Lines: 23
- Distribution: world
- Message-ID: <1i6a6kINNrct@gap.caltech.edu>
- References: <34147@twics.co.jp> <1992Dec25.234751.5910@ais.com> <1992Dec26.185949.27176@engage.pko.dec.com> <1992Dec26.213721.5913@ais.com> <1992Dec28.172127.10392@engage.pko.dec.com>,<34364@twics.co.jp>
- Reply-To: carl@SOL1.GPS.CALTECH.EDU
- NNTP-Posting-Host: sol1.gps.caltech.edu
-
- In article <34364@twics.co.jp>, burress@twics.co.jp (Tim Burress) writes:
- >One thing I noticed was that it is apparently a requirement that a transfer
- >vector be specified, at least for software written in VAX-C. Without it I
- >consistently got the "Key not found in tree" error, no matter what I named
- >the routine, but perhaps this has to do with the way C defines the attributes
- >of its routines?
-
- What you need to do is to make the entry point a universal symbol. One way to
- do this (as you've discovered) is to link the program with a MACRO32 program
- that defines transfer vectors. Another way, which doesn't use transfer
- vectors, is to use a linker options file, specifying:
-
- UNIVERSAL=entry_point
-
- for all the entry points you want to use.
- --------------------------------------------------------------------------------
- Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL
-
- Disclaimer: Hey, I understand VAXen and VMS. That's what I get paid for. My
- understanding of astronomy is purely at the amateur level (or below). So
- unless what I'm saying is directly related to VAX/VMS, don't hold me or my
- organization responsible for it. If it IS related to VAX/VMS, you can try to
- hold me responsible for it, but my organization had nothing to do with it.
-