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

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

3004.0. "PROBLEM WITH A LINK/DEBUG " by CNTROL::TDWEISENBERG () Wed Jun 27 1990 16:06

                            -< PROBLEM WITH LINK >-

	Hello,

		We are experiencing a strange problem and were wondering if
	anyone had an suggestions.  We have been able to come up with a minimal
	example that illustrates our problem with linking a debug version of
        our software.  Both the program and the link results are shown below.  
        Any help would be appreciated, thanks.

			-Dave-

>>type g

#include <stdio.h>
#include <gks.h>
#include <gksdefs.h>
#include <math>
#include <time>
#include <stdlib>
#include <setjmp>
#include <ctype>
#include <rms.h>
#include <processes>

#include <decw$include/Xlib.h>
#include <decw$include/DECwDwtApplProg.h>
#include <decw$include/DwtAppl.h>



    /*
     * Start of calling program.
     */
    int main()
    {

    printf("\nHello");

    }


>> cc/debug/noopt g
>> link/debug g
%LINK-W-NUDFSYMS, 13 undefined symbols:
%LINK-I-UDFSYM, 	APPLICATIONSHELLWIDGETCLASS
%LINK-I-UDFSYM, 	COMPOSITEOBJECTCLASS
%LINK-I-UDFSYM, 	COMPOSITEWIDGETCLASS
%LINK-I-UDFSYM, 	CONSTRAINTWIDGETCLASS
%LINK-I-UDFSYM, 	OBJECTCLASS
%LINK-I-UDFSYM, 	OVERRIDESHELLWIDGETCLASS
%LINK-I-UDFSYM, 	RECTOBJCLASS
%LINK-I-UDFSYM, 	SHELLWIDGETCLASS
%LINK-I-UDFSYM, 	TOPLEVELSHELLWIDGETCLASS
%LINK-I-UDFSYM, 	TRANSIENTSHELLWIDGETCLASS
%LINK-I-UDFSYM, 	WIDGETCLASS
%LINK-I-UDFSYM, 	WINDOWOBJCLASS
%LINK-I-UDFSYM, 	WMSHELLWIDGETCLASS
%LINK-W-USEUNDEF, undefined symbol OBJECTCLASS referenced in debug or traceback record
	in module G file DISK$TWA:[TDWPAPADEAS.STA]G.OBJ;1
%LINK-W-USEUNDEF, undefined symbol RECTOBJCLASS referenced in debug or traceback record
	in module G file DISK$TWA:[TDWPAPADEAS.STA]G.OBJ;1
%LINK-W-USEUNDEF, undefined symbol WINDOWOBJCLASS referenced in debug or traceback record
	in module G file DISK$TWA:[TDWPAPADEAS.STA]G.OBJ;1
%LINK-W-USEUNDEF, undefined symbol WIDGETCLASS referenced in debug or traceback record
	in module G file DISK$TWA:[TDWPAPADEAS.STA]G.OBJ;1
%LINK-W-USEUNDEF, undefined symbol COMPOSITEWIDGETCLASS referenced in debug or traceback record
	in module G file DISK$TWA:[TDWPAPADEAS.STA]G.OBJ;1
%LINK-W-USEUNDEF, undefined symbol COMPOSITEOBJECTCLASS referenced in debug or traceback record
	in module G file DISK$TWA:[TDWPAPADEAS.STA]G.OBJ;1
%LINK-W-USEUNDEF, undefined symbol CONSTRAINTWIDGETCLASS referenced in debug or traceback record
	in module G file DISK$TWA:[TDWPAPADEAS.STA]G.OBJ;1
%LINK-W-USEUNDEF, undefined symbol SHELLWIDGETCLASS referenced in debug or traceback record
	in module G file DISK$TWA:[TDWPAPADEAS.STA]G.OBJ;1
%LINK-W-USEUNDEF, undefined symbol OVERRIDESHELLWIDGETCLASS referenced in debug or traceback record
	in module G file DISK$TWA:[TDWPAPADEAS.STA]G.OBJ;1
%LINK-W-USEUNDEF, undefined symbol WMSHELLWIDGETCLASS referenced in debug or traceback record
	in module G file DISK$TWA:[TDWPAPADEAS.STA]G.OBJ;1
%LINK-W-USEUNDEF, undefined symbol TRANSIENTSHELLWIDGETCLASS referenced in debug or traceback record
	in module G file DISK$TWA:[TDWPAPADEAS.STA]G.OBJ;1
%LINK-W-USEUNDEF, undefined symbol TOPLEVELSHELLWIDGETCLASS referenced in debug or traceback record
	in module G file DISK$TWA:[TDWPAPADEAS.STA]G.OBJ;1
%LINK-W-USEUNDEF, undefined symbol APPLICATIONSHELLWIDGETCLASS referenced in debug or traceback record
	in module G file DISK$TWA:[TDWPAPADEAS.STA]G.OBJ;1
T.RTitleUserPersonal
Name
DateLines
3004.1Missing toolkit shareable on link... in sys$shareR2ME2::OBRYANWed Jun 27 1990 19:5114
re:.0

> #include <decw$include/DECwDwtApplProg.h>
> #include <decw$include/DwtAppl.h>
DECwDwtApplProg.h is obsolete... just use DwtAppl.h

>%LINK-I-UDFSYM, 	APPLICATIONSHELLWIDGETCLASS
>%LINK-I-UDFSYM, 	COMPOSITEOBJECTCLASS
>...

These are all intrinsics objects (which are part of the toolkit.)  Use:

decw$dwtlibshr/share
3004.2CNTROL::TDWEISENBERGFri Jun 29 1990 16:090
3004.3Thank you for your helpCNTROL::TDWEISENBERGFri Jun 29 1990 16:1210
	As it turns out I accidently posted an incomplete example inthe original
	note but, your reply pointed me to the solution of my real problem
	which was my com file was picking up the wrong options file for my link.
	

	Thank you for indirectly pointing me to the correct problem and the
	proper solution!

	-Dave-