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

Re: [OT] where is XextFindDisplay?



Ron Johnson wrote:
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.


Right. I saw that. And libxext-dev is installed and so is libxext6.
Then why does


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

still give me an undefined reference to XextFindDisplay if I have both libraries installed?

Hugo


Reply to: