On Thu, 8 Sep 2005 23:53:00 -0400, Jeff Kell <[log in to unmask]> wrote:
>Having a weird issue. A [relatively] new programmer in our shop has some
code he is trying to link with some of my ancient history XL code. Not
sure what 'mode' he's compiling in, my old stuff was ccopts='-Aa'.
>
>I don't think it has anything to do with the XLs as this is just a link
(not a run). Looks like a C/iX issue but I've been away too long :-)
>
>HP Link Editor/iX (HP30315A.06.24) Copyright Hewlett-Packard Co 1986
>
>LinkEd> link from=prnxml; rl=^ccstdrl.lib.sys;
xl=xlrap.rap,xlutc.pub.sys,xlstub.pub.sys; to=pweb; cap=ia,ba,ph
>UNSATISFIED SYMBOLS: (LINKERR 1006)
>__ctype (DATA)
>__ANSI_MODE (DATA)
>LINK FAILED (LINKERR 1116)
>
>Program terminated in an error state. (CIERR 976)
>
>Ideas?
>
>Jeff
>
>* To join/leave the list, search archives, change list settings, *
>* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
Somewhere in the RL or program, there is code written in HP C. The
HP C/XL product includes a number of RL files which contain the standard
C libraries (for instance stdio.h,mpe.h,string.h,ctype.h). If you
include one of the following standard libraries in your RL list the
link will complete without error:
LIBCINIT.LIB.SYS or
LIBC.LIB.SYS
The other HP C/XL libraries are:
LIBCANSI.LIB.SYS
LIBCRAND.LIB.SYS
LIBCWC.LIB.SYS
LIBCXL.LIB.SYS
LIBM.LIB.SYS
LIBMANSI.LIB.SYS
You might try the link with rl=^ccstdrl.lib.sys;share
Hope this helps
Best Regards
Cathlene Mc Rae
SR HP Response Center Engineer
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|