Article View: comp.windows.x
Article #24347Missing externals making xfig
From: Dave
Date: Fri, 22 Jan 1993 00:06
Date: Fri, 22 Jan 1993 00:06
89 lines
3566 bytes
3566 bytes
----------
X-Sun-Data-Type: text
X-Sun-Data-Description: text
X-Sun-Data-Name: text
X-Sun-Content-Lines: 30
I'm trying to make xfig from the X-11R4 contributed clients. It went
well to make a couple of minor fixes to compound object pointer
declarations. Then the fun began. I use the enclosed Imakefile to get
something which does this come ld time. The Makefile does the following
to link the program
cc -o xfig addpt.o arc.o arrow.o autoarrow.o bitmap.o blink.o bound.o box.o break.o canvas.o char.o color.o copy.o cursor.o curve.o deletept.o dir.o drag.o draw.o ellipse.o file.o flip.o font.o free.o geom.o global.o glue.o graphics.o grid.o intspline.o latex_line.o line.o list.o main.o move.o movept.o msgsw.o panel.o popup.o puterr.o read.o read1_3.o redisplay.o remove.o rotate.o ruler.o save.o scale.o search.o spline.o text.o trans.o turn.o undo.o util.o xtra.o -O -lXaw -lXmu -lXt -lXext -lX11 -L/usr/lo
cal/openwin-3/lib -lXaw -lXmu -lXt -lXext -lX11 -lm
This gives two undefined entry points:
ld: Undefined symbol
_get_wmShellWidgetClass
_get_applicationShellWidgetClass
Even though the driver reports
Compilation failed
*** Error code 2
make: Fatal error: Command failed for target `xfig'
The program has a good magic number and is marked executable. To wit ...
indigo% xfig
Initializing FIG 1.4.3 (X11) ...
What might cause these symptoms? Will I eventually step on a land mine
if i use this beast?
Regards,
Dave Hamby
----------
X-Sun-Data-Type: default
X-Sun-Data-Description: default
X-Sun-Data-Name: Imakefile
X-Sun-Content-Lines: 45
DEFINES = -I/usr/local/openwin-3/include -DX11
SYS_LIBRARIES = $(SYSAUX_LIBRARIES) -lm
SYSAUX_LIBRARIES = -L/usr/local/openwin-3/lib -lXaw -lXmu -lXt -lXext -lX11
LOCAL_LIBRARIES = XawClientLibs
DEPLIBS = XawClientDepLibs
SRCS= addpt.c arc.c arrow.c autoarrow.c\
bitmap.c blink.c bound.c box.c break.c\
canvas.c char.c color.c copy.c cursor.c curve.c\
deletept.c dir.c drag.c draw.c ellipse.c\
file.c flip.c font.c free.c\
geom.c global.c glue.c graphics.c grid.c\
intspline.c latex_line.c line.c list.c\
main.c move.c movept.c msgsw.c\
panel.c popup.c puterr.c\
read.c read1_3.c redisplay.c remove.c rotate.c ruler.c\
save.c scale.c search.c spline.c\
text.c trans.c turn.c undo.c util.c xtra.c
OBJS= addpt.o arc.o arrow.o autoarrow.o\
bitmap.o blink.o bound.o box.o break.o\
canvas.o char.o color.o copy.o cursor.o curve.o\
deletept.o dir.o drag.o draw.o ellipse.o\
file.o flip.o font.o free.o\
geom.o global.o glue.o graphics.o grid.o\
intspline.o latex_line.o line.o list.o\
main.o move.o movept.o msgsw.o\
panel.o popup.o puterr.o\
read.o read1_3.o redisplay.o remove.o rotate.o ruler.o\
save.o scale.o search.o spline.o\
text.o trans.o turn.o undo.o util.o xtra.o
F2PSRC = arrow.c f2p.c free.c read.c read1_3.c
F2POBJ = arrow.o f2p.o free.o read.o read1_3.o
F2PSSRC = arrow.c bound.c f2ps.c free.c read.c read1_3.c
F2PSOBJ = arrow.o bound.o f2ps.o free.o read.o read1_3.o
ComplexProgramTarget(xfig)
SingleProgramTarget(f2p,$(F2POBJ),,)
SingleProgramTarget(f2ps,$(F2PSOBJ),,)
Technical Details
Message-ID:
<9301220006.AA00220@usppc.abb.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!rpi!gatech!enterpoop.mit.edu!bloom-beacon!INTERNET!dont-send-mail-to-path-linesShow Full Headers
Complete Article Headers
Newsgroups: comp.windows.x Path: arc1-ca.pugleaf.net!sparky!uunet!usc!rpi!gatech!enterpoop.mit.edu!bloom-beacon!INTERNET!dont-send-mail-to-path-lines From: Dave@usppc.abb.COM Subject: Missing externals making xfig Message-ID: <9301220006.AA00220@usppc.abb.com> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Date: Fri, 22 Jan 1993 00:06:45 GMT Lines: 87