groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Re: Make fails on OSX


From: Robert Goulding
Subject: Re: [Groff] Re: Make fails on OSX
Date: Thu, 3 Jun 2004 10:26:17 -0500

On Jun 3, 2004, at 1:22 AM, Werner LEMBERG wrote:


Just did a clean compile of the latest CVS, with all the changes in
xditview.  It fails on Mac OS X.3.4, using the standard Apple X-server
libraries/headers, with the message: [...]

ld: device.o illegal reference to symbol:
      _XtRealloc defined in indirectly referenced dynamic library
       /usr/X11R6/lib/libXt.6.dylib
ld: Dvi.o illegal reference to symbol:
      _XmuCvtStringToBackingStore defined in indirectly referenced
      dynamic library /usr/X11R6/lib/libXmu.6.dylib

This should be fixed now in the CVS.  Please test again.


OK, 2 problems. First of all, there is a typo in the xditview Makefile.sub: -lXmu appears as -Xmu. But once that's fixed, the compilation still halts with the following warning and error:

gcc -g -O2 -o gxditview device.o draw.o Dvi.o font.o lex.o page.o parse.o xditview.o /Users/rgouldin/groff/src/libs/libxutil/libxutil.a -L/usr/X11R6/lib -lSM -lICE -lX11 -lXt -lXaw -lXmu -lm
ld: warning multiple definitions of symbol _vendorShellWidgetClass
/usr/X11R6/lib/libXt.dylib(Vendor.o) definition of _vendorShellWidgetClass /usr/X11R6/lib/libXaw.dylib(Vendor.o) definition of _vendorShellWidgetClass
ld: warning multiple definitions of symbol _vendorShellClassRec
/usr/X11R6/lib/libXt.dylib(Vendor.o) definition of _vendorShellClassRec
/usr/X11R6/lib/libXaw.dylib(Vendor.o) definition of _vendorShellClassRec
Making gxditview.n from gxditview.man
gcc -I. -I. -I/Users/rgouldin/groff/src/include -I/Users/rgouldin/groff/src/include -DHAVE_CONFIG_H -g -O2 -c -I/usr/X11R6/include xtotroff.c gcc -g -O2 -o xtotroff xtotroff.o /Users/rgouldin/groff/src/libs/libxutil/libxutil.a -L/usr/X11R6/lib -lSM -lICE -lX11 -lXaw -lm ld: /Users/rgouldin/groff/src/libs/libxutil/libxutil.a(xmalloc.o) illegal reference to symbol: _XtMalloc defined in indirectly referenced dynamic library /usr/X11R6/lib/libXt.6.dylib
make[2]: *** [xtotroff] Error 1
make[1]: *** [src/utils/xtotroff] Error 2
make: *** [all] Error 2

Robert.

--
Robert Goulding
Program in History and Philosophy of Science
University of Notre Dame
Notre Dame IN 46656



reply via email to

[Prev in Thread] Current Thread [Next in Thread]