Dear Steve Lamont and ALL:
My machine:
Workstation type:SUNW,Ultra-1; sparc;sun4u
Operation System: SunOS Release 5.5.1 Generic
Window System: OpenWindows Version 3.5.1
Copyright ( XFORMS ):
All files distributed in this package are
Copyright (c) 1996-1997 by T.C. Zhao and Mark Overmars
The version of XForms:
V0.88.1 February 1998
the *exact* command line I've typed and the system response:
cambuci% teste <- this is the name of the executable archive
ld.so.1: teste: fatal: libforms.so.0.88: can't open file: errno=2
Killed
My exact "makefile":
SHELL=/bin/sh
MEUDIR = /home/graduacao/mgs
TESTEINC = $(MEUDIR)/Xforms.sun.sparc/xforms/FORMS
TESTEINC2 = $(MEUDIR)/Xforms.sun.sparc/xforms
TESTELIB = $(MEUDIR)/Xforms.sun.sparc/xforms/FORMS
TESTEDIR = /home/graduacao/mgs/Xforms.sun.sparc/testes
# Para Todos
SYSLIBS = -lforms -lX11 -lm
CC = gcc
INCLUDES = -I$(TESTEINC) -I$(TESTEINC2)
CFLAGS = $(INCLUDES) -g3
MOTIF1 = /usr/openwin/include/X11
MOTIF2 = /usr/openwin/include
MOTIF3 = /home/graduacao/mgs/Xforms.sun.sparc/xforms
MOTIFLIBS = -L$(MOTIF1) -L$(MOTIF2) -L$(MOTIF3)
LIBS = -L$(TESTELIB) $(MOTIFLIBS) $(SYSLIBS)
OBJS = $(TESTEDIR)/teste.o
teste : $(OBJS)
$(CC) -o $(TESTEDIR)/$@ $(OBJS) $(LIBS)
$(TESTEDIR)/teste.o: $(TESTEDIR)/teste.c $(TESTEDIR)/teste.h
$(CC) -c $(CFLAGS) -o $@ $(TESTEDIR)/teste.c
I think this is useful.....
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/