Operating System - OpenVMS
1828402 Members
4607 Online
109977 Solutions
New Discussion

CXXLINK --- access violation, reason mask=00 error

 
Arch_Muthiah
Honored Contributor

CXXLINK --- access violation, reason mask=00 error

Hi,

I get "%SYSTEM-F-ACCVIO, access violation, reason mask=00" error from CXXLINK when I link c and C++ sources which contains TCPIP socket routins to communicate with various UNIX systems and Win2K systems. The created EXE does not work properily.


I doubt that whether I miss any TCP socket library, or any other RTL libraries in my CXXLINK command. Also when I install C and C++, I observed the following message during the installation.." your system has latest version of *.TLB, so installation can't proceed..."

So I renamed the existing DECC$RTLDEF.TLB and continued the installation. I tried with old and new (OS supplied) *.TLB's, but still I get the same error.

Note: I have used the OLB libraries libdbq.olb/lib, and libvsr.olb/lib to create other EXEcutables which doen't have any tcpip routines, it works fine.

I have attached the compilation and LINK statement and the following Access vioation error, Expecting your valuable suggestions.

Thanks
Archunan
Regards
Archie
5 REPLIES 5
Arch_Muthiah
Honored Contributor

Re: CXXLINK --- access violation, reason mask=00 error

I missed the attachement of CXXLINK command and errors.

Here is the attachment.


Thanks
Archunan
Regards
Archie
Steven Schweda
Honored Contributor

Re: CXXLINK --- access violation, reason mask=00 error

CC /VERSION
CXX /VERSION
CXXLINK /VERSION
write sys$output f$getsyi( "VERSION")


HELP CXXLINK Customer_feedback:

Customers with support contracts should seek support for problems through
local customer support centers.

Customers who do not have support contracts are encouraged to mail problem
compaq_cxx.bugs@compaq.com

Although these reports will certainly be used as a source of input
for fixing problems for new releases, we cannot give the reports
individual attention. We can take remedial action only on a best-effort
basis.

If you have questions, suggestions, or comments, please send mail to
compaq_cxx@compaq.com

When reporting problems to HP, please provide the following
information:

o Name and version of compiler (from a listing file)
o Name and version of operating system
o Smallest possible complete source and commands needed to
reproduce the problem
o An example of the incorrect results and the desired results
Arch_Muthiah
Honored Contributor

Re: CXXLINK --- access violation, reason mask=00 error

Stewen,

I am sorry, I typed the info on notepad, I had env details in the top, but when I do the cut - Paste somewhat the env details got missed.

Here is my env details:
Alpha/OpenVMS 8.2 and 7.32, Compaq c++ V6.5-004 and compaq C V6.5-001, and TCPIP V5.4.

Thanks
Archunan
Regards
Archie
Steven Schweda
Honored Contributor

Re: CXXLINK --- access violation, reason mask=00 error

I'm only guessing, but you might see what
happens using newer compilers, et c. Around
here:

alp $ cc /version
HP C V7.1-015 on OpenVMS Alpha V7.3-2

alp $ cxx /version
HP C++ V7.1-015 for OpenVMS Alpha V7.3-2

alp $ cxxlink /version
hp C++ CXXLINK V7.1-015

alp $ tcpip show version

HP TCP/IP Services for OpenVMS Alpha Version V5.4 - ECO 6
on a COMPAQ Professional Workstation XP1000 running OpenVMS V7.3-2

Perhaps one of the TestDrive systems?

http://www.testdrive.hp.com/
http://www.testdrive.hp.com/current.shtml

td237 $ cc /version
HP C V7.1-015 on OpenVMS Alpha V7.3-2

td237 $ cxx /version
HP C++ V7.1-015 for OpenVMS Alpha V7.3-2

td237 $ cxxlink /version
hp C++ CXXLINK V7.1-015

td237 $ tcpip show version

HP TCP/IP Services for OpenVMS Alpha Version V5.4 - ECO 5
on a COMPAQ AlphaServer DS20E 666 MHz running OpenVMS V7.3-2
Arch_Muthiah
Honored Contributor

Re: CXXLINK --- access violation, reason mask=00 error

Stewen,

Finally I resolved the issue by using VMS LINKER.

Thanks for your suggestions
Archunan
Regards
Archie