View Single Post
  #1   (View Single Post)  
Old 11th September 2010
laraaj laraaj is offline
New User
 
Join Date: Sep 2010
Posts: 2
Default shc unistd.h:239: error: syntax error before '&' token

Hello i'm trying to use the SHC scripts encryption tool datsi.fi.upm.es/~frosal/sources/shc.html
when i run "make" the program compiles successfully but it asks me to run the "make test" which issue an error message
Code:
 
shc: cc -Wall -O6 match.x.c -o match.x
In file included from match.x.c:123:
/usr/include/unistd.h:239: error: syntax error before '&' token
./shc: Undefined error: 0
*** Error code 1

Stop in /home/laraaj/shc-3.8.7 (line 43 of Makefile).
and i keep getting the same message when i try to use the compiled binary.

does anyone have any idea what's wrong, i only have this problem on BSD while it
works perfectly on Linux.
Reply With Quote