Thanks. I have installed the opencv packages on the device (n900). My problem is in compiling a test program for the Maemo target in my desktop. Compiling for the maemo target does not even require the device, so i dont think it got anything to do with the device itself.