On 10/06/08 09:39, Hugo Vanwoerkom wrote:
Hi,
I am trying to compile *on my own* some sample code that comes with 
nvidia-settings and I get errors:
do-nvctrl.cpp:(.text+0x1f): undefined reference to 
`XextFindDisplay(_XExtensionInfo*, _XDisplay*)'
but I have Xext referenced:
g++  -o do-nv-control-dvc do-nv-control-dvc.o do-nvctrl.o    
-L/usr/lib -L lib-nv -L /usr/X11R6/lib -lXNVCtrl -lqt-mt -lXext -lX11 
-lm -lXxf86vm -lQtGui -lQtCore -lpthread
So where does that entry reside?
Anybody?
Google is your friend!
http://www.google.com/search?q=XextFindDisplay
The first result from this query shows that it's in libXext, package 
libxext-dev.