bug-groff
[Top][All Lists]
Advanced

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

gxditview


From: George J. Wakileh
Subject: gxditview
Date: Wed, 23 May 2001 11:35:07 +0200

Hello,

For gxditview to compile, you need to add -lXpm to the makefile.

DEPXPMLIB = $(USRLIBDIR)/libXpm.a
XPMLIB =  -lXpm
LINTXPM = $(LINTLIBDIR)/llib-lXpm.ln

DEPLIBS = $(DEPXAWLIB) $(DEPXPMLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
LOCAL_LIBRARIES = $(XAWLIB) $(XPMLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)

$ make
rm -f gxditview
gcc -fpcc-struct-return -o gxditview -O       xditview.o   Dvi.o   draw.o   font
.o   lex.o   page.o   parse.o   XFontName.o   DviChar.o   device.o -lXaw -lXmu 
-lXt -lSM -lICE -lXext -lX11     -lm
/usr/lib/libXaw.a(Pixmap.o)(.text+0x1d4b):Pixmap.c: undefined reference to 
`XpmReadFileToPixmap'
collect2: ld returned 1 exit status
make: *** [gxditview] Error 1

$ make install
+ mkdirhier /usr/bin/X11
mkdir: cannot make directory `//usr': No such file or directory
mkdir: cannot make directory `//usr/bin': Permission denied
mkdir: cannot make directory `//usr/bin/X11': No such host or network path
make: *** [install] Error 1

For make install, /usr/X11R6/bin should work

George



reply via email to

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