[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] cannot open -lX11: No such file or directory




Peter Naldal wrote:
> 
> Når jeg køre følgende makefil på Red Hat 6.1
> 
> cyclic_xlib: cyclic_xlib.c
>  gcc -lX11 -o cyclic_xlib cyclic_xlib.c
> 
Prøv at finde det sted i Makefile hvor der står LDFLAGS eller noget
lignende. Der tilføjer du så -L/usr/X11R6/lib, så linien kommer til at
se ud lidt som dette (Ikke nødvendigvis præcis)
LDFLAGS= -L/usr/X11R6/lib -lX11
-- 
-----BEGIN GEEK CODE BLOCK-----
VERSION: 3.12
GCS DPU s+: a--- C+ UL P- L++ E W++ N++ o+ K w--
O- M- V- PS PE-- Y+ PGP t 5 X+ R tv++ b++ DI++ D++
G e h+ !r !y
------END GEEK CODE BLOCK------


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:08 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *