Error:Expected

Posted by GYoung on Sun 04 Jun 2006 01:51 AM — 2 posts, 10,350 views.

#0
I'm getting this error:

Administrator Ben@ShatteredHope ~/src
$ make
make swrip
make[1]: Entering directory `/home/Administrator Ben/src'
g++ -c -g3 -Wall -DNOCRYPT act_info.c
In file included from act_info.c:28:
/usr/include/crypt.h:31: error: expected unqualified-id before "const"
/usr/include/crypt.h:31: error: expected `)' before "const"
/usr/include/crypt.h:31: error: expected init-declarator before "const"
/usr/include/crypt.h:31: error: expected `,' or `;' before "const"
make[1]: *** [act_info.o] Error 1
make[1]: Leaving directory `/home/Administrator Ben/src'
make: *** [all] Error 2

Administrator Ben@ShatteredHope ~/src

Any ideas?
USA #1
In act_info.c, what do you include before crypt.h? And why is crypt.h being included when you've defined NOCRYPT? Have you changed anything whatsoever in the source?