Author |
Trying to compile XV |
murraybay
Member
Posts: 13
Joined: 16.02.15 |
Posted on February 25 2015 17:14 |
|
|
Hi,
I'm trying to compile XV on OpenVMS 8.3 (Alpha) with the HP C Compiler V7.3-009. Most of the program compiles with out any problem(applied the patches), but some parts get stopped at places like sprintf(str, "text" with the error str is undeclared.
Could anyone shed any light on this or would know the appropriate way to fix this?
Edited by murraybay on February 25 2015 18:15 |
|
Author |
RE: Trying to compile XV |
murraybay
Member
Posts: 13
Joined: 16.02.15 |
Posted on March 16 2015 22:36 |
|
|
Now I've moved to a real Alpha (DS10 -EV6) with the HP C Compiler 7.3-010...
Ok although I seem to have worked out the issues with compiling code, it gets to the end and says:
%link-w-muldef. symbol DECC$BASENAME multiply defined in module DECC$SHR_EV56 file sys$common:[syslib]DECC$SHR_EV56.exe;1
%MMS-F-ABORT. for target xv.exe, CLI returned abort status %X10648268
If I rerun MMS, it finishes, but trying to run xv.exe produces a stack dump
|
|
Author |
RE: Trying to compile XV |
murraybay
Member
Posts: 13
Joined: 16.02.15 |
Posted on March 16 2015 22:54 |
|
|
Ok apparently that's some kind of linking error, the DECC$BASENAME is conflicting somewhere, but I haven't yet been able to find out where that is. |
|
Author |
RE: Trying to compile XV |
malmberg
Moderator
Posts: 530
Joined: 15.04.08 |
Posted on March 17 2015 03:31 |
|
|
Basename is supplied by the VMS CRTL.
Something in XV is trying to also supply it because it believes that VMS does not provide it.
It is likely that the VMS specific code in XV is from an ancient version of VMS.
See the VMS-PORTS and GNV sourceforge projects. The updated GNV component ports use a script to generate the config.h for current VMS versions. |
|