[1282] in netbsd-help mailing list archive

home help back first fref pref prev next nref lref last post

mwm and XFree 3.3.2 patch 3

daemon@ATHENA.MIT.EDU (Alex Rolfe)
Tue Sep 1 08:14:08 1998

To: netbsd-help@MIT.EDU
Date: Tue, 01 Sep 1998 08:13:58 EDT
From: Alex Rolfe <arolfe@MIT.EDU>


On a system running NetBSD-Athena 1.3.2/8.2.1 with the latest XFree patch
installed (3323), the default athena mwm fails to start.  It dies with a
segmentation fault.

Thinking that the patch changed something upon which mwm depends, I tried to
build a local copy.  I get the following errors while running make :

gcc -o mwm -O2 -fno-strength-reduce      -L/usr/X11R6/lib WmCDecor.o   
 WmColormap.o    WmCDInfo.o      WmCEvent.o      WmCPlace.o      WmError.o  
     WmEvent.o       WmFeedback.o    WmFunction.o    WmGraphics.o    WmIconBox.o
     WmIDecor.o      WmImage.o       WmInitWs.o      WmIPlace.o     
 WmKeyFocus.o    WmMain.o        WmManage.o      WmMenu.o        WmProperty.o  
  WmProtocol.o    WmResCvt.o      WmResource.o    WmResParse.o    WmSignal.o  
    WmWinConf.o     WmWinInfo.o     WmWinList.o     WmWinState.o    version.o 
    -lgnumalloc -lXm -lXt -lX11 -lXext  
WmFunction.o: Undefined symbol `__XmOSPutenv' referenced from text segment
WmFunction.o: Undefined symbol `__XmOSPutenv' referenced from text segment
WmImage.o: Undefined symbol `__XmOSInitPath' referenced from text segment
*** Error code 1

Stop.


I had been getting many more "Undefined symbol" errors but I made them go away
by added the '-lXm -lXt -lX11 -lXext' options.

The work around to this problem is to have /etc/athena/login/Xsession set the
WINDOW_MANAGER variable to the non-athena local copy of mwm
(/usr/X11R6/bin/mwm).  This copy of mwm was modified by the X patch.

Any ideas as to how to get the athena mwm to compile/run?  It's not a big deal
(I don't use mwm), but it would be nice to have it working for the other people
who sometimes use this machine.

Alex

home help back first fref pref prev next nref lref last post