Added: Nov 18, 2008

From: h4ck3rm1k3

Duration: 1:17

This is a comprehensive guide to building and installing "generic" UNIX software distributions under Linux 1 exit status make: *** [hearts] Error 1 o Modern Linux distributions use the terminfo and/or termcap database, rather than the obsolete termlib one. Edit the Makefile. Line 655: CURSES_LIBRARIES = -lcurses -ltermlib changes to: CURSES_LIBRARIES = -lcurses -ltermcap 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_s -lXt -lSM -lICE -lXext -lX11 -lPW /usr/bin/ld: cannot open -lXm_s: No such file or directory collect2: ld returned 1 exit status o The main lesstif library is libXm, rather than libXm_s. Therefore, edit the Makefile. In line 653: X.M.L.I.B = -lXm_s $(XTOOLLIB) $(XLIB) -lPW changes to: X.M.L.I.B = -lXm $(XTOOLLIB)

Channel: Howto

Tags: build  gcc  linux  make  unix 


Rating: ( ratings)    Views: 7    Comments: