Added: Oct 13, 2008
From: h4ck3rm1k3
Duration: 1:15
This is a comprehensive guide to building and installing "generic" UNIX software distributions under Linux $(XLIB) -lPW make gcc -o xmhearts -g -L/usr/X11R6/lib xmclient.o hearts.o select.o connect.o sockio.o start_dist.o gfx.o -lXm -lXt -lSM -lICE -lXext -lX11 -lPW /usr/bin/ld: cannot open -lPW: No such file or directory collect2: ld returned 1 exit status make: *** [xmhearts] Error 1 o Round up the usual suspects. There is no P.W library. Edit the Makefile. Line 653: X.M.L.I.B = -lXm $(XTOOLLIB) $(XLIB) -lPW changes to: X.M.L.I.B = -lXm $(XTOOLLIB) $(XLIB) -lPEX5 (The PEX5 lib comes closest to PW.) make rm -f xmhearts gcc -o xmhearts -g -L/usr/X11R6/lib xmclient.o hearts.o select.o connect.o sockio.o start_dist.o gfx.o -lXm
Channel: Howto
Tags: build gcc linux make unix
Rating: ( ratings) Views: 6 Comments:
