[comp.windows.x] X11R4 tape-2 clients with many undefined symbols

phil@osc.edu (Phil Ritzenthaler) (09/12/90)

Background:
	System:	Sun SparcStation 1 (the original, not the plus)
	OS:	Sun OS 4.0.3
	X:	X11R4 patchlevel 14
	Window:	twm

I received X11R4 and have it running fine.  There seem to be missing many .h
files in the /usr/include/X11 directory.  I still have them in the old X11R3
release, so I just moved them over . . . mistake?  I dunno, but I still can't
get many of the contrib clients to compile.  For example: xcalendar gives me
the errors:
ld: Undefined symbol
   _XtStringSourceDestroy
   _XShapeCombineMask
   _XtStringSourceCreate
   _XShapeQueryExtension
   _XtTextGetSource
   _XtTextSetSource


This isn't the first time I've seen _XShapeCombineMask and
_XShapeQueryExtension missing.  WHAT DID I MISS?????????????

PLEASE, send your replies directly to me.  I don't get to read news as often as
I should.  All replies will be summerized unless requested not to . . .

THANK YOU very much!!


-- 
Phil Ritzenthaler  The Advanced Computing Center for the Arts & Design (ACCAD)
Systems Manager    The Ohio State University
                   UUCP: ...!{pyramid,killer}!grumpy.cgrg.ohio-state.edu!phil
(614) 292-3416     ARPA: phil@grumpy.cgrg.ohio-state.edu

mouse@LARRY.MCRCIM.MCGILL.EDU (09/13/90)

> Background: [Sun SS1, 4.0.3, X11R4pl14, twm]

> I received X11R4 and have it running fine.  There seem to be missing
> many .h files in the /usr/include/X11 directory.

You are probably talking about the Xaw header files, which were moved
into a subdirectory in R4.  Look at /usr/include/X11/Xaw and see if the
"missing" files are lurking there.

> I still have them in the old X11R3 release, so I just moved them over
> . . . mistake?

Perhaps.  If the internals have changed from R3 to R4, you may find
yourself using the wrong include files for the libraries.

> I dunno, but I still can't get many of the contrib clients to
> compile.  For example: xcalendar gives me the errors:
> ld: Undefined symbol
>    _XtStringSourceDestroy
>    _XShapeCombineMask
>    _XtStringSourceCreate
>    _XShapeQueryExtension
>    _XtTextGetSource
>    _XtTextSetSource

> This isn't the first time I've seen _XShapeCombineMask and
> _XShapeQueryExtension missing.  WHAT DID I MISS?????????????

The XShape* routines come from -lXext, the X extension library.  They
are part of the SHAPE extension.

The Xt stuff I haven't much of a clue on.  The names look to me like
interfaces to some sort of widget or other, but the leading Xt makes
them look like toolkit routines.  Perhaps they are widget interfaces
whose names were changed to reflect reality?

					der Mouse

			old: mcgill-vision!mouse
			new: mouse@larry.mcrcim.mcgill.edu

(I think it's the Xaw headers that moved.  Check all subdirectories
of /usr/include/X11....)