View Single Post
Posts: 224 | Thanked: 132 times | Joined on Jun 2012 @ Cairo ;Egypt
#41
Originally Posted by marmistrz View Post
Hmmm, I tried compiling aegis-crypto, which is a dependency for applauncher
The first error (IN_NONBLOCK not declared) I was able to fix myself but there's another one I've got no idea what to do with.
The error is:

Code:
aegis_storage.cpp: In member function 'bool aegis::storage::inotify_set_watch()':
aegis_storage.cpp:1088: error: 'inotify_init1' was not declared in this scope
The patch for the first error is attached.

Does anybody know how this error can be fixed?

libbb5-dev shouldn't be required, as libmaemosec-something shhould have the needed files.


It looks Problem in kernel version you are using an old kernel version, inotify_init1 was added in 2.6.27 you can either, upgrade your kernel or change this line

https://github.com/c4milo/node-inoti...ndings.cc#L113
for
inotify->fd = inotify_init();
but note that I haven't tested this change. You can also read http://www.kernel.org/doc/man-pages/...y_init1.2.html to get more information.


or u can see C++ Compiler Error i hop it help u

http://www.velocityreviews.com/forum...his-scope.html
http://stackoverflow.com/questions/6...n-this-scope-c

Last edited by amr.fayz; 2012-07-17 at 10:23.