|
2012-07-17
, 10:19
|
Posts: 224 |
Thanked: 132 times |
Joined on Jun 2012
@ Cairo ;Egypt
|
#42
|
In newer aegis-crypto there's no such problem.
I'm trying to compile applauncherd anyway (it may be useful with limited resources N900 has)
What's wrong with that line:
The error is:Code:const uint32_t ARG_MAX = 1024;
Thanks in advanceCode:/home/marcin/applauncher/meegotouch-meegotouch-applauncherd/src/launcherlib/connection.cpp:356: error: expected unqualified-id before numeric constant
|
2012-07-17
, 11:02
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#43
|
I wish for help u But I'm not a programmer unfortunately Like you it is C++ Compiler Error u can see this for Example
http://www.linuxquestions.org/questi...l-n00b-561352/
http://ubuntuforums.org/showthread.php?t=1255287
const int variable = 32
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
|
2012-07-17
, 11:33
|
Posts: 224 |
Thanked: 132 times |
Joined on Jun 2012
@ Cairo ;Egypt
|
#44
|
|
2012-07-17
, 11:48
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#45
|
I know it's a C++ compiler error. But why is the error happening?
If I do
Code:
const int variable = 32
u can Possible change int with unsigned int or els
see this
http://en.wikibooks.org/wiki/A_Littl..._and_Constants
http://www.codersource.net/C/CTutorials/CPointers.aspx
|
2012-07-17
, 11:53
|
Posts: 1,313 |
Thanked: 2,977 times |
Joined on Jun 2011
@ Finland
|
#46
|
In newer aegis-crypto there's no such problem.
I'm trying to compile applauncherd anyway (it may be useful with limited resources N900 has)
What's wrong with that line:
The error is:Code:const uint32_t ARG_MAX = 1024;
Thanks in advanceCode:/home/marcin/applauncher/meegotouch-meegotouch-applauncherd/src/launcherlib/connection.cpp:356: error: expected unqualified-id before numeric constant
typedef unsigned int uint32_t
The Following User Says Thank You to ajalkane For This Useful Post: | ||
|
2012-07-17
, 12:01
|
Posts: 189 |
Thanked: 171 times |
Joined on Jul 2011
|
#47
|
I don't want to change the types. I think it's something wrong with the ARG_MAX name. But I don't know what.
The Following User Says Thank You to pablocrossa For This Useful Post: | ||
|
2012-07-17
, 12:02
|
Posts: 224 |
Thanked: 132 times |
Joined on Jun 2012
@ Cairo ;Egypt
|
#48
|
I don't want to change the types. I think it's something wrong with the ARG_MAX name. But I don't know what.
The Following User Says Thank You to amr.fayz For This Useful Post: | ||
|
2012-07-17
, 12:17
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#49
|
[ 13%] Building CXX object src/mbooster/CMakeFiles/mbooster.dir/mbooster.cpp.o /home/marcin/applauncher/meegotouch-meegotouch-applauncherd/src/mbooster/mbooster.cpp: In member function 'virtual void MBooster::preinit()': /home/marcin/applauncher/meegotouch-meegotouch-applauncherd/src/mbooster/mbooster.cpp:116: error: 'setAppName' is not a member of 'QApplication' /home/marcin/applauncher/meegotouch-meegotouch-applauncherd/src/mbooster/mbooster.cpp:119: error: 'setAppClass' is not a member of 'QApplication' /home/marcin/applauncher/meegotouch-meegotouch-applauncherd/src/mbooster/mbooster.cpp:122: error: 'AA_LinuxReinitPathsFromArgv0' is not a member of 'Qt'
The Following User Says Thank You to marmistrz For This Useful Post: | ||
|
2012-07-17
, 12:29
|
Posts: 189 |
Thanked: 171 times |
Joined on Jul 2011
|
#50
|
when changed ARG_MAX to ARG_MAX1 it seems to compile cleanly till some point
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.