<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: shc doesn't work in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125400#M448618</link>
    <description># chown root:sys *&lt;BR /&gt;# ll&lt;BR /&gt;total 448&lt;BR /&gt;-rw-r--r--   1 root       sys           3549 Jul 10  2006 CHANGES&lt;BR /&gt;-rw-r-----   1 root       sys          17982 May 10  1996 Copying&lt;BR /&gt;-rw-r-----   1 root       sys           1525 Jun 16  2005 Makefile&lt;BR /&gt;-rwxr-x---   1 root       sys            336 Feb 22  2003 match&lt;BR /&gt;-rw-------   1 root       sys          11194 Aug 23 16:10 match.x.c&lt;BR /&gt;-rwxr-x---   1 root       sys            155 Jun 20  2003 pru.sh&lt;BR /&gt;-rwx------   1 root       sys          80820 Aug 23 16:10 shc&lt;BR /&gt;-rw-r-----   1 root       sys           3136 Jul  8  2004 shc.1&lt;BR /&gt;-rw-r-----   1 root       sys           1544 Jun 19  2003 shc.README&lt;BR /&gt;-rw-r-----   1 root       sys          24715 Jul 10  2006 shc.c&lt;BR /&gt;-rw-r-----   1 root       sys           4558 Jul  8  2004 shc.html&lt;BR /&gt;-rwxr-xr-x   1 root       sys            138 Nov 13  2004 test.bash&lt;BR /&gt;-rwxr-x---   1 root       sys             52 Jun 20  2003 test.csh&lt;BR /&gt;# make cleanall&lt;BR /&gt;        rm -f *.o *~ *.x.c&lt;BR /&gt;        rm -f shc *.x&lt;BR /&gt;# make test&lt;BR /&gt;        /opt/hp-gcc/bin/gcc -Wall -O6 -pedantic shc.c -o shc&lt;BR /&gt;***     Compiling script "match"&lt;BR /&gt;        CFLAGS="-Wall -O6 -pedantic" ./shc -v -f match&lt;BR /&gt;shc shll=sh&lt;BR /&gt;shc [-i]=-c&lt;BR /&gt;shc [-x]=exec '%s' "$@"&lt;BR /&gt;shc [-l]=&lt;BR /&gt;shc opts=&lt;BR /&gt;shc: /opt/hp-gcc/bin/gcc -Wall -O6 -pedantic match.x.c -o match.x&lt;BR /&gt;match.x.c:101: warning: string length '867' is greater than the length '509' ISO C90 compilers are required to support&lt;BR /&gt;match.x.c: In function 'untraceable':&lt;BR /&gt;match.x.c:282: error: too few arguments to function 'ptrace'&lt;BR /&gt;./shc: Error 0&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.</description>
    <pubDate>Wed, 20 Aug 2008 07:19:20 GMT</pubDate>
    <dc:creator>chuanpeng.wang</dc:creator>
    <dc:date>2008-08-20T07:19:20Z</dc:date>
    <item>
      <title>shc doesn't work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125387#M448605</link>
      <description>I try compile a script to binary file with shc.&lt;BR /&gt;But shc doesn't work on my server.&lt;BR /&gt;I have installed HP C/aC++ Compiler on the server.&lt;BR /&gt;Is there other compiler needed?&lt;BR /&gt;The version of shc is 3.8.6.&lt;BR /&gt;&lt;BR /&gt;# ll&lt;BR /&gt;total 336&lt;BR /&gt;-rw-r--r--   1 501        501           3549 Jul 10  2006 CHANGES&lt;BR /&gt;-rw-r-----   1 501        501          17982 May 10  1996 Copying&lt;BR /&gt;-rw-r-----   1 501        501           1525 Jun 16  2005 Makefile&lt;BR /&gt;-rwxr-x---   1 501        501            336 Feb 22  2003 match&lt;BR /&gt;-rwxr-x---   1 501        501            155 Jun 20  2003 pru.sh&lt;BR /&gt;-rwxr-xr-x   1 501        501          39767 Jul 10  2006 shc&lt;BR /&gt;-rw-r-----   1 501        501           3136 Jul  8  2004 shc.1&lt;BR /&gt;-rw-r-----   1 501        501           1544 Jun 19  2003 shc.README&lt;BR /&gt;-rw-r-----   1 501        501          24715 Jul 10  2006 shc.c&lt;BR /&gt;-rw-r-----   1 501        501           4558 Jul  8  2004 shc.html&lt;BR /&gt;-rwxr-xr-x   1 501        501            138 Nov 13  2004 test.bash&lt;BR /&gt;-rwxr-x---   1 501        501             52 Jun 20  2003 test.csh&lt;BR /&gt;&lt;BR /&gt;# make&lt;BR /&gt;***     ¿Do you want to probe shc with a test script?&lt;BR /&gt;***     Please try...   make test&lt;BR /&gt;&lt;BR /&gt;# make test&lt;BR /&gt;***     Compiling script "match"&lt;BR /&gt;        CFLAGS="-Wall -O6 -pedantic" ./shc -v -f matchjavascript&amp;amp;colon;postMessageSubmit('submit');&lt;BR /&gt;/usr/bin/sh: ./shc: Execute permission denied.&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Aug 2008 04:50:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125387#M448605</guid>
      <dc:creator>chuanpeng.wang</dc:creator>
      <dc:date>2008-08-19T04:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: shc doesn't work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125388#M448606</link>
      <description>Hi,&lt;BR /&gt;There is permission denied.&lt;BR /&gt;Please provide the the process to execute, it will better if you can give chmod 777. Then you try further.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gokul Chandola</description>
      <pubDate>Tue, 19 Aug 2008 05:34:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125388#M448606</guid>
      <dc:creator>Gokul Chandola</dc:creator>
      <dc:date>2008-08-19T05:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: shc doesn't work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125389#M448607</link>
      <description>&amp;gt;Gokul: There is permission denied.  it will better if you can give chmod 777.&lt;BR /&gt;&lt;BR /&gt;There is no permission problem.  It already is executable: -rwxr-xr-x shc&lt;BR /&gt;You should never use 777, at most use "chmod a+x".&lt;BR /&gt;&lt;BR /&gt;Try "file shc".  This is probably an executable for IPF (if on PA) or some foreign devil machine.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Aug 2008 08:06:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125389#M448607</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-08-19T08:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: shc doesn't work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125390#M448608</link>
      <description>&amp;gt;&amp;gt; /usr/bin/sh: ./shc: Execute permission denied&lt;BR /&gt;&lt;BR /&gt;provide following:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;which shc&lt;BR /&gt;&lt;BR /&gt;ll path to shc&lt;BR /&gt;&lt;BR /&gt;after install shc should have 755...</description>
      <pubDate>Tue, 19 Aug 2008 10:32:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125390#M448608</guid>
      <dc:creator>Deepak Kr</dc:creator>
      <dc:date>2008-08-19T10:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: shc doesn't work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125391#M448609</link>
      <description>I try make test on both PA and IA servers.&lt;BR /&gt;The error is identical.&lt;BR /&gt;&lt;BR /&gt;# file shc&lt;BR /&gt;shc:            ELF-32 executable object file&lt;BR /&gt;&lt;BR /&gt;# which shc&lt;BR /&gt;no shc in /usr/sbin /usr/bin /usr/ccs/bin /usr/contrib/bin /usr/contrib/Q4/bin /opt/perl/bin /opt/ipf/bin /opt/hparray/bin /opt/nettladm/bin /opt/fcms/bin /usr/bin/X11 /opt/resmon/bin /opt/perf/bin /usr/contrib/kwdb/bin /opt/wbem/bin /opt/wbem/sbin /opt/graphics/common/bin /opt/prm/bin /opt/sfm/bin /opt/upgrade/bin /opt/wlm/bin /opt/sas/bin /opt/sec_mgmt/bastille/bin /opt/dsau/bin /opt/dsau/sbin /opt/firefox /opt/gnome/bin /opt/mozilla /opt/perl_32/bin /opt/perl_64/bin /opt/sec_mgmt/spc/bin /opt/ssh/bin /opt/swa/bin /opt/hpsmh/bin /opt/thunderbird /opt/gwlm/bin /usr/contrib/bin/X11 /opt/ignite/bin /opt/langtools/bin /opt/omni/bin /opt/omni/sbin /opt/omni/lbin /opt/hpnpl//bin /opt/cfg2html /opt/caliper/bin /tmp/tmp/tmp /opt/mx/bin /opt/aCC/bin /opt/sanmgr/commandview/client/sbin /sbin /home/root&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Aug 2008 00:30:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125391#M448609</guid>
      <dc:creator>chuanpeng.wang</dc:creator>
      <dc:date>2008-08-20T00:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: shc doesn't work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125392#M448610</link>
      <description>I have installed gcc on the server, the server is rp4440, OS is 11iv1&lt;BR /&gt;&lt;BR /&gt;#make cleanall&lt;BR /&gt;        rm -f *.o *~ *.x.c&lt;BR /&gt;        rm -f shc *.x&lt;BR /&gt;&lt;BR /&gt;#make test&lt;BR /&gt;        /opt/hp-gcc/bin/gcc -Wall -O6 -pedantic shc.c -o shc&lt;BR /&gt;***     Compiling script "match"&lt;BR /&gt;        CFLAGS="-Wall -O6 -pedantic" ./shc -v -f match&lt;BR /&gt;shc shll=sh&lt;BR /&gt;shc [-i]=-c&lt;BR /&gt;shc [-x]=exec '%s' "$@"&lt;BR /&gt;shc [-l]=&lt;BR /&gt;shc opts=&lt;BR /&gt;shc: /opt/hp-gcc/bin/gcc -Wall -O6 -pedantic match.x.c -o match.x&lt;BR /&gt;match.x.c:105: warning: string length '931' is greater than the length '509' ISO C90 compilers are required to support&lt;BR /&gt;match.x.c: In function 'untraceable':&lt;BR /&gt;match.x.c:286: error: too few arguments to function 'ptrace'&lt;BR /&gt;./shc: Error 0&lt;BR /&gt;*** Error exit code &lt;BR /&gt;Stop.</description>
      <pubDate>Wed, 20 Aug 2008 04:44:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125392#M448610</guid>
      <dc:creator>chuanpeng.wang</dc:creator>
      <dc:date>2008-08-20T04:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: shc doesn't work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125393#M448611</link>
      <description>&amp;gt;I try make test on both PA and IA servers.&lt;BR /&gt;&amp;gt;The error is identical.&lt;BR /&gt;&amp;gt;# file shc&lt;BR /&gt;&amp;gt;shc: ELF-32 executable object file&lt;BR /&gt;&lt;BR /&gt;This should work fine but only on IPF.&lt;BR /&gt;Since shc is small, could you attach it to your reply?</description>
      <pubDate>Wed, 20 Aug 2008 04:57:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125393#M448611</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-08-20T04:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: shc doesn't work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125394#M448612</link>
      <description>Hi Dennis&lt;BR /&gt;&lt;BR /&gt;These are the files.</description>
      <pubDate>Wed, 20 Aug 2008 06:04:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125394#M448612</guid>
      <dc:creator>chuanpeng.wang</dc:creator>
      <dc:date>2008-08-20T06:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: shc doesn't work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125395#M448613</link>
      <description>&lt;!--!*#--&gt;&amp;gt;&amp;gt;shc: ELF-32 executable object file&lt;BR /&gt;&lt;BR /&gt;&amp;gt;This should work fine but only on IPF.&lt;BR /&gt;&lt;BR /&gt;Oops, didn't look close enough.  This is from some foreign devil machine, most likely x86 linux.  HP-UX IPF has:&lt;BR /&gt;/usr/bin/ksh:   ELF-32 executable object file - IA64&lt;BR /&gt;&lt;BR /&gt;elfdump doesn't like it either:&lt;BR /&gt;$ elfdump -f shc&lt;BR /&gt;               *** ELF Header ***&lt;BR /&gt;Class:                   ELF-32&lt;BR /&gt;Data:                    Little-endian&lt;BR /&gt;OS:                      0&lt;BR /&gt;ABI Version:             0&lt;BR /&gt;Type:                    EXEC&lt;BR /&gt;elfdump: Bad machine: 3 (elfdumperr 3004)&lt;BR /&gt;&lt;BR /&gt;You need to remove shc, then make it.</description>
      <pubDate>Wed, 20 Aug 2008 06:42:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125395#M448613</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-08-20T06:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: shc doesn't work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125396#M448614</link>
      <description>The server is Rx7640, OS is 11.23.&lt;BR /&gt;I have remove shc.&lt;BR /&gt;&lt;BR /&gt;# make cleanall&lt;BR /&gt;        rm -f *.o *~ *.x.c&lt;BR /&gt;        rm -f shc *.x&lt;BR /&gt;&lt;BR /&gt;# make test&lt;BR /&gt;        cc -Wall -O6 -pedantic shc.c -o shc&lt;BR /&gt;cc: error 1914: bad form for `-W' option&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;&lt;BR /&gt;# ll&lt;BR /&gt;total 256&lt;BR /&gt;-rw-r--r--   1 501        501           3549 Jul 10  2006 CHANGES&lt;BR /&gt;-rw-r-----   1 501        501          17982 May 10  1996 Copying&lt;BR /&gt;-rw-r-----   1 501        501           1525 Jun 16  2005 Makefile&lt;BR /&gt;-rwxr-x---   1 501        501            336 Feb 22  2003 match&lt;BR /&gt;-rwxr-x---   1 501        501            155 Jun 20  2003 pru.sh&lt;BR /&gt;-rw-r-----   1 501        501           3136 Jul  8  2004 shc.1&lt;BR /&gt;-rw-r-----   1 501        501           1544 Jun 19  2003 shc.README&lt;BR /&gt;-rw-r-----   1 501        501          24715 Jul 10  2006 shc.c&lt;BR /&gt;-rw-r-----   1 501        501           4558 Jul  8  2004 shc.html&lt;BR /&gt;-rwxr-xr-x   1 501        501            138 Nov 13  2004 test.bash&lt;BR /&gt;-rwxr-x---   1 501        501             52 Jun 20  2003 test.csh</description>
      <pubDate>Wed, 20 Aug 2008 06:55:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125396#M448614</guid>
      <dc:creator>chuanpeng.wang</dc:creator>
      <dc:date>2008-08-20T06:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: shc doesn't work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125397#M448615</link>
      <description>&amp;gt;-Wall -O6 -pedantic&lt;BR /&gt;&amp;gt;cc: error 1914: bad form for `-W' option&lt;BR /&gt;&lt;BR /&gt;These are gcc options.  Just replace all those by -O.  If you are on IPF, you can replace -Wall by +wlint.</description>
      <pubDate>Wed, 20 Aug 2008 07:12:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125397#M448615</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-08-20T07:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: shc doesn't work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125398#M448616</link>
      <description>I installed GCC on the server.&lt;BR /&gt;&lt;BR /&gt;# whereis gcc&lt;BR /&gt;gcc: /opt/hp-gcc-4.3.1/bin/gcc /opt/hp-gcc/bin/gcc /opt/hp-gcc-4.3.1/man/man1/gcc.1 /opt/hp-gcc/man/man1/gcc.1&lt;BR /&gt;# CC=/opt/hp-gcc/bin/gcc&lt;BR /&gt;# export CC&lt;BR /&gt;&lt;BR /&gt;# make cleanall&lt;BR /&gt;        rm -f *.o *~ *.x.c&lt;BR /&gt;        rm -f shc *.x&lt;BR /&gt;&lt;BR /&gt;# make test&lt;BR /&gt;        /opt/hp-gcc/bin/gcc -Wall -O6 -pedantic shc.c -o shc&lt;BR /&gt;***     Compiling script "match"&lt;BR /&gt;        CFLAGS="-Wall -O6 -pedantic" ./shc -v -f match&lt;BR /&gt;shc shll=sh&lt;BR /&gt;shc [-i]=-c&lt;BR /&gt;shc [-x]=exec '%s' "$@"&lt;BR /&gt;shc [-l]=&lt;BR /&gt;shc opts=&lt;BR /&gt;shc: /opt/hp-gcc/bin/gcc -Wall -O6 -pedantic match.x.c -o match.x&lt;BR /&gt;match.x.c:109: warning: string length '991' is greater than the length '509' ISO C90 compilers are required to support&lt;BR /&gt;match.x.c: In function 'untraceable':&lt;BR /&gt;match.x.c:290: error: too few arguments to function 'ptrace'&lt;BR /&gt;./shc: Error 0&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Aug 2008 07:12:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125398#M448616</guid>
      <dc:creator>chuanpeng.wang</dc:creator>
      <dc:date>2008-08-20T07:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: shc doesn't work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125399#M448617</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;it's maybe not an issue, but:&lt;BR /&gt;you have for example:&lt;BR /&gt;-rw-r----- 1 501 501 17982 May 10 1996 Copying&lt;BR /&gt;&lt;BR /&gt;The owner and the group seems to be unknown!&lt;BR /&gt;I would change ownership to your test-user/group.&lt;BR /&gt;At the moment some files are not readable by users not in this group '501' - and normally a number means this user-/group-id is unknown by the system.&lt;BR /&gt;&lt;BR /&gt;Volkmar&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Aug 2008 07:13:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125399#M448617</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2008-08-20T07:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: shc doesn't work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125400#M448618</link>
      <description># chown root:sys *&lt;BR /&gt;# ll&lt;BR /&gt;total 448&lt;BR /&gt;-rw-r--r--   1 root       sys           3549 Jul 10  2006 CHANGES&lt;BR /&gt;-rw-r-----   1 root       sys          17982 May 10  1996 Copying&lt;BR /&gt;-rw-r-----   1 root       sys           1525 Jun 16  2005 Makefile&lt;BR /&gt;-rwxr-x---   1 root       sys            336 Feb 22  2003 match&lt;BR /&gt;-rw-------   1 root       sys          11194 Aug 23 16:10 match.x.c&lt;BR /&gt;-rwxr-x---   1 root       sys            155 Jun 20  2003 pru.sh&lt;BR /&gt;-rwx------   1 root       sys          80820 Aug 23 16:10 shc&lt;BR /&gt;-rw-r-----   1 root       sys           3136 Jul  8  2004 shc.1&lt;BR /&gt;-rw-r-----   1 root       sys           1544 Jun 19  2003 shc.README&lt;BR /&gt;-rw-r-----   1 root       sys          24715 Jul 10  2006 shc.c&lt;BR /&gt;-rw-r-----   1 root       sys           4558 Jul  8  2004 shc.html&lt;BR /&gt;-rwxr-xr-x   1 root       sys            138 Nov 13  2004 test.bash&lt;BR /&gt;-rwxr-x---   1 root       sys             52 Jun 20  2003 test.csh&lt;BR /&gt;# make cleanall&lt;BR /&gt;        rm -f *.o *~ *.x.c&lt;BR /&gt;        rm -f shc *.x&lt;BR /&gt;# make test&lt;BR /&gt;        /opt/hp-gcc/bin/gcc -Wall -O6 -pedantic shc.c -o shc&lt;BR /&gt;***     Compiling script "match"&lt;BR /&gt;        CFLAGS="-Wall -O6 -pedantic" ./shc -v -f match&lt;BR /&gt;shc shll=sh&lt;BR /&gt;shc [-i]=-c&lt;BR /&gt;shc [-x]=exec '%s' "$@"&lt;BR /&gt;shc [-l]=&lt;BR /&gt;shc opts=&lt;BR /&gt;shc: /opt/hp-gcc/bin/gcc -Wall -O6 -pedantic match.x.c -o match.x&lt;BR /&gt;match.x.c:101: warning: string length '867' is greater than the length '509' ISO C90 compilers are required to support&lt;BR /&gt;match.x.c: In function 'untraceable':&lt;BR /&gt;match.x.c:282: error: too few arguments to function 'ptrace'&lt;BR /&gt;./shc: Error 0&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.</description>
      <pubDate>Wed, 20 Aug 2008 07:19:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125400#M448618</guid>
      <dc:creator>chuanpeng.wang</dc:creator>
      <dc:date>2008-08-20T07:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: shc doesn't work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125401#M448619</link>
      <description>I added a "0" into line 301 in shc.c&lt;BR /&gt;&lt;BR /&gt;mine = !ptrace(PTRACE_ATTACH, pid, 0, 0, 0);&lt;BR /&gt;                                        ^^^&lt;BR /&gt;# make test&lt;BR /&gt;***     Running a compiled test script!&lt;BR /&gt;***     It must show files with substring "sh" in your PATH...&lt;BR /&gt;        ./match.x sh&lt;BR /&gt;./match.x: Function is not available&lt;BR /&gt;*** Termination signal 9&lt;BR /&gt;&lt;BR /&gt;Stop.</description>
      <pubDate>Wed, 20 Aug 2008 07:43:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125401#M448619</guid>
      <dc:creator>chuanpeng.wang</dc:creator>
      <dc:date>2008-08-20T07:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: shc doesn't work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125402#M448620</link>
      <description>Here is an existing thread that tells the whole sad story how you are hosed.  It even has all of the errors you got!  (Except last time I was smarter and said to clean first. ;-)&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1192978" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1192978&lt;/A&gt;</description>
      <pubDate>Wed, 20 Aug 2008 07:57:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125402#M448620</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-08-20T07:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: shc doesn't work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125403#M448621</link>
      <description>shc works with -r -T -f.&lt;BR /&gt;&lt;BR /&gt;Thanks all.</description>
      <pubDate>Wed, 20 Aug 2008 08:53:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shc-doesn-t-work/m-p/5125403#M448621</guid>
      <dc:creator>chuanpeng.wang</dc:creator>
      <dc:date>2008-08-20T08:53:06Z</dc:date>
    </item>
  </channel>
</rss>

