Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2010 04:57 AM
тАО11-15-2010 04:57 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2010 06:59 AM
тАО11-15-2010 06:59 AM
Re: IA64
http://labs.hoffmanlabs.com/node/163
If that's not the particular "vector table" you're referring to, then please post a hunk of the Macro32 code involved; some additional background, context, and a reproducer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2010 07:46 AM
тАО11-15-2010 07:46 AM
Re: IA64
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2010 09:36 AM
тАО11-15-2010 09:36 AM
Re: IA64
.title lgi$loginout_callouts - data transfer vector holder definition
.ident /v1.4/
lgi$loginout_callouts::
.long 9
.address paalgi_init
.long 0
.address paalgi_decwinit
.address paalgi_identify
.address paalgi_authenticate
.long 0
.long 0
.address paalgi_logout
.long 0
.end
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2010 10:13 AM
тАО11-15-2010 10:13 AM
Re: IA64
So you need help declaring a VMS data structure.
For this case, I'd probably use the declarations that are present in LGIDEF, but that's your call.
Here's the data structure definition you're working with:
http://h71000.www7.hp.com/doc/731final/4493/4493pro_038.html
The necessary declarations are present in Macro32 library, in the Bliss library, and in the C library. Probably in various other language definition libraries, too.
Here's how to get a look at the C struct declaration:
$ lib sys$share:sys$lib_c.tlb/extr=LGIDEF/out=lgidef.h
Here's an introduction to C programming on VMS, and which includes a discussion of SYS$LIB_C.TLB:
http://labs.hoffmanlabs.com/node/273
Whomever coded that Macro32 module didn't do it using the system declarations (no big deal); that'd normally be a block buffer declaration (.blkb, probably) and then the Macro32 symbolic offsets from LGIDEF module. (There's no macro declaration, so what was done with that Macro32 code is functional.)
To that end, there are examples of referring to the *DEF modules in various Macro32 examples, including here:
SYS$EXAMPLES:LAT$RATING_DPT.MAR
SYS$EXAMPLES:PREFER.MAR
Those show DEF declarations, and the rest of the stuff.
.blkb LGI$S_LGIARG_VECTOR
I'd guess that the Macro32 compiler error you're hitting is related to a (missing) PSECT declaration, but I'd need to run a build on an Itanium to confirm that. Probably something like:
.PSECT $RWDATA,RD,WRT,NOEXE,NOSHR
needs to be added ahead of the declarations. But without an Itanium box and without the diagnostics, the specific error isn't clear. (That code should still build, so there's probably something pretty simple wrong with it.)
Here's an introduction to Macro32 programming on VMS:
http://labs.hoffmanlabs.com/node/1435
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2010 10:24 AM
тАО11-15-2010 10:24 AM
Re: IA64
See the C code example attached to my response in this thread:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1182554
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2010 12:48 PM
тАО11-15-2010 12:48 PM
Re: IA64
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2010 02:19 PM
тАО11-15-2010 02:19 PM
Re: IA64
First, welcome to the HP ITRC OpenVMS Forum.
So that we can understand precisely what is happening, it would be extremely helpful if you could post the precise error message that you are encountering.
An alignment problem can be addressed directly by properly aligning the PSECT or by using the .ALIGN macro directive.
More information would be extremely useful.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2010 04:57 PM
тАО11-15-2010 04:57 PM
Re: IA64
Please show use how you come to that conclusion.
The macro you present compiles to the exact same definitions/psects/references/aligment on Alpha as on Itanium. For yucks I tried using "AMAC V5.0-120" and "IMAC V5.0-120-4". They both generate a Psect: . BLANK . 00000028 (00040.) 01 (001.) NOPIC CON REL LCL NOSHR EXE RD WRT
Now as Hoff says, those Psect attribute may no longer be appropriate.
Have you read Jess's reply carefully? You only awared it 5-points suggesting it did not help, yet he points to a rather complete and working example.
Good luck!
Hein
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2010 03:51 AM
тАО11-16-2010 03:51 AM
SolutionThe C solution is perhaps the best though.
Dan