Home · Articles · Downloads · Hobby Wear · Forums · Web Links · News CategoriesMonday, January 22, 2018
Navigation
Home
Articles
Downloads
Hobby Wear
FAQ
Forums
Web Links
News Categories
Contact Us
Photo Gallery
OpenVMS Bigot
Search
Users Online
Guests Online: 1
No Members Online

Registered Members: 7,021
Newest Member: pd123d
PdfFactory Pro Enterprise 2.31, MATFOR 4.00.061031 in Lahey Fortran, Adobe PhotoShop 9.0 CS2 oem, Trend Micro InterScan VirusWall 6.0, Adobe Acrobat 7.0 Professional sale, Salon Iris 5.05, Drafix Pro Landscape 11.2, oem Adobe PhotoShop CS 8.0 cheap buy, Catia 5 R12 P3 with SP2, Mcafee Secure Internet Gateway 4.5, oem Adobe Acrobat Professional 8 oem, Visual UML 4.1 Developer Edition, sale Adobe CS3 Design Premium Vol for Mac low price, Nuance Dragon Naturally Speaking 9.0 Professional With SP1, Adobe After Effects Plugins, low price AutoCAD 2006 cheap buy, Avid NewsCutter XP 3.8, The Movie Library 1.7.11, oem Adobe Creative Suite Premium Edition 2.0, ProFlyers 6.0 PDF Forms for Adobe Acrobat, PTC Pro Engineer Routed Systems Designer 5.0, sale DVDXCopy Platinum 4.0.38, CyberBizPlan v1.0.165 WinAll, NeverCenter Silo 1.16b, cheap buy AutoCAD 2005, Norton Save And Restore 11, sale Adobe Creative Suite 3 Design Premium sale, Adobe Premiere Plugins Collection 2007, cheap buy Adobe Creative Suite Premium Edition 2.0 for Mac sale, Active Desktop Calendar 6.5.061124, sale Adobe Acrobat 6.0 Professional, X-Rite MonacoPROFILER Platinum 4.8, EmailUnlimited 6.1 Win98NTME, oem Adobe Photoshop CS3 Extended sale
Sponsors
Island Computer
View Thread
OpenVMS Hobbyist Program | Alpha Systems Forums | Alpha Software Forum
Author Linking issue with C
Sivakumar RS
Member

Posts: 3
Joined: 02.01.13
Posted on January 24 2013 17:59
Could you please help us to find root cause for the below warning message. We are repeatedly getting this warning message while compiling a C module.

%LINK-W-MULDEF, symbol DECC$REALLOC multiply defined
in module DECC$SHR_EV56 file SYS$COMMON:[SYSLIB]DECC$SHR_EV56.EXE;1
%LINK-W-MULDEF, symbol DECC$MALLOC multiply defined
in module DECC$SHR_EV56 file SYS$COMMON:[SYSLIB]DECC$SHR_EV56.EXE;1
%LINK-W-MULDEF, symbol DECC$CALLOC multiply defined
in module DECC$SHR_EV56 file SYS$COMMON:[SYSLIB]DECC$SHR_EV56.EXE;1
%LINK-W-MULDEF, symbol DECC$CFREE multiply defined
in module DECC$SHR_EV56 file SYS$COMMON:[SYSLIB]DECC$SHR_EV56.EXE;1
%LINK-W-MULDEF, symbol DECC$FREE multiply defined
in module DECC$SHR_EV56 file SYS$COMMON:[SYSLIB]DECC$SHR_EV56.EXE;1

We tried all possible options available on the net. Will be a great help if someone can get more insights on this.
Author RE: Linking issue with C
abrsvc
Member

Posts: 91
Joined: 12.03.10
Posted on January 25 2013 01:35
Please post the commands used to compile and link that generate the errors listed. Also a small reproducer would be helpful. As with most assistance requests, a list of the current version of the OS and compiler would be nice.

Dan
Author RE: Linking issue with C
Sivakumar RS
Member

Posts: 3
Joined: 02.01.13
Posted on January 28 2013 15:02
Hi Dan,

Please find the details, below..



============================================================================
> CC/VER
Compaq C V6.5-001 on OpenVMS Alpha V7.3-2

============================================================================
(LNM$SYSTEM_TABLE)

"DECC$CRTLMAP" = "SYS$SHAREsmileyECC$SHR_EV56"
"DECC$SHR" = "SYS$SHAREsmileyECC$SHR_EV56"

============================================================================
SYS$COMMON:[SYSLIB]

DECC$SHR_EV56.EXE;1 4984 29-SEP-2009 15:59:29.82 11-MAY-2010 12:52:18.88

============================================================================

>TYP REX_REPRINT.OPT
! IDENT = "S4617-1"
IDENTIFICATION = "S4617-1"

REPRINT_OBJ:REX_REPRINT
REPRINT_OBJ:REX_REPRINT_SQL

REX_C_EXE:REX_LOCKING /shareable

REX_LIB:REX /library
SQL$USER /library
>

============================================================================

>LINK/EXE=REX_REPRINT.EXE REX_REPRINT.OPT/OPT
! IDENT = "S4617-1"
IDENTIFICATION = "S4617-1"

REPRINT_OBJ:REX_REPRINT
REPRINT_OBJ:REX_REPRINT_SQL

REX_C_EXE:REX_LOCKING /shareable

REX_LIB:REX /library
SQL$USER /library
%LINK-W-MULDEF, symbol DECC$REALLOC multiply defined
in module DECC$SHR_EV56 file SYS$COMMON:[SYSLIB]DECC$SHR_EV56.EXE;1
%LINK-W-MULDEF, symbol DECC$MALLOC multiply defined
in module DECC$SHR_EV56 file SYS$COMMON:[SYSLIB]DECC$SHR_EV56.EXE;1
%LINK-W-MULDEF, symbol DECC$CALLOC multiply defined
in module DECC$SHR_EV56 file SYS$COMMON:[SYSLIB]DECC$SHR_EV56.EXE;1
%LINK-W-MULDEF, symbol DECC$CFREE multiply defined
in module DECC$SHR_EV56 file SYS$COMMON:[SYSLIB]DECC$SHR_EV56.EXE;1
%LINK-W-MULDEF, symbol DECC$FREE multiply defined
in module DECC$SHR_EV56 file SYS$COMMON:[SYSLIB]DECC$SHR_EV56.EXE;1
============================================================================
Author RE: Linking issue with C
malmberg
Moderator

Posts: 443
Joined: 15.04.08
Posted on January 29 2013 03:13
You are not getting that message when compiling, you are getting it when you are linking, which are quite different operations.

One of your programs that you are linking has routines named "realloc", "malloc", "cfree", "free" with the same names as ones that are in the C Runtime library.

That is a bug.

If you are replacing a standard C library routine, you have to give it a different name such as "my_realloc", and then use a pre-processor macro like #define realloc my_realloc after the header file that declares the macro.

The symbols involved indicate those are some of the routines for allocating and deallocating memory from the heap, and typically replacements are used to try to diagnose heap corruption issues.

As these are not a complete set of routines that are known to return pointers to memory allocated from the heap, even if you get the symbols correct, the routines may still not give you the information that you need.
Jump to Forum:
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Member Poll
Are you going to OpenVMS Boot Camp 2016?

Yes

No

You must login to vote.
Shoutbox
You must login to post a message.

malmberg
December 12 2017
HPE only makes the most current version of OpenVMS Alpha / IA64 /VAX available to hobbyists. When I had access to the Alliance 1 program it was the same. No public downloads are allowed by HPE.

nmbonao
December 08 2017
Is anybody knows OpenVMS 8.2 version downloadable version? or CD copy? Thank you very much

aarommes
December 02 2017
Bitcoin and Blockchain enthusiasts ( plus distributed computing ) please connec / reply: http://www.openvmshobbyis
t.com/forum/viewthread.ph
p?forum_id=130&thread_id=
2991


malmberg
September 10 2017
https://sourceforge.net/p
/vms-ports/wiki/VMSInstal
lation/ For the most part just use VMS 6.1 media instead of 7.3. But why run the older release?


DoeveR
August 07 2017
Where can I find the write up on running VMS 6.1 using the simh emulator?

Bart
March 20 2017
Happy to have found my password again!

pintero
March 16 2017
peteherrera. Agreed.

peteherrera
March 04 2017
It would be nice to be able to buy the lastest hardcopy full OpenVMS docset at a very reduced price through the Hobbyist program. smiley

malmberg
February 05 2017
Decus > Connect > Encompass<Country>

ChrisChiesa
February 02 2017
What's the status of DECUS memberships? Just found my membership card. :-)

bofh
January 06 2017
Searching for Pathworks 6.0 for DOS & Windows. Anyone have it?

malmberg
December 29 2016
The openvms disks question is frequently answered in the forums, and is not something to ask about in the shout box.

Cmota
December 29 2016
Hello, I am in need of the openvms.disk, but I don't know where to obtain it

moch75
December 26 2016
personal alpha

moch75
December 24 2016
personal alpha+

Shoutbox Archive