home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / windows / x / 21456 < prev    next >
Encoding:
Text File  |  1993-01-22  |  3.4 KB  |  100 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!usc!rpi!gatech!enterpoop.mit.edu!bloom-beacon!INTERNET!dont-send-mail-to-path-lines
  3. From: Dave@usppc.abb.COM
  4. Subject: Missing externals making xfig
  5. Message-ID: <9301220006.AA00220@usppc.abb.com>
  6. Sender: daemon@athena.mit.edu (Mr Background)
  7. Organization: The Internet
  8. Date: Fri, 22 Jan 1993 00:06:45 GMT
  9. Lines: 87
  10.  
  11. ----------
  12. X-Sun-Data-Type: text
  13. X-Sun-Data-Description: text
  14. X-Sun-Data-Name: text
  15. X-Sun-Content-Lines: 30
  16.  
  17. I'm trying to make xfig from the X-11R4 contributed clients.  It went
  18. well  to make a couple of minor fixes to compound object pointer
  19. declarations.  Then the fun began.  I use the enclosed Imakefile to get
  20. something which does this come ld time.  The Makefile does the following
  21. to link the program
  22.  
  23.  
  24. 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
  25.  
  26. cal/openwin-3/lib  -lXaw -lXmu -lXt -lXext -lX11 -lm  
  27.  
  28. This gives two undefined entry points:
  29.  
  30. ld: Undefined symbol
  31.    _get_wmShellWidgetClass
  32.    _get_applicationShellWidgetClass
  33.  
  34. Even though the driver reports
  35.  
  36. Compilation failed
  37. *** Error code 2
  38. make: Fatal error: Command failed for target `xfig'
  39.  
  40. The program has a good magic number and is marked executable.  To wit ...
  41. indigo% xfig
  42. Initializing FIG 1.4.3 (X11) ... 
  43.  
  44. What might cause these symptoms?  Will I eventually step on a land mine
  45. if i use this beast?
  46.  
  47. Regards, 
  48. Dave Hamby
  49. ----------
  50. X-Sun-Data-Type: default
  51. X-Sun-Data-Description: default
  52. X-Sun-Data-Name: Imakefile
  53. X-Sun-Content-Lines: 45
  54.  
  55. DEFINES = -I/usr/local/openwin-3/include  -DX11
  56. SYS_LIBRARIES = $(SYSAUX_LIBRARIES) -lm
  57.  
  58. SYSAUX_LIBRARIES = -L/usr/local/openwin-3/lib  -lXaw -lXmu -lXt -lXext -lX11
  59. LOCAL_LIBRARIES = XawClientLibs
  60.         DEPLIBS = XawClientDepLibs
  61.  
  62.  
  63. SRCS=    addpt.c arc.c arrow.c autoarrow.c\
  64.     bitmap.c blink.c bound.c box.c break.c\
  65.     canvas.c char.c color.c copy.c cursor.c curve.c\
  66.     deletept.c dir.c drag.c draw.c ellipse.c\
  67.     file.c flip.c font.c free.c\
  68.     geom.c global.c glue.c graphics.c grid.c\
  69.     intspline.c latex_line.c line.c list.c\
  70.     main.c move.c movept.c msgsw.c\
  71.     panel.c popup.c puterr.c\
  72.     read.c read1_3.c redisplay.c remove.c rotate.c ruler.c\
  73.     save.c scale.c search.c spline.c\
  74.     text.c trans.c turn.c undo.c util.c xtra.c
  75.  
  76. OBJS=    addpt.o arc.o arrow.o autoarrow.o\
  77.     bitmap.o blink.o bound.o box.o break.o\
  78.     canvas.o char.o color.o copy.o cursor.o curve.o\
  79.     deletept.o dir.o drag.o draw.o ellipse.o\
  80.     file.o flip.o font.o free.o\
  81.     geom.o global.o glue.o graphics.o grid.o\
  82.     intspline.o latex_line.o line.o list.o\
  83.     main.o move.o movept.o msgsw.o\
  84.     panel.o popup.o puterr.o\
  85.     read.o read1_3.o redisplay.o remove.o rotate.o ruler.o\
  86.     save.o scale.o search.o spline.o\
  87.     text.o trans.o turn.o undo.o util.o xtra.o
  88.  
  89. F2PSRC =    arrow.c f2p.c free.c read.c read1_3.c
  90. F2POBJ =    arrow.o f2p.o free.o read.o read1_3.o
  91.  
  92. F2PSSRC =    arrow.c bound.c f2ps.c free.c read.c read1_3.c
  93. F2PSOBJ =    arrow.o bound.o f2ps.o free.o read.o read1_3.o
  94.  
  95. ComplexProgramTarget(xfig)
  96.  
  97. SingleProgramTarget(f2p,$(F2POBJ),,)
  98.  
  99. SingleProgramTarget(f2ps,$(F2PSOBJ),,)
  100.