|
From: Nicholas R. <np...@bo...> - 2004-04-05 08:32:42
|
Hi I'm presently running valgrind 1.9.6. I've got a gui app with a dialogue that can be called from a menubar (works 100%) or a context menu (calls same code, but occasionally fails if used when app first starts). Valgrind 1.9.6 doesn't seem to be able to find any problem so I thought I'd try the latest version. Since installing my present version of valgrind, I've upgraded (!) to kernel 2.6.1 from 2.4.24. I don't think this is causing any problems with the installed version, but it is stopping me compiling up the new version. When I run make, I get a stream of errors, the most significant of which is that TIF_NEED_RESCHED is undeclared in spinlock.h. Searching shows that this is a common enough error with 2.6.1 and is something to do with mixed up include headers. I've tried all the suggestions about cleaning up the include tree but nothing helps. Some threads suggest that the error shouldn't occur as these headers only relate to kernel code and the solution is to remove the (unecessary) calls to these headers. I don't know anything about how valgrind works, but it seems plausible that it would need some pretty low-level stuff! Any suggestions gratefully received. Thanks Nick |