T.R | Title | User | Personal Name | Date | Lines |
---|
768.1 | Can't link POSIX app against CRTLOBJECT | ZYDECO::BODA | Realtime Expertise Center | Mon Apr 28 1997 13:29 | 14 |
| Hi Jean-Pierre,
You are correct. That's against the rules.
As a reference, check section 2.1.2 of the VAXELN Guide to Using POSIX:
"Unlike tradtional VAXELN programs, POSIX programs cannot be linked
against the object library CRTLOBJECT."
Also, I may have misunderstood your note, but you don't want to link a program
against both CRTLSHARE *and* CRTLOBJECT.
Regards,
Alan
|
768.2 | Clash alert. | ZYDECO::BODA | Realtime Expertise Center | Mon Apr 28 1997 13:31 | 4 |
| Alright Mike! We must be on the same wavelength, down to quoting
the same text!
/atb
|
768.3 | | HELIX::MIANO | My parents think I'm in college | Mon Apr 28 1997 13:32 | 1 |
| I deleted mine. It was too spooky.
|
768.4 | | ZYDECO::BODA | Realtime Expertise Center | Mon Apr 28 1997 13:40 | 5 |
| Doubly spooky. I could have sworn that
I saw a reply from you as I hit the "next unseen".
Then it *disappeared* like a ghost :-o
/atb
|
768.5 | Here are some comments. | AUBER::COSTEUX | Le Plat Pays qui est le mien... | Tue Apr 29 1997 06:54 | 8 |
| Thanks all.
The customer needs to link with CRTLOBJECT because his application
calls INIT and Mount/Dismount devices routines included in this
library. He also calls the Posix CLOCK_GETTIME routine. So is the
reason why he gets these errors.
Is there a solution?
Jean-Pierre
|
768.6 | | HELIX::MIANO | My parents think I'm in college | Tue Apr 29 1997 11:48 | 14 |
| > The customer needs to link with CRTLOBJECT because his application
> calls INIT and Mount/Dismount devices routines included in this
> library.
Hmmm, I don't think any of these would be in CRTLOBJECT.
The example I'm using with clock_gettime() links correctly with
psxshare, rtlshare and rtl. However, this may not work in all cases.
You may need crtlshare sometime.
I wonder if the /INCLUDE feature of the linker might help them avoid
multiple symbols. There's a whole section on linking in the System
Development Guide. There's also a whole book on linking in the VMS doc
set.
|