Subject: gs5.10: libXt
To: None <port-pmax@netbsd.org>
From: Bill Anderson <anderson@wks.uts.ohio-state.edu>
List: port-pmax
Date: 09/14/1998 13:43:24
I'm doing 'make -f unix-gcc.mak' on gs5.10 and i keep getting to the
following point and then it stops:  
./echogs -w ldt.tr -n - gcc -L/usr/X11/lib -o gs 
./echogs -a ldt.tr -n -s gs.o -s cat ld.tr >>ldt.tr
./echogs -a ldt.tr -s - -lm 
LD_RUN_PATH=; export LD_RUN_PATH;  XCFLAGS=
XINCLUDE= XLDFLAGS= XLIBDIRS= XLIBS= FEATURE_DEVS= DEVICE_DEVS=
DEVICE_DEVS1= DEVICE_DEVS2= DEVICE_DEVS3= DEVICE_DEVS4= DEVICE_DEVS5=
DEVICE_DEVS6= DEVICE_DEVS7= DEVICE_DEVS8= DEVICE_DEVS9= DEVICE_DEVS10=
DEVICE_DEVS11= DEVICE_DEVS12= DEVICE_DEVS13= DEVICE_DEVS14= DEVICE_DEVS15=
/bin/sh <ldt.tr 
ld: cannot open -lXt: No such file or directory 
*** Error code 1

Stop. 

I tried adding -L/usr/X11R6/lib, but then i get:  

./echogs -w ldt.tr -n - gcc -L/usr/X11/lib -L/usr/X11R6/lib -o gs 
./echogs -a ldt.tr -n -s gs.o -s
 cat ld.tr >>ldt.tr 
./echogs -a ldt.tr -s - -lm LD_RUN_PATH=; export
LD_RUN_PATH;  XCFLAGS= XINCLUDE= XLDFLAGS= XLIBDIRS= XLIBS= FEATURE_DEVS=
DEVICE_DEVS= DEVICE_DEVS1= DEVICE_DEVS2= DEVICE_DEVS3= DEVICE_DEVS4=
DEVICE_DEVS5= DEVICE_DEVS6= DEVICE_DEVS7= DEVICE_DEVS8= DEVICE_DEVS9=
DEVICE_DEVS10= DEVICE_DEVS11= DEVICE_DEVS12= DEVICE_DEVS13= DEVICE_DEVS14=
DEVICE_DEVS15= /bin/sh <ldt.tr gp_unifs.o: In function
`gp_open_scratch_file': gp_unifs.c(.text+0x1a0): warning: mktemp() 
possibly used unsafely, consider using mkstemp() 
/usr/X11R6/lib/libXt.a(Shell.o): In function `StopManagingSession': 
Shell.c(.text+0x5170): undefined reference to `SmcCloseConnection'
/usr/X11R6/lib/libXt.a(Shell.o): In function `JoinSession': 
Shell.c(.text+0x525c): undefined reference to `SmcModifyCallbacks'
Shell.c(.text+0x5274): undefined reference to `SmcClientID'
Shell.c(.text+0x52fc): undefined reference to `SmcOpenConnection'
Shell.c(.text+0x547c): undefined reference to `SmcGetIceConnection'
Shell.c(.text+0x54b4): undefined reference to `IceConnectionNumber'
/usr/X11R6/lib/libXt.a(Shell.o): In function `SetSessionProperties': 
Shell.c(.text+0x5c30): undefined reference to `SmcSetProperties'
Shell.c(.text+0x5cdc): undefined reference to `SmcSetProperties'
Shell.c(.text+0x5d5c): undefined reference to `SmcDeleteProperties'
/usr/X11R6/lib/libXt.a(Shell.o): In function `GetIceEvent': 
Shell.c(.text+0x5dc8): undefined reference to `SmcGetIceConnection'
Shell.c(.text+0x5de8): undefined reference to `IceProcessMessages'
/usr/X11R6/lib/libXt.a(Shell.o): In function `CallSaveCallbacks':
Shell.c(.text+0x5f28): undefined reference to `SmcSaveYourselfDone'
/usr/X11R6/lib/libXt.a(Shell.o): In function `XtInteractPermission':
Shell.c(.text+0x61e8): undefined reference to `SmcInteractDone'
/usr/X11R6/lib/libXt.a(Shell.o): In function `XtCallCancelCallbacks':
Shell.c(.text+0x641c): undefined reference to `SmcSaveYourselfDone'
/usr/X11R6/lib/libXt.a(Shell.o): In function `XtSessionReturnToken':
Shell.c(.text+0x6778): undefined reference to `SmcInteractRequest'
Shell.c(.text+0x6890): undefined reference to `SmcInteractDone'
Shell.c(.text+0x6924): undefined reference to `SmcRequestSaveYourselfPhase2' 
Shell.c(.text+0x6950): undefined reference to `SmcSaveYourselfDone' 
*** Error code 1

Stop. 

What am i doing wrong?