PDA

View Full Version : xevie hack and segfault?


jimyoung
May 20th, 2007, 04:22 AM
I know this may be a much more complex problem, but I was just wondering if i was missing something obvious.

I'm using xevie input interception as a hack to do something for a particular compiz plugin I want to try. I can use xevie in a stand alone application just fine. When I put ANY call to xevie code into a compiz plugin, it segfaults. Now, the reason I am asking here is because I am unfamiliar with the lib structure that the compiz plugins use.

originally, i was compiling the plugin fine and it did not complain. Then I realised that I was not linking in the xevie library at any point, and that I probably should. Even though I tell the linker to link in the xevie lib into the plugin, nothing changed.. I realise that these plugins are dynamically linked, but i'm surprised that i was not given a more intelligent error when i tried to load the plugin.

Is there any obvious plugin linking step or such that I am missing?

Thanks

Jim

jimyoung
May 20th, 2007, 04:49 AM
it worked by simply adding the lib to the makefile, to statically compile it into the plugin. it crashed before because of code taht I had modified to try and test the segfault..

Jim