<?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 Time::HiRes compilation error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/time-hires-compilation-error/m-p/3670126#M797705</link>
    <description>I've tried to compiled the perl module Time::HiRes on HPUX 11.11 but encounter problem, both using cc and gcc. &lt;BR /&gt;&lt;BR /&gt;When I do the perl Makefile.PL, it reports,&lt;BR /&gt;&lt;BR /&gt;Configuring Time::HiRes...&lt;BR /&gt;Have syscall(), looking for syscall.h... NOT found.&lt;BR /&gt;Looking for gettimeofday()... found.&lt;BR /&gt;Looking for setitimer()... NOT found.&lt;BR /&gt;Looking for getitimer()... NOT found.&lt;BR /&gt;You do not have interval timers.&lt;BR /&gt;Looking for ualarm()... NOT found.&lt;BR /&gt;Looking for usleep()... NOT found.&lt;BR /&gt;Let's see if you have select()... found.&lt;BR /&gt;We can make a Time::HiRes::usleep().&lt;BR /&gt;Looking for nanosleep()... testing... found.&lt;BR /&gt;You can mix subsecond sleeps with signals, if you want to.&lt;BR /&gt;(It's still not portable, though.)&lt;BR /&gt;Looking for clock_gettime()... NOT found.&lt;BR /&gt;Looking for clock_getres()... NOT found.&lt;BR /&gt;Writing Makefile for Time::HiRes&lt;BR /&gt;Now you may issue 'make'.  Do not forget also 'make test'.&lt;BR /&gt;&lt;BR /&gt;When I run make (using cc as default),&lt;BR /&gt;&lt;BR /&gt;        cc -c  -Ae -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O +Onolimit    -DVERSION=\"1.82\"  -DXS_VERSION=\"1.82\" +z -I/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE -DTIME_HIRES_NANOSLEEP -DATLEASTFIVEOHOHFIVE HiRes.c&lt;BR /&gt;(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored.&lt;BR /&gt;(Bundled) cc: warning 480: The -O option is available only with the C/ANSI C product; ignored.&lt;BR /&gt;(Bundled) cc: warning 480: The +Onolimit option is available only with the C/ANSI C product; ignored.&lt;BR /&gt;(Bundled) cc: warning 480: The +z option is available only with the C/ANSI C product; ignored.&lt;BR /&gt;(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 538: error 1000: Unexpected symbol: "nbytes".&lt;BR /&gt;(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 538: error 1506: Parameters allowed in function definition only.&lt;BR /&gt;(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 539: error 1000: Unexpected symbol: "elements".&lt;BR /&gt;(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 539: error 1705: Function prototypes are an ANSI feature.&lt;BR /&gt;(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 539: error 1573: Type of "size" is undefined due to an illegal declaration.&lt;BR /&gt;(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 540: error 1000: Unexpected symbol: "size_t".&lt;BR /&gt;(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 540: error 1705: Function prototypes are an ANSI feature.&lt;BR /&gt;:::&lt;BR /&gt;(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Then, when I try to run it under gcc, I got,&lt;BR /&gt;&lt;BR /&gt;        gcc -c  -Ae -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O +Onolimit    -DVERSION=\"1.82\"  -DXS_VERSION=\"1.82\" +z -I/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE -DTIME_HIRES_NANOSLEEP -DATLEASTFIVEOHOHFIVE HiRes.c&lt;BR /&gt;gcc: +Onolimit: No such file or directory&lt;BR /&gt;gcc: +z: No such file or directory&lt;BR /&gt;&lt;COMMAND line=""&gt;:1:2: missing '(' after predicate&lt;BR /&gt;In file included from /opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h:713,&lt;BR /&gt;                 from HiRes.xs:16:&lt;BR /&gt;/usr/include/sys/socket.h:503: parse error before "__sendfile64"&lt;BR /&gt;/usr/include/sys/socket.h:503: parse error before "bsize_t"&lt;BR /&gt;/usr/include/sys/socket.h:504: parse error before "__sendpath64"&lt;BR /&gt;/usr/include/sys/socket.h:504: parse error before "bsize_t"&lt;BR /&gt;/usr/include/sys/socket.h:506: parse error before "sendfile"&lt;BR /&gt;/usr/include/sys/socket.h: In function `sendfile':&lt;BR /&gt;/usr/include/sys/socket.h:506: parse error before "bsize_t"&lt;BR /&gt;/usr/include/sys/socket.h: At top level:&lt;BR /&gt;/usr/include/sys/socket.h:507: parse error before "sendpath"&lt;BR /&gt;/usr/include/sys/socket.h: In function `sendpath':&lt;BR /&gt;/usr/include/sys/socket.h:507: parse error before "bsize_t"&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;&lt;BR /&gt;Anyone got an idea? and have the solution? Or, is there any HP compiled version of this perl Module available?&lt;BR /&gt;&lt;BR /&gt;Bosco&lt;BR /&gt;&lt;BR /&gt;&lt;/COMMAND&gt;</description>
    <pubDate>Fri, 11 Nov 2005 16:00:57 GMT</pubDate>
    <dc:creator>Bosco Tsang</dc:creator>
    <dc:date>2005-11-11T16:00:57Z</dc:date>
    <item>
      <title>Time::HiRes compilation error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-hires-compilation-error/m-p/3670126#M797705</link>
      <description>I've tried to compiled the perl module Time::HiRes on HPUX 11.11 but encounter problem, both using cc and gcc. &lt;BR /&gt;&lt;BR /&gt;When I do the perl Makefile.PL, it reports,&lt;BR /&gt;&lt;BR /&gt;Configuring Time::HiRes...&lt;BR /&gt;Have syscall(), looking for syscall.h... NOT found.&lt;BR /&gt;Looking for gettimeofday()... found.&lt;BR /&gt;Looking for setitimer()... NOT found.&lt;BR /&gt;Looking for getitimer()... NOT found.&lt;BR /&gt;You do not have interval timers.&lt;BR /&gt;Looking for ualarm()... NOT found.&lt;BR /&gt;Looking for usleep()... NOT found.&lt;BR /&gt;Let's see if you have select()... found.&lt;BR /&gt;We can make a Time::HiRes::usleep().&lt;BR /&gt;Looking for nanosleep()... testing... found.&lt;BR /&gt;You can mix subsecond sleeps with signals, if you want to.&lt;BR /&gt;(It's still not portable, though.)&lt;BR /&gt;Looking for clock_gettime()... NOT found.&lt;BR /&gt;Looking for clock_getres()... NOT found.&lt;BR /&gt;Writing Makefile for Time::HiRes&lt;BR /&gt;Now you may issue 'make'.  Do not forget also 'make test'.&lt;BR /&gt;&lt;BR /&gt;When I run make (using cc as default),&lt;BR /&gt;&lt;BR /&gt;        cc -c  -Ae -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O +Onolimit    -DVERSION=\"1.82\"  -DXS_VERSION=\"1.82\" +z -I/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE -DTIME_HIRES_NANOSLEEP -DATLEASTFIVEOHOHFIVE HiRes.c&lt;BR /&gt;(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored.&lt;BR /&gt;(Bundled) cc: warning 480: The -O option is available only with the C/ANSI C product; ignored.&lt;BR /&gt;(Bundled) cc: warning 480: The +Onolimit option is available only with the C/ANSI C product; ignored.&lt;BR /&gt;(Bundled) cc: warning 480: The +z option is available only with the C/ANSI C product; ignored.&lt;BR /&gt;(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 538: error 1000: Unexpected symbol: "nbytes".&lt;BR /&gt;(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 538: error 1506: Parameters allowed in function definition only.&lt;BR /&gt;(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 539: error 1000: Unexpected symbol: "elements".&lt;BR /&gt;(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 539: error 1705: Function prototypes are an ANSI feature.&lt;BR /&gt;(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 539: error 1573: Type of "size" is undefined due to an illegal declaration.&lt;BR /&gt;(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 540: error 1000: Unexpected symbol: "size_t".&lt;BR /&gt;(Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 540: error 1705: Function prototypes are an ANSI feature.&lt;BR /&gt;:::&lt;BR /&gt;(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Then, when I try to run it under gcc, I got,&lt;BR /&gt;&lt;BR /&gt;        gcc -c  -Ae -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O +Onolimit    -DVERSION=\"1.82\"  -DXS_VERSION=\"1.82\" +z -I/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE -DTIME_HIRES_NANOSLEEP -DATLEASTFIVEOHOHFIVE HiRes.c&lt;BR /&gt;gcc: +Onolimit: No such file or directory&lt;BR /&gt;gcc: +z: No such file or directory&lt;BR /&gt;&lt;COMMAND line=""&gt;:1:2: missing '(' after predicate&lt;BR /&gt;In file included from /opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h:713,&lt;BR /&gt;                 from HiRes.xs:16:&lt;BR /&gt;/usr/include/sys/socket.h:503: parse error before "__sendfile64"&lt;BR /&gt;/usr/include/sys/socket.h:503: parse error before "bsize_t"&lt;BR /&gt;/usr/include/sys/socket.h:504: parse error before "__sendpath64"&lt;BR /&gt;/usr/include/sys/socket.h:504: parse error before "bsize_t"&lt;BR /&gt;/usr/include/sys/socket.h:506: parse error before "sendfile"&lt;BR /&gt;/usr/include/sys/socket.h: In function `sendfile':&lt;BR /&gt;/usr/include/sys/socket.h:506: parse error before "bsize_t"&lt;BR /&gt;/usr/include/sys/socket.h: At top level:&lt;BR /&gt;/usr/include/sys/socket.h:507: parse error before "sendpath"&lt;BR /&gt;/usr/include/sys/socket.h: In function `sendpath':&lt;BR /&gt;/usr/include/sys/socket.h:507: parse error before "bsize_t"&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;&lt;BR /&gt;Anyone got an idea? and have the solution? Or, is there any HP compiled version of this perl Module available?&lt;BR /&gt;&lt;BR /&gt;Bosco&lt;BR /&gt;&lt;BR /&gt;&lt;/COMMAND&gt;</description>
      <pubDate>Fri, 11 Nov 2005 16:00:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-hires-compilation-error/m-p/3670126#M797705</guid>
      <dc:creator>Bosco Tsang</dc:creator>
      <dc:date>2005-11-11T16:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Time::HiRes compilation error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-hires-compilation-error/m-p/3670127#M797706</link>
      <description>Hi Bosco:&lt;BR /&gt;&lt;BR /&gt;Perl's 'Time::HiRes' module is present in the 5.8x perl distributions:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=PERL" target="_blank"&gt;http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=PERL&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 11 Nov 2005 16:10:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-hires-compilation-error/m-p/3670127#M797706</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-11-11T16:10:47Z</dc:date>
    </item>
  </channel>
</rss>

