Hi All, Okay so this isn't fink related but I felt that someone might know how to solve an X11 problem I'm having. I've tried everything else. I am trying to build code I use for plotting and it requires some xlib resources. This is a copy of the makefile I am using.
CC = g++ XLIB = -lplot -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 -lpng -lz LIB_FLAGS = -L/usr/local/lib -L/usr/X11R6/lib CFLAGS = -Wall -I./include OBJS = graph.o pgraph.o main: $(OBJS) $(CC) $(CFLAGS) $(LIB_FLAGS) $(OBJS) $(XLIB) -o graph.o: graph.cc ./pgraph.h ./openfile.h $(CC) $(CFLAGS) -c graph.cc pgraph.o: ./pgraph.cc ./pgraph.h $(CC) $(CFLAGS) -c pgraph.cc However, after my c-files compile and it tries building an executeable I get the following error: g++ -Wall -I./include -c graph.cc g++ -Wall -I./include -c ~/programs/graph/pgraph.cc g++ -Wall -I./include -L/usr/local/lib -L/usr/X11R6/lib graph.o pgraph.o -lplot -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 -lpng -lz -o graph /usr/bin/ld: can't locate file for: -lplot collect2: ld returned 1 exit status make: *** [main] Error 1 Anyone else try using -lplot and have problems? Any suggestions? Thanks Cheers, ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
