DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 11th September 2010
laraaj laraaj is offline
New User
 
Join Date: Sep 2010
Posts: 2
Thanked 0 Times in 0 Posts
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
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error with kdeaccessibility... valorisa OpenBSD Packages and Ports 3 10th June 2009 08:58 PM
help error darken FreeBSD General 1 21st September 2008 09:28 PM
VLC run error mfaridi OpenBSD Packages and Ports 14 29th May 2008 05:38 PM
error kde darken FreeBSD General 1 5th May 2008 08:45 PM
relayd (and hoststated) give syntax error for 'check script' gwl OpenBSD Security 2 2nd May 2008 04:53 PM


All times are GMT. The time now is 11:31 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick