LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-05-2014, 09:09 AM   #1
VijayB
LQ Newbie
 
Registered: Jun 2014
Posts: 21

Rep: Reputation: Disabled
Having issues while using shc


Hi,

While testing shc for compiling one .sh file , i am getting following error:

[~/shc-3.8.7]$ make test
*** Compiling script "match"
CFLAGS="-Wall -O6 " ./shc -v -f match
shc shll=sh
shc [-i]=-c
shc [-x]=exec '%s' "$@"
shc [-l]=
shc opts=
shc: cc -Wall -O6 match.x.c -o match.x
match.x.c:260:24: fatal error: sys/ptrace.h: No such file or directory
#include <sys/ptrace.h>
^
compilation terminated.
./shc: No error
Makefile:43: recipe for target 'match.x' failed


Can someone please let me know about this error. Why is this occuring?

Vijay
 
Old 08-06-2014, 02:40 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,332
Blog Entries: 55

Rep: Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531
Find out which package contains "(/usr/include/)sys/ptrace.h" and install that?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS issues, Downloading issues, Web issues. UbuntuHelp Linux - Networking 1 08-28-2012 08:34 AM
[SOLVED] can not install shc for encrypting shell scripts morad_dba Linux - Software 9 03-10-2011 11:43 AM
Revert from shc DinoFly Programming 1 05-25-2010 04:06 AM
ATI Ain in Wonder 8500DV LINUX LIVE boot issues (and TV issues) Flashmahn Linux - Hardware 1 03-09-2009 07:40 AM
Regarding Shell Script Compiler SHC gjagadish Programming 2 06-07-2006 03:31 AM


All times are GMT -5. The time now is 11:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration