[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::axp-developer

Title:Alpha Developer Support
Notice:[email protected], 800-332-4786
Moderator:HYDRA::SYSTEM
Created:Mon Jun 06 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3722
Total number of notes:11359

3670.0. "voicetek" by HYDRA::AXPDEVELOPER (Alpha Developer support) Wed May 28 1997 04:39

    Company Name :  voicetek
    Contact Name :  ganesh pai
    Phone        :  
    Fax          :  
    Email        :  [email protected]
    Date/Time in :  28-MAY-1997 03:39:25
    Entered by   :  John Wood
    SPE center   :  MRO

    Category     :  unix
    OS Version   :  
    System H/W   :  


    Brief Description of Problem:
    -----------------------------

From:	SMTP%"[email protected]" 27-MAY-1997 18:46:30.81
To:	alpha-developer <[email protected]>
CC:	
Subj:	Linker/loader error

Return-Path: [email protected]
Received: by asimov.mro.dec.com (UCX V4.1-12, OpenVMS V6.2 VAX);
	Tue, 27 May 1997 18:46:28 -0400
Received: from pobox1.pa.dec.com by fluid.mro.dec.com (5.65v4.0/1.1.8.2/19Nov96-0448PM)
	id AA25326; Tue, 27 May 1997 18:46:25 -0400
Received: by pobox1.pa.dec.com; id AA05239; Tue, 27 May 97 15:46:23 -0700
Received: by dashub1.das.dec.com with SMTP (Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52)
	id <[email protected]>; Tue, 27 May 1997 18:48:35 -0400
Received: from mail12.digital.com by dashub1.das.dec.com with SMTP (Microsoft Exchange Internet Mail Connector Version 4.0.995.52)
	id MD387JWJ; Tue, 27 May 1997 18:48:28 -0400
Received: from voicetek.com by mail12.digital.com (8.7.5/UNX 1.5/1.0/WV)
	id SAA14921; Tue, 27 May 1997 18:43:48 -0400 (EDT)
Received: from adversary.voicetek.com by voicetek.com (5.x/SMI-SVR4)
	id AA00776; Tue, 27 May 1997 18:31:41 -0400
Received: by adversary.voicetek.com (SMI-8.6/SMI-SVR4)
	id SAA01157; Tue, 27 May 1997 18:31:26 -0400
Message-Id: <c=US%a=_%p=Digital%[email protected]>
From: "[email protected]" <[email protected]>
To: alpha-developer <[email protected]>
Subject: Linker/loader error
Date: Tue, 27 May 1997 18:31:26 -0400
X-Mailer:  Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi,
  I am having a few problems when compiling C++ programs:

Environemnt:
 cxx  (cxx)
        DEC C++ V5.3-004 on Digital UNIX (Alpha)
 OSF1 ipnode.voicetek.com V3.2 41 alpha

When generating a executable I get the following error. This same code
compiles fine on Solaris 5.5.1 and generates the executable. On OSF1,
all the object files, libraries are generated cleanly, but during the
link phase I get the following error:

ipnode.voicetek.com> gmake 
cxx -g  -c dummy.cpp
cxx -g  -c Ex_Rep_Stream.cpp
cxx -g  -c Adapter_Msg.cpp
ar rv libadapt.a Ex_Rep_Stream.o Adapter_Msg.o
r - Ex_Rep_Stream.o
r - Adapter_Msg.o
cxx -g  -o dummy \
        dummy.o \
        -L.  -ladapt 
ld:
Unresolved:
__cxx_gem_dispatch
gmake: *** [dummy] Error 1

On doing a "nm" on "__cxx_gem_dispatch", I saw that it was found in
libcxx.a, but I am not able to resolve it while generating the executable.

Any help is appreciated.

Thanks,
-ganesh

PS: Company: Voicetek Corp.
    PIN # 112596
    ASAP number 3224947
T.RTitleUserPersonal
Name
DateLines
3670.1RDGENG::WOOD_J[email protected]Wed May 28 1997 05:4247
Date:	28-MAY-1997 09:28:13.21
From:	DEC:.REO.REOVTX::WOOD_J       "[email protected]"
Subj:	mail to alpha-developer: __cxx_gem_dispatch unresolved
To:	SMTP%"[email protected]"

Hello Ganesh,

re. your mail to Digital's alpha-developer account re. C++ unresolved symbols:

I suspect your problem is that you are using a version of the DEC C++ compiler
which needs a more recent version of the DEC C++ Class Library & Run-Time 
Support libraries than you have on your system.

Could you do the following command:

    /usr/sbin/setld -i | grep CXX

to obtain information about the versions of C++ files on your system. You'll
probably have something like:

    CXXBASE550      installed       DEC C++ (cxx) for Digital UNIX
    CXXSHRDA307     installed       DEC C++ Class Library, Run-Time Support

The first line indicates DEC C++ v5.5. I think DEC C++ v5.3 and above need
CXXSHRDA307 (not CXXSHRDA306 or anything earlier) to work on Digital UNIX
v3.2* systems.

Assuming that your version of CXXSHRDAnnn is not 307, then you'll need to
update this software subset on your system. The CXXSHRDA307 subset is available
as part of the DEC C++ software kit on the Digital UNIX layered products
compact disk distribution. I think you'll need to delete your existing
CXXSHRDAnnn before installing the new one from CD. 


Note the comment in the DEC C++ release notes (file 
/usr/lib/cmplrs/cxx/DECCXXnnn.release-notes) about the impact of distributing
C++ programs build against CXXSHRDA307 to Digital UNIX v3.2* users: they will
need to install CXXSHRDA307 themselves, or you will need to link -non_shared.

I hope this solves your problem. If not, please mail me the output from the 
"/usr/sbin/setld -i | grep CXX" command and we'll proceed from there.

Regards,
  John Wood
  Software Partner Engineering
  Digital Equipment Co

3670.2HYDRA::VANORDENWed May 28 1997 11:386
    
    Ganesh hadn't yet received John's mail, so called to make sure we got
    his problem statement.  I read him John's reply and then forwarded it
    to him.
    
    Donna