I am trying to compile a package called hp2xx to use with Imagemagick.  It
helps convert pcl files to something a bit more universal.  The compile
fails as below.

<snip lots of warnings>
to_x11.c: In function `win_open':
to_x11.c:169: warning: passing arg 5 of `XSetStandardProperties' makes
integer from pointer without a cast
to_x11.c: In function `PicBuf_to_X11':
to_x11.c:338: warning: return makes integer from pointer without a cast
gcc  hp2xx.o hpgl.o picbuf.o bresnham.o chardraw.o getopt.o getopt1.o
to_vec.o to_pcx.o to_pcl.o to_eps.o to_img.o to_pbm.o to_rgip.o std_main.o
to_x11.o  -lX11 -lm      -o hp2xx
 /usr/bin/ld: cannot open -lX11: No such file or directory
collect2: ld returned 1 exit status
make: *** [all] Error 1
[steven@chaos10 sources]$

The gcc man says the -l option is looking for a library but I am not sure
what changes to make to the makefile to tell it where the correct library
is.  I am running Redhat 6.1.

Could someone please point me in the right direction.

Thank you & regards
Steven



--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to