[comp.windows.x] R3->R4 Porting Question

ritter@walt.CS.MsState.Edu (Thomas H. Ritter) (03/13/91)

Hello,

	I'm in one of those fun situations, "Get this working ASAP" on
an XR3 -> XR4 port.  I've run into a real wall. Any help appreciated...

Background: A large XR3  application written with Athena widgets.  I've 
changed all the include structure to the current R4 locations. ( X11/Xaw etc.)
For now I'm using the XAW_BC compatibilty flag to help with the port. 
The code also had some local versions of certain of the XR3 include files 
and object files. :-(   

AsciiText.h   FormP.h       Text.h        Viewport.h
AsciiTextP.h  Prompt.h      TextP.h       ViewportP.h
Form.h        PromptP.h     TextSrcP.h

AsciiSink.c  DiskSrc.c    Prompt.c     Text.c       Viewport.c
AsciiText.c  Form.c       StringSrc.c  TextTr.c

I tried to compile it with the R4 libes/includes and only got one ld error.

ld: Undefined symbol 
   _XtViewportMoveChild 

The application in question seems to have changed the way viewport
widgets work. (And only G knows what else...) I had assumed that any 
changes made to R3 src in the application were bug fixes... But, now 
it looks like extenstions.  Hopefully, these were not homegrown but
came from the net.

Anyone ever head of "XtViewportMoveChild" out there?

Tom Ritter
ritter@cs.msstate.edu 

swick@athena.mit.EDU (Ralph Swick) (03/14/91)

    The code also had some local versions of certain of the XR3 include files 
    and object files. :-(   
...
    I tried to compile it with the R4 libes/includes and only got one ld error.

    ld: Undefined symbol 
       _XtViewportMoveChild 

This is most likely the internal procedure MoveChild in Viewport.c
exported as a public function.