[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cc compiler questoin



> Add the pathname to /etc/ld.so.conf and run ldconfig

As the name implies, ld.so.conf is for libraries, not headers. This won't 
do much to help his situation when _building_ software, but it could have 
an effect when _running_ software. 

> failing that edit the include statements in the .c file and give 
absolute 
> paths to each of the libraries.

This also won't work, if the parent headers require other headers. You 
must pass in the proper include paths when building, so it is passed 
through the stack at compile time. 

The problem is that his "non-development" style system probably lacks the 
-dev or -devel packages that include these and other headers which are 
necessary for building xev. 


David A. Desrosiers
Linux on Power Developer Program Manager
daviddes@us.ibm.com
Office: 860-271-1642


-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.