newbie: makefile question

Michael Sanders bluelamp100 at gmail.com
Fri Jan 27 10:21:51 PST 2012


Hi folks, question...

Attempting to compile some X11 code, but seem to be having problems
with the linker paths in the makefile. Hoping someone could advise me
on this issue. (libs/includes/headers are installed). I cant seem to find
the correct path (coming from a Linux world here...).

Here's the portion in question before modification:

X11INC = /usr/include/X11
X11LIB = /usr/lib/X11

INCS = -I. -I/usr/include -I${X11INC}
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11

And the same portion after modification:

X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib

INCS = -I. -I/usr/include -I${X11INC}
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11


Thanks.

-- 
Later on,
Mike

http://www.topcat.hypermart.net/index.html





More information about the Users mailing list