The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Spam Assassin error!!

Discussion in 'General Discussion' started by jpan, Jun 30, 2002.

  1. jpan

    jpan Member

    Joined:
    Aug 12, 2001
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    when i enabled the spam assassin i got following error message, please adv..

    Can't locate Time/HiRes.pm in @INC (@INC contains: ../lib lib /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl . /usr/bin/lib /usr/bin/site_perl /usr/bin/../share/spamassassin/lib /usr/bin/../share/spamassassin/site_perl) at /usr/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin.pm line 66.
    BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin.pm line 66.
    Compilation failed in require at /usr/bin/spamassassin line 68.


    Spam Assassin is currently: enabled
     
  2. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    Not sure how you are lacking that module....

    Use CPAN (or perl module installer in WHManager)
    And install that module:


    cpan& install Time::HiRes
     
  3. jpan

    jpan Member

    Joined:
    Aug 12, 2001
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    i did the install Time::HiRes and i got a lot of error when install, please help...

    [quote:c2738cd230][i:c2738cd230]Origispawn /usr/local/cpanel/whostmgr/bin/perlmod -i
    Time::HiRes

    CPAN: Storable loaded ok
    Going to read /root/.cpan/Metadata
    Database was generated on Fri, 28 Jun 2002 13:40:08 GMT
    File::Spec is up to date.
    Digest::MD5 is up to date.
    Compress::Zlib is up to date.
    Archive::Tar is up to date.
    Data::Dumper is up to date.
    Net::Telnet is up to date.
    Net::Cmd is up to date.
    Term::ReadKey is up to date.
    Term::ReadLine::Perl is up to date.
    CPAN::WAIT is up to date.
    CPAN is up to date.
    Running install for module Time::HiRes
    Running make for D/DE/DEWEG/Time-HiRes-01.20.tar.gz
    CPAN: Digest::MD5 loaded ok
    CPAN: Compress::Zlib loaded ok
    Checksum for /root/.cpan/sources/authors/id/D/DE/DEWEG/Time-HiRes-01.20.tar.gz ok
    Scanning cache /root/.cpan/build for sizes
    Deleting from cache: /root/.cpan/build/Time-HiRes-01.20 (11.4&10.0 MB)
    Deleting from cache: /root/.cpan/build/XML-XSLT-0.40 (11.2&10.0 MB)
    Deleting from cache: /root/.cpan/build/MLDBM-2.00 (10.1&10.0 MB)
    Time-HiRes-01.20/
    Time-HiRes-01.20/Makefile.PL
    Time-HiRes-01.20/t/
    Time-HiRes-01.20/t/02export.t
    Time-HiRes-01.20/t/01test.t
    Time-HiRes-01.20/Changes
    Time-HiRes-01.20/HiRes.xs
    Time-HiRes-01.20/HiRes.pm
    Time-HiRes-01.20/TODO
    Time-HiRes-01.20/README
    Time-HiRes-01.20/MANIFEST

    CPAN.pm: Going to build D/DE/DEWEG/Time-HiRes-01.20.tar.gz


    Configuring...

    Looking for usleep()...
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:426,
    from /var/tmp/tmp20980.c:2:
    /usr/include/sys/types.h:34: parse error before `u_char'
    /usr/include/sys/types.h:34: warning: data definition has no type or storage class
    /usr/include/sys/types.h:35: parse error before `u_short'
    /usr/include/sys/types.h:35: warning: data definition has no type or storage class
    /usr/include/sys/types.h:36: parse error before `u_int'
    /usr/include/sys/types.h:36: warning: data definition has no type or storage class
    /usr/include/sys/types.h:37: parse error before `u_long'
    /usr/include/sys/types.h:37: warning: data definition has no type or storage class
    /usr/include/sys/types.h:38: parse error before `quad_t'
    /usr/include/sys/types.h:38: warning: data definition has no type or storage class
    /usr/include/sys/types.h:39: parse error before `u_quad_t'
    /usr/include/sys/types.h:39: warning: data definition has no type or storage class
    /usr/include/sys/types.h:40: parse error before `fsid_t'
    /usr/include/sys/types.h:40: warning: data definition has no type or storage class
    /usr/include/sys/types.h:45: parse error before `loff_t'
    /usr/include/sys/types.h:45: warning: data definition has no type or storage class
    /usr/include/sys/types.h:49: parse error before `ino_t'
    /usr/include/sys/types.h:49: warning: data definition has no type or storage class
    /usr/include/sys/types.h:56: parse error before `ino64_t'
    /usr/include/sys/types.h:56: warning: data definition has no type or storage class
    /usr/include/sys/types.h:61: parse error before `dev_t'
    /usr/include/sys/types.h:61: warning: data definition has no type or storage class
    /usr/include/sys/types.h:66: parse error before `gid_t'
    /usr/include/sys/types.h:66: warning: data definition has no type or storage class
    /usr/include/sys/types.h:71: parse error before `mode_t'
    /usr/include/sys/types.h:71: warning: data definition has no type or storage class
    /usr/include/sys/types.h:76: parse error before `nlink_t'
    /usr/include/sys/types.h:76: warning: data definition has no type or storage class
    /usr/include/sys/types.h:81: parse error before `uid_t'
    /usr/include/sys/types.h:81: warning: data definition has no type or storage class
    /usr/include/sys/types.h:87: parse error before `off_t'
    /usr/include/sys/types.h:87: warning: data definition has no type or storage class
    /usr/include/sys/types.h:94: parse error before `off64_t'
    /usr/include/sys/types.h:94: warning: data definition has no type or storage class
    /usr/include/sys/types.h:99: parse error before `pid_t'
    /usr/include/sys/types.h:99: warning: data definition has no type or storage class
    /usr/include/sys/types.h:104: parse error before `id_t'
    /usr/include/sys/types.h:104: warning: data definition has no type or storage class
    /usr/include/sys/types.h:109: parse error before `ssize_t'
    /usr/include/sys/types.h:109: warning: data definition has no type or storage class
    /usr/include/sys/types.h:115: parse error before `daddr_t'
    /usr/include/sys/types.h:115: warning: data definition has no type or storage class
    /usr/include/sys/types.h:116: parse error before `caddr_t'
    /usr/include/sys/types.h:116: warning: data definition has no type or storage class
    /usr/include/sys/types.h:122: parse error before `key_t'
    /usr/include/sys/types.h:122: warning: data definition has no type or storage class
    In file included from /usr/include/sys/types.h:132,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:426,
    from /var/tmp/tmp20980.c:2:
    /usr/include/time.h:59: parse error before `clock_t'
    /usr/include/time.h:59: warning: data definition has no type or storage class
    In file included from /usr/include/sys/types.h:132,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:426,
    from /var/tmp/tmp20980.c:2:
    /usr/include/time.h:70: parse error before `time_t'
    /usr/include/time.h:70: warning: data definition has no type or storage class
    In file included from /usr/include/sys/types.h:132,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:426,
    from /var/tmp/tmp20980.c:2:
    /usr/include/time.h:82: parse error before `clockid_t'
    /usr/include/time.h:82: warning: data definition has no type or storage class
    In file included from /usr/include/sys/types.h:132,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:426,
    from /var/tmp/tmp20980.c:2:
    /usr/include/time.h:94: parse error before `timer_t'
    /usr/include/time.h:94: warning: data definition has no type or storage class
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:426,
    from /var/tmp/tmp20980.c:2:
    /usr/include/sys/types.h:136: parse error before `useconds_t'
    /usr/include/sys/types.h:136: warning: data definition has no type or storage class
    /usr/include/sys/types.h:140: parse error before `suseconds_t'
    /usr/include/sys/types.h:140: warning: data definition has no type or storage class
    In file included from /usr/include/sys/select.h:44,
    from /usr/include/sys/types.h:215,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:426,
    from /var/tmp/tmp20980.c:2:
    /usr/include/time.h:108: parse error before `__time_t'
    /usr/include/time.h:108: warning: no semicolon at end of struct or union
    /usr/include/time.h:110: parse error before `}'
    In file included from /usr/include/sys/select.h:46,
    from /usr/include/sys/types.h:215,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:426,
    from /var/tmp/tmp20980.c:2:
    /usr/include/bits/time.h:69: parse error before `__time_t'
    /usr/include/bits/time.h:69: warning: no semicolon at end of struct or union
    /usr/include/bits/time.h:70: warning: data definition has no type or storage class
    In file included from /usr/include/sys/types.h:215,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:426,
    from /var/tmp/tmp20980.c:2:
    /usr/include/sys/select.h:68: `__FD_SETSIZE' undeclared here (not in a function)
    /usr/include/sys/select.h:68: size of array `fds_bits' has non-integer type
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:426,
    from /var/tmp/tmp20980.c:2:
    /usr/include/sys/types.h:223: parse error before `blksize_t'
    /usr/include/sys/types.h:223: warning: data definition has no type or storage class
    /usr/include/sys/types.h:230: parse error before `blkcnt_t'
    /usr/include/sys/types.h:230: warning: data definition has no type or storage class
    /usr/include/sys/types.h:234: parse error before `fsblkcnt_t'
    /usr/include/sys/types.h:234: warning: data definition has no type or storage class
    /usr/include/sys/types.h:238: parse error before `fsfilcnt_t'
    /usr/include/sys/types.h:238: warning: data definition has no type or storage class
    /usr/include/sys/types.h:257: parse error before `blkcnt64_t'
    /usr/include/sys/types.h:257: warning: data definition has no type or storage class
    /usr/include/sys/types.h:258: parse error before `fsblkcnt64_t'
    /usr/include/sys/types.h:258: warning: data definition has no type or storage class
    /usr/include/sys/types.h:259: parse error before `fsfilcnt64_t'
    /usr/include/sys/types.h:259: warning: data definition has no type or storage class
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:457,
    from /var/tmp/tmp20980.c:2:
    /usr/include/ctype.h:76: parse error before `*'
    /usr/include/ctype.h:76: warning: data definition has no type or storage class
    /usr/include/ctype.h:77: parse error before `*'
    /usr/include/ctype.h:77: warning: data definition has no type or storage class
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:498,
    from /var/tmp/tmp20980.c:2:
    /usr/include/unistd.h:240: parse error before `intptr_t'
    /usr/include/unistd.h:240: warning: data definition has no type or storage class
    /usr/include/unistd.h:247: parse error before `socklen_t'
    /usr/include/unistd.h:247: warning: data definition has no type or storage class
    /usr/include/unistd.h:290: parse error before `lseek'
    /usr/include/unistd.h:290: parse error before `__off_t'
    /usr/include/unistd.h:290: warning: data definition has no type or storage class
    /usr/include/unistd.h:302: parse error before `lseek64'
    /usr/include/unistd.h:302: parse error before `__off64_t'
    /usr/include/unistd.h:302: warning: data definition has no type or storage class
    /usr/include/unistd.h:310: parse error before `read'
    /usr/include/unistd.h:310: warning: data definition has no type or storage class
    /usr/include/unistd.h:313: parse error before `write'
    /usr/include/unistd.h:313: warning: data definition has no type or storage class
    /usr/include/unistd.h:317: parse error before `pread'
    /usr/include/unistd.h:317: parse error before `__off_t'
    /usr/include/unistd.h:318: warning: data definition has no type or storage class
    /usr/include/unistd.h:319: parse error before `pwrite'
    /usr/include/unistd.h:320: parse error before `__off_t'
    /usr/include/unistd.h:320: warning: data definition has no type or storage class
    /usr/include/unistd.h:340: parse error before `pread64'
    /usr/include/unistd.h:341: parse error before `__off64_t'
    /usr/include/unistd.h:341: warning: data definition has no type or storage class
    /usr/include/unistd.h:344: parse error before `pwrite64'
    /usr/include/unistd.h:345: parse error before `__off64_t'
    /usr/include/unistd.h:345: warning: data definition has no type or storage class
    /usr/include/unistd.h:378: parse error before `ualarm'
    /usr/include/unistd.h:378: parse error before `__value'
    /usr/include/unistd.h:379: warning: data definition has no type or storage class
    /usr/include/unistd.h:383: parse error before `__useconds'
    /usr/include/unistd.h:393: parse error before `__uid_t'
    /usr/include/unistd.h:398: parse error before `__uid_t'
    /usr/include/unistd.h:403: parse error before `__uid_t'
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:498,
    from /var/tmp/tmp20980.c:2:
    /usr/include/unistd.h:518: parse error before `getpid'
    /usr/include/unistd.h:518: warning: data definition has no type or storage class
    /usr/include/unistd.h:521: parse error before `getppid'
    /usr/include/unistd.h:521: warning: data definition has no type or storage class
    /usr/include/unistd.h:526: parse error before `getpgrp'
    /usr/include/unistd.h:526: warning: data definition has no type or storage class
    /usr/include/unistd.h:536: parse error before `__getpgid'
    /usr/include/unistd.h:536: parse error before `__pid'
    /usr/include/unistd.h:536: warning: data definition has no type or storage class
    /usr/include/unistd.h:538: parse error before `getpgid'
    /usr/include/unistd.h:538: parse error before `__pid'
    /usr/include/unistd.h:538: warning: data definition has no type or storage class
    /usr/include/unistd.h:545: parse error before `__pid'
    /usr/include/unistd.h:580: parse error before `setsid'
    /usr/include/unistd.h:580: warning: data definition has no type or storage class
    /usr/include/unistd.h:584: parse error before `getsid'
    /usr/include/unistd.h:584: parse error before `__pid'
    /usr/include/unistd.h:584: warning: data definition has no type or storage class
    /usr/include/unistd.h:588: parse error before `getuid'
    /usr/include/unistd.h:588: warning: data definition has no type or storage class
    /usr/include/unistd.h:591: parse error before `geteuid'
    /usr/include/unistd.h:591: warning: data definition has no type or storage class
    /usr/include/unistd.h:594: parse error before `getgid'
    /usr/include/unistd.h:594: warning: data definition has no type or storage class
    /usr/include/unistd.h:597: parse error before `getegid'
    /usr/include/unistd.h:597: warning: data definition has no type or storage class
    /usr/include/unistd.h:602: parse error before `__gid_t'
    /usr/include/unistd.h:606: parse error before `__gid'
    /usr/include/unistd.h:613: parse error before `__uid'
    /usr/include/unistd.h:618: parse error before `__ruid'
    /usr/include/unistd.h:623: parse error before `__uid'
    /usr/include/unistd.h:630: parse error before `__gid'
    /usr/include/unistd.h:635: parse error before `__rgid'
    /usr/include/unistd.h:640: parse error before `__gid'
    /usr/include/unistd.h:647: parse error before `fork'
    /usr/include/unistd.h:647: warning: data definition has no type or storage class
    /usr/include/unistd.h:654: parse error before `vfork'
    /usr/include/unistd.h:654: warning: data definition has no type or storage class
    /usr/include/unistd.h:700: parse error before `tcgetpgrp'
    /usr/include/unistd.h:700: warning: data definition has no type or storage class
    /usr/include/unistd.h:703: parse error before `__pid_t'
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:498,
    from /var/tmp/tmp20980.c:2:
    /usr/include/unistd.h:825: parse error before `__off_t'
    /usr/include/unistd.h:836: parse error before `__off64_t'
    /usr/include/unistd.h:841: parse error before `__off_t'
    /usr/include/unistd.h:851: parse error before `__off64_t'
    /usr/include/unistd.h:872: parse error before `__delta'
    /usr/include/unistd.h:907: parse error before `__off_t'
    /usr/include/unistd.h:917: parse error before `__off64_t'
    /usr/include/unistd.h:958: parse error before `ssize_t'
    In file included from /usr/include/netinet/in.h:212,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:649,
    from /var/tmp/tmp20980.c:2:
    /usr/include/bits/socket.h:165: parse error before `__uint32_t'
    /usr/include/bits/socket.h:165: warning: no semicolon at end of struct or union
    /usr/include/bits/socket.h:166: `__uint32_t' undeclared here (not in a function)
    /usr/include/bits/socket.h:167: parse error before `}'
    /usr/include/bits/socket.h:218: parse error before `socklen_t'
    /usr/include/bits/socket.h:218: warning: no semicolon at end of struct or union
    /usr/include/bits/socket.h:224: parse error before `msg_controllen'
    /usr/include/bits/socket.h:224: warning: data definition has no type or storage class
    /usr/include/bits/socket.h:227: parse error before `}'
    /usr/include/bits/socket.h:299: parse error before `pid_t'
    /usr/include/bits/socket.h:299: warning: no semicolon at end of struct or union
    /usr/include/bits/socket.h:300: warning: data definition has no type or storage class
    /usr/include/bits/socket.h:301: parse error before `gid'
    /usr/include/bits/socket.h:301: warning: data definition has no type or storage class
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:653,
    from /var/tmp/tmp20980.c:2:
    /usr/include/arpa/inet.h:66: parse error before `socklen_t'
    In file included from /usr/include/sys/stat.h:98,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:663,
    from /var/tmp/tmp20980.c:2:
    /usr/include/bits/stat.h:38: parse error before `__dev_t'
    /usr/include/bits/stat.h:38: warning: no semicolon at end of struct or union
    /usr/include/bits/stat.h:41: parse error before `st_ino'
    /usr/include/bits/stat.h:41: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:45: parse error before `st_mode'
    /usr/include/bits/stat.h:45: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:46: parse error before `st_nlink'
    /usr/include/bits/stat.h:46: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:47: parse error before `st_uid'
    /usr/include/bits/stat.h:47: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:48: parse error before `st_gid'
    /usr/include/bits/stat.h:48: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:49: parse error before `st_rdev'
    /usr/include/bits/stat.h:49: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:52: parse error before `st_size'
    /usr/include/bits/stat.h:52: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:56: parse error before `st_blksize'
    /usr/include/bits/stat.h:56: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:59: parse error before `st_blocks'
    /usr/include/bits/stat.h:59: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:63: parse error before `st_atime'
    /usr/include/bits/stat.h:63: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:65: parse error before `st_mtime'
    /usr/include/bits/stat.h:65: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:67: parse error before `st_ctime'
    /usr/include/bits/stat.h:67: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:75: parse error before `}'
    /usr/include/bits/stat.h:80: parse error before `__dev_t'
    /usr/include/bits/stat.h:80: warning: no semicolon at end of struct or union
    /usr/include/bits/stat.h:81: conflicting types for `__pad1'
    /usr/include/bits/stat.h:39: previous declaration of `__pad1'
    /usr/include/bits/stat.h:83: parse error before `__st_ino'
    /usr/include/bits/stat.h:83: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:84: parse error before `st_mode'
    /usr/include/bits/stat.h:84: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:85: parse error before `st_nlink'
    /usr/include/bits/stat.h:85: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:86: parse error before `st_uid'
    /usr/include/bits/stat.h:86: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:87: parse error before `st_gid'
    /usr/include/bits/stat.h:87: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:88: parse error before `st_rdev'
    /usr/include/bits/stat.h:88: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:89: conflicting types for `__pad2'
    /usr/include/bits/stat.h:50: previous declaration of `__pad2'
    /usr/include/bits/stat.h:90: parse error before `st_size'
    /usr/include/bits/stat.h:90: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:91: parse error before `st_blksize'
    /usr/include/bits/stat.h:91: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:93: parse error before `st_blocks'
    /usr/include/bits/stat.h:93: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:94: parse error before `st_atime'
    /usr/include/bits/stat.h:94: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:96: parse error before `st_mtime'
    /usr/include/bits/stat.h:96: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:98: parse error before `st_ctime'
    /usr/include/bits/stat.h:98: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:100: parse error before `st_ino'
    /usr/include/bits/stat.h:100: warning: data definition has no type or storage class
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:663,
    from /var/tmp/tmp20980.c:2:
    /usr/include/sys/stat.h:249: parse error before `__mode_t'
    /usr/include/sys/stat.h:253: parse error before `__mode_t'
    /usr/include/sys/stat.h:259: parse error before `umask'
    /usr/include/sys/stat.h:259: parse error before `__mask'
    /usr/include/sys/stat.h:259: warning: data definition has no type or storage class
    /usr/include/sys/stat.h:264: parse error before `getumask'
    /usr/include/sys/stat.h:264: warning: data definition has no type or storage class
    /usr/include/sys/stat.h:268: parse error before `__mode_t'
    /usr/include/sys/stat.h:274: parse error before `__mode_t'
    /usr/include/sys/stat.h:280: parse error before `__mode_t'
    /usr/include/sys/stat.h:337: parse error before `__mode_t'
    /usr/include/sys/stat.h:363: parse error before `__mode_t'
    /usr/include/sys/stat.h: In function `mknod':
    /usr/include/sys/stat.h:366: `__path' undeclared (first use in this function)
    /usr/include/sys/stat.h:366: (Each undeclared identifier is reported only once
    /usr/include/sys/stat.h:366: for each function it appears in.)
    /usr/include/sys/stat.h:366: `__mode' undeclared (first use in this function)
    /usr/include/sys/stat.h:366: `__dev' undeclared (first use in this function)
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:685,
    from /var/tmp/tmp20980.c:2:
    /usr/include/time.h: At top level:
    /usr/include/time.h:144: field `it_interval' has incomplete type
    /usr/include/time.h:145: field `it_value' has incomplete type
    /usr/include/time.h:163: parse error before `clock'
    /usr/include/time.h:163: warning: data definition has no type or storage class
    /usr/include/time.h:166: parse error before `time'
    /usr/include/time.h:166: parse error before `*'
    /usr/include/time.h:166: warning: data definition has no type or storage class
    /usr/include/time.h:169: parse error before `__time1'
    /usr/include/time.h:173: parse error before `mktime'
    /usr/include/time.h:173: warning: data definition has no type or storage class
    /usr/include/time.h:194: parse error before `*'
    /usr/include/time.h:198: parse error before `*'
    /usr/include/time.h:203: parse error before `*'
    /usr/include/time.h:208: parse error before `*'
    /usr/include/time.h:217: parse error before `*'
    /usr/include/time.h:228: parse error before `*'
    /usr/include/time.h:256: parse error before `*'
    /usr/include/time.h:271: parse error before `timegm'
    /usr/include/time.h:271: warning: data definition has no type or storage class
    /usr/include/time.h:274: parse error before `timelocal'
    /usr/include/time.h:274: warning: data definition has no type or storage class
    /usr/include/time.h:288: parse error before `__clock_id'
    /usr/include/time.h:291: parse error before `__clock_id'
    /usr/include/time.h:294: parse error before `__clock_id'
    /usr/include/time.h:299: parse error before `__clock_id'
    /usr/include/time.h:304: parse error before `__pid'
    /usr/include/time.h:309: parse error before `__clock_id'
    /usr/include/time.h:314: parse error before `__timerid'
    /usr/include/time.h:317: parse error before `__timerid'
    /usr/include/time.h:322: parse error before `__timerid'
    /usr/include/time.h:326: parse error before `__timerid'
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:692,
    from /var/tmp/tmp20980.c:2:
    /usr/include/sys/time.h:110: field `it_interval' has incomplete type
    /usr/include/sys/time.h:112: field `it_value' has incomplete type
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:699,
    from /var/tmp/tmp20980.c:2:
    /usr/include/sys/times.h:37: parse error before `clock_t'
    /usr/include/sys/times.h:37: warning: no semicolon at end of struct or union
    /usr/include/sys/times.h:38: warning: data definition has no type or storage class
    /usr/include/sys/times.h:40: parse error before `tms_cutime'
    /usr/include/sys/times.h:40: warning: data definition has no type or storage class
    /usr/include/sys/times.h:41: parse error before `tms_cstime'
    /usr/include/sys/times.h:41: warning: data definition has no type or storage class
    /usr/include/sys/times.h:49: parse error before `times'
    /usr/include/sys/times.h:49: warning: data definition has no type or storage class
    In file included from /usr/include/sys/socket.h:27,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:713,
    from /var/tmp/tmp20980.c:2:
    /usr/include/sys/uio.h:37: parse error before `readv'
    /usr/include/sys/uio.h:38: warning: data definition has no type or storage class
    /usr/include/sys/uio.h:45: parse error before `writev'
    /usr/include/sys/uio.h:46: warning: data definition has no type or storage class
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:713,
    from /var/tmp/tmp20980.c:2:
    /usr/include/sys/socket.h:110: parse error before `socklen_t'
    /usr/include/sys/socket.h:115: parse error before `socklen_t'
    /usr/include/sys/socket.h:121: parse error before `socklen_t'
    /usr/include/sys/socket.h:127: parse error before `socklen_t'
    /usr/include/sys/socket.h:131: parse error before `send'
    /usr/include/sys/socket.h:132: warning: data definition has no type or storage class
    /usr/include/sys/socket.h:136: parse error before `recv'
    /usr/include/sys/socket.h:137: warning: data definition has no type or storage class
    /usr/include/sys/socket.h:141: parse error before `sendto'
    /usr/include/sys/socket.h:143: parse error before `socklen_t'
    /usr/include/sys/socket.h:143: warning: data definition has no type or storage class
    /usr/include/sys/socket.h:149: parse error before `recvfrom'
    /usr/include/sys/socket.h:150: parse error before `socklen_t'
    /usr/include/sys/socket.h:151: warning: data definition has no type or storage class
    /usr/include/sys/socket.h:156: parse error before `sendmsg'
    /usr/include/sys/socket.h:157: warning: data definition has no type or storage class
    /usr/include/sys/socket.h:161: parse error before `recvmsg'
    /usr/include/sys/socket.h:162: warning: data definition has no type or storage class
    /usr/include/sys/socket.h:170: parse error before `socklen_t'
    /usr/include/sys/socket.h:176: parse error before `socklen_t'
    /usr/include/sys/socket.h:190: parse error before `socklen_t'
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:740,
    from /var/tmp/tmp20980.c:2:
    /usr/include/netdb.h:136: parse error before `__socklen_t'
    /usr/include/netdb.h:158: parse error before `__socklen_t'
    /usr/include/netdb.h:416: parse error before `socklen_t'
    /usr/include/netdb.h:416: warning: no semicolon at end of struct or union
    /usr/include/netdb.h:420: parse error before `}'
    /usr/include/netdb.h:489: parse error before `socklen_t'
    In file included from /usr/include/dirent.h:62,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:830,
    from /var/tmp/tmp20980.c:2:
    /usr/include/bits/dirent.h:26: parse error before `__ino_t'
    /usr/include/bits/dirent.h:26: warning: no semicolon at end of struct or union
    /usr/include/bits/dirent.h:27: warning: data definition has no type or storage class
    /usr/include/bits/dirent.h:35: parse error before `}'
    /usr/include/bits/dirent.h:40: parse error before `__ino64_t'
    /usr/include/bits/dirent.h:40: warning: no semicolon at end of struct or union
    /usr/include/bits/dirent.h:41: warning: data definition has no type or storage class
    /usr/include/bits/dirent.h:45: parse error before `}'
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:830,
    from /var/tmp/tmp20980.c:2:
    /usr/include/dirent.h:300: parse error before `getdirentries'
    /usr/include/dirent.h:302: parse error before `__off_t'
    /usr/include/dirent.h:302: warning: data definition has no type or storage class
    /usr/include/dirent.h:316: parse error before `getdirentries64'
    /usr/include/dirent.h:318: parse error before `__off64_t'
    /usr/include/dirent.h:318: warning: data definition has no type or storage class
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/unixish.h:93,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:1665,
    from /var/tmp/tmp20980.c:2:
    /usr/include/signal.h:110: parse error before `__pid'
    /usr/include/signal.h:117: parse error before `__pgrp'
    In file included from /usr/include/signal.h:199,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/unixish.h:93,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:1665,
    from /var/tmp/tmp20980.c:2:
    /usr/include/bits/siginfo.h:65: parse error before `__pid_t'
    /usr/include/bits/siginfo.h:65: warning: no semicolon at end of struct or union
    /usr/include/bits/siginfo.h:65: warning: no semicolon at end of struct or union
    /usr/include/bits/siginfo.h:66: warning: no semicolon at end of struct or union
    /usr/include/bits/siginfo.h:67: warning: data definition has no type or storage class
    /usr/include/bits/siginfo.h:79: parse error before `__pid_t'
    /usr/include/bits/siginfo.h:79: warning: no semicolon at end of struct or union
    /usr/include/bits/siginfo.h:80: warning: data definition has no type or storage class
    /usr/include/bits/siginfo.h:82: parse error before `}'
    /usr/include/bits/siginfo.h:82: warning: data definition has no type or storage class
    /usr/include/bits/siginfo.h:87: parse error before `__pid_t'
    /usr/include/bits/siginfo.h:87: warning: no semicolon at end of struct or union
    /usr/include/bits/siginfo.h:88: warning: data definition has no type or storage class
    /usr/include/bits/siginfo.h:90: parse error before `si_utime'
    /usr/include/bits/siginfo.h:90: warning: data definition has no type or storage class
    /usr/include/bits/siginfo.h:91: parse error before `si_stime'
    /usr/include/bits/siginfo.h:91: warning: data definition has no type or storage class
    /usr/include/bits/siginfo.h:92: warning: data definition has no type or storage class
    /usr/include/bits/siginfo.h:106: parse error before `}'
    /usr/include/bits/siginfo.h:106: warning: data definition has no type or storage class
    /usr/include/bits/siginfo.h:107: parse error before `}'
    /usr/include/bits/siginfo.h:107: warning: data definition has no type or storage class
    In file included from /usr/include/signal.h:232,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/unixish.h:93,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:1665,
    from /var/tmp/tmp20980.c:2:
    /usr/include/bits/sigaction.h:34: parse error before `siginfo_t'
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/unixish.h:93,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:1665,
    from /var/tmp/tmp20980.c:2:
    /usr/include/signal.h:257: parse error before `siginfo_t'
    /usr/include/signal.h:262: parse error before `siginfo_t'
    /usr/include/signal.h:268: parse error before `__pid'
    In file included from /usr/include/signal.h:358,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/unixish.h:93,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:1665,
    from /var/tmp/tmp20980.c:2:
    /usr/include/bits/sigthread.h:36: parse error before `__thread'
    In file included from /usr/include/libio.h:32,
    from /usr/include/stdio.h:65,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perlsdio.h:5,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/iperlsys.h:300,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:1947,
    from /var/tmp/tmp20980.c:2:
    /usr/include/_G_config.h:28: parse error before `__off_t'
    /usr/include/_G_config.h:28: warning: no semicolon at end of struct or union
    /usr/include/_G_config.h:30: parse error before `}'
    /usr/include/_G_config.h:30: warning: data definition has no type or storage class
    /usr/include/_G_config.h:33: parse error before `__off64_t'
    /usr/include/_G_config.h:33: warning: no semicolon at end of struct or union
    /usr/include/_G_config.h:35: parse error before `}'
    /usr/include/_G_config.h:35: warning: data definition has no type or storage class
    In file included from /usr/include/stdio.h:65,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perlsdio.h:5,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/iperlsys.h:300,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:1947,
    from /var/tmp/tmp20980.c:2:
    /usr/include/libio.h:286: parse error before `__off_t'
    /usr/include/libio.h:286: warning: no semicolon at end of struct or union
    /usr/include/libio.h:305: parse error before `_offset'
    /usr/include/libio.h:305: warning: data definition has no type or storage class
    /usr/include/libio.h:311: conflicting types for `__pad1'
    /usr/include/bits/stat.h:81: previous declaration of `__pad1'
    /usr/include/libio.h:312: conflicting types for `__pad2'
    /usr/include/bits/stat.h:89: previous declaration of `__pad2'
    /usr/include/libio.h:318: parse error before `}'
    /usr/include/libio.h:344: parse error before `__io_read_fn'
    /usr/include/libio.h:344: warning: data definition has no type or storage class
    /usr/include/libio.h:352: parse error before `__io_write_fn'
    /usr/include/libio.h:353: warning: data definition has no type or storage class
    /usr/include/libio.h:361: parse error before `__off64_t'
    /usr/include/libio.h:369: parse error before `cookie_read_function_t'
    /usr/include/libio.h:369: warning: data definition has no type or storage class
    /usr/include/libio.h:370: parse error before `cookie_write_function_t'
    /usr/include/libio.h:370: warning: data definition has no type or storage class
    /usr/include/libio.h:377: parse error before `__io_read_fn'
    /usr/include/libio.h:377: warning: no semicolon at end of struct or union
    /usr/include/libio.h:378: `write' redeclared as different kind of symbol
    /usr/include/unistd.h:313: previous declaration of `write'
    /usr/include/libio.h:378: warning: data definition has no type or storage class
    /usr/include/libio.h:380: `close' redeclared as different kind of symbol
    /usr/include/unistd.h:306: previous declaration of `close'
    /usr/include/libio.h:381: parse error before `}'
    /usr/include/libio.h:381: warning: data definition has no type or storage class
    /usr/include/libio.h:382: parse error before `cookie_io_functions_t'
    /usr/include/libio.h:382: warning: data definition has no type or storage class
    /usr/include/libio.h:388: parse error before `_IO_cookie_io_functions_t'
    /usr/include/libio.h:460: parse error before `_IO_padn'
    /usr/include/libio.h:460: parse error before `__ssize_t'
    /usr/include/libio.h:460: warning: data definition has no type or storage class
    /usr/include/libio.h:463: parse error before `_IO_seekoff'
    /usr/include/libio.h:463: parse error before `__off64_t'
    /usr/include/libio.h:463: warning: data definition has no type or storage class
    /usr/include/libio.h:464: parse error before `_IO_seekpos'
    /usr/include/libio.h:464: parse error before `__off64_t'
    /usr/include/libio.h:464: warning: data definition has no type or storage class
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perlsdio.h:5,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/iperlsys.h:300,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:1947,
    from /var/tmp/tmp20980.c:2:
    /usr/include/stdio.h:80: parse error before `fpos_t'
    /usr/include/stdio.h:80: warning: data definition has no type or storage class
    /usr/include/stdio.h:85: parse error before `fpos64_t'
    /usr/include/stdio.h:85: warning: data definition has no type or storage class
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perlsdio.h:5,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/iperlsys.h:300,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:1947,
    from /var/tmp/tmp20980.c:2:
    /usr/include/stdio.h:241: parse error before `_IO_cookie_io_functions_t'
    /usr/include/stdio.h:428: parse error before `__getdelim'
    /usr/include/stdio.h:430: warning: data definition has no type or storage class
    /usr/include/stdio.h:431: parse error before `getdelim'
    /usr/include/stdio.h:433: warning: data definition has no type or storage class
    /usr/include/stdio.h:436: parse error before `getline'
    /usr/include/stdio.h:438: warning: data definition has no type or storage class
    /usr/include/stdio.h:491: parse error before `__off_t'
    /usr/include/stdio.h:493: parse error before `ftello'
    /usr/include/stdio.h:493: warning: data definition has no type or storage class
    /usr/include/stdio.h:497: parse error before `fpos_t'
    /usr/include/stdio.h:500: parse error before `*'
    /usr/include/stdio.h:525: parse error before `__off64_t'
    /usr/include/stdio.h:526: parse error before `ftello64'
    /usr/include/stdio.h:526: warning: data definition has no type or storage class
    /usr/include/stdio.h:527: parse error before `fpos64_t'
    /usr/include/stdio.h:529: parse error before `*'
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:1958,
    from /var/tmp/tmp20980.c:2:
    /usr/lib/perl5/5.6.1/i386-linux/CORE/av.h:12: parse error before `ssize_t'
    /usr/lib/perl5/5.6.1/i386-linux/CORE/av.h:12: warning: no semicolon at end of struct or union
    /usr/lib/perl5/5.6.1/i386-linux/CORE/av.h:13: warning: data definition has no type or storage class
    /usr/lib/perl5/5.6.1/i386-linux/CORE/av.h:22: parse error before `}'
    In file included from /var/tmp/tmp20980.c:2:
    /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:2099: parse error before `getuid'
    /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:2099: warning: data definition has no type or storage class
    /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:2100: parse error before `geteuid'
    /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:2100: warning: data definition has no type or storage class
    /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:2101: parse error before `getgid'
    /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:2101: warning: data definition has no type or storage class
    /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:2102: parse error before `getegid'
    /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:2102: warning: data definition has no type or storage class
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:2821,
    from /var/tmp/tmp20980.c:2:
    /usr/lib/perl5/5.6.1/i386-linux/CORE/proto.h:94: parse error before `mode'
    /usr/lib/perl5/5.6.1/i386-linux/CORE/proto.h:247: parse error before `off_t'
    /usr/lib/perl5/5.6.1/i386-linux/CORE/proto.h:249: parse error before `Perl_do_sysseek'
    /usr/lib/perl5/5.6.1/i386-linux/CORE/proto.h:249: parse error before `off_t'
    /usr/lib/perl5/5.6.1/i386-linux/CORE/proto.h:249: warning: data definition has no type or storage class
    /usr/lib/perl5/5.6.1/i386-linux/CORE/proto.h:250: parse error before `Perl_do_tell'
    /usr/lib/perl5/5.6.1/i386-linux/CORE/proto.h:250: warning: data definition has no type or storage class
    /usr/lib/perl5/5.6.1/i386-linux/CORE/proto.h:331: parse error before `testgid'
    /usr/lib/perl5/5.6.1/i386-linux/CORE/proto.h:610: parse error before `pid'
    /usr/lib/perl5/5.6.1/i386-linux/CORE/proto.h:826: parse error before `pid'
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:2850,
    from /var/tmp/tmp20980.c:2:
    /usr/lib/perl5/5.6.1/i386-linux/CORE/intrpvar.h:58: parse error before `PL_basetime'
    /usr/lib/perl5/5.6.1/i386-linux/CORE/intrpvar.h:58: warning: data definition has no type or storage class
    /usr/lib/perl5/5.6.1/i386-linux/CORE/intrpvar.h:230: parse error before `PL_uid'
    /usr/lib/perl5/5.6.1/i386-linux/CORE/intrpvar.h:230: warning: data definition has no type or storage class
    /usr/lib/perl5/5.6.1/i386-linux/CORE/intrpvar.h:231: parse error before `PL_euid'
    /usr/lib/perl5/5.6.1/i386-linux/CORE/intrpvar.h:231: warning: data definition has no type or storage class
    /usr/lib/perl5/5.6.1/i386-linux/CORE/intrpvar.h:232: parse error before `PL_gid'
    /usr/lib/perl5/5.6.1/i386-linux/CORE/intrpvar.h:232: warning: data definition has no type or storage class
    /usr/lib/perl5/5.6.1/i386-linux/CORE/intrpvar.h:233: parse error before `PL_egid'
    /usr/lib/perl5/5.6.1/i386-linux/CORE/intrpvar.h:233: warning: data definition has no type or storage class
    In file included from /usr/include/sys/ipc.h:29,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:3340,
    from /var/tmp/tmp20980.c:2:
    /usr/include/bits/ipc.h:45: parse error before `__key_t'
    /usr/include/bits/ipc.h:45: warning: no semicolon at end of struct or union
    /usr/include/bits/ipc.h:46: warning: data definition has no type or storage class
    /usr/include/bits/ipc.h:47: parse error before `gid'
    /usr/include/bits/ipc.h:47: warning: data definition has no type or storage class
    /usr/include/bits/ipc.h:48: parse error before `cuid'
    /usr/include/bits/ipc.h:48: warning: data definition has no type or storage class
    /usr/include/bits/ipc.h:49: parse error before `cgid'
    /usr/include/bits/ipc.h:49: warning: data definition has no type or storage class
    /usr/include/bits/ipc.h:51: conflicting types for `__pad1'
    /usr/include/libio.h:311: previous declaration of `__pad1'
    /usr/include/bits/ipc.h:53: conflicting types for `__pad2'
    /usr/include/libio.h:312: previous declaration of `__pad2'
    /usr/include/bits/ipc.h:56: parse error before `}'
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:3340,
    from /var/tmp/tmp20980.c:2:
    /usr/include/sys/ipc.h:54: parse error before `ftok'
    /usr/include/sys/ipc.h:54: warning: data definition has no type or storage class
    In file included from /usr/include/sys/sem.h:31,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:3341,
    from /var/tmp/tmp20980.c:2:
    /usr/include/bits/sem.h:41: field `sem_perm' has incomplete type
    /usr/include/bits/sem.h:42: parse error before `__time_t'
    /usr/include/bits/sem.h:42: warning: no semicolon at end of struct or union
    /usr/include/bits/sem.h:44: parse error before `sem_ctime'
    /usr/include/bits/sem.h:44: warning: data definition has no type or storage class
    /usr/include/bits/sem.h:49: parse error before `}'
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:3341,
    from /var/tmp/tmp20980.c:2:
    /usr/include/sys/sem.h:51: parse error before `__key'
    In file included from /usr/include/fcntl.h:33,
    from /usr/include/sys/file.h:25,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:3376,
    from /var/tmp/tmp20980.c:2:
    /usr/include/bits/fcntl.h:141: parse error before `__off_t'
    /usr/include/bits/fcntl.h:141: warning: no semicolon at end of struct or union
    /usr/include/bits/fcntl.h:142: warning: data definition has no type or storage class
    /usr/include/bits/fcntl.h:147: parse error before `l_pid'
    /usr/include/bits/fcntl.h:147: warning: data definition has no type or storage class
    /usr/include/bits/fcntl.h:155: parse error before `__off64_t'
    /usr/include/bits/fcntl.h:155: warning: no semicolon at end of struct or union
    /usr/include/bits/fcntl.h:156: warning: data definition has no type or storage class
    /usr/include/bits/fcntl.h:157: parse error before `l_pid'
    /usr/include/bits/fcntl.h:157: warning: data definition has no type or storage class
    In file included from /usr/include/sys/file.h:25,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:3376,
    from /var/tmp/tmp20980.c:2:
    /usr/include/fcntl.h:83: parse error before `__mode_t'
    /usr/include/fcntl.h:93: parse error before `__mode_t'
    /usr/include/fcntl.h:130: parse error before `__off_t'
    /usr/include/fcntl.h:142: parse error before `__off64_t'
    /usr/include/fcntl.h:149: parse error before `__off_t'
    /usr/include/fcntl.h:160: parse error before `__off64_t'
    Whoops! No usleep()! Let's see if you have select().
    You have select(); we can make a Time::HiRes::usleep()

    Looking for ualarm()...
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:426,
    from /var/tmp/tmp20980.c:2:
    /usr/include/sys/types.h:34: parse error before `u_char'
    /usr/include/sys/types.h:34: warning: data definition has no type or storage class
    /usr/include/sys/types.h:35: parse error before `u_short'
    /usr/include/sys/types.h:35: warning: data definition has no type or storage class
    /usr/include/sys/types.h:36: parse error before `u_int'
    /usr/include/sys/types.h:36: warning: data definition has no type or storage class
    /usr/include/sys/types.h:37: parse error before `u_long'
    /usr/include/sys/types.h:37: warning: data definition has no type or storage class
    /usr/include/sys/types.h:38: parse error before `quad_t'
    /usr/include/sys/types.h:38: warning: data definition has no type or storage class
    /usr/include/sys/types.h:39: parse error before `u_quad_t'
    /usr/include/sys/types.h:39: warning: data definition has no type or storage class
    /usr/include/sys/types.h:40: parse error before `fsid_t'
    /usr/include/sys/types.h:40: warning: data definition has no type or storage class
    /usr/include/sys/types.h:45: parse error before `loff_t'
    /usr/include/sys/types.h:45: warning: data definition has no type or storage class
    /usr/include/sys/types.h:49: parse error before `ino_t'
    /usr/include/sys/types.h:49: warning: data definition has no type or storage class
    /usr/include/sys/types.h:56: parse error before `ino64_t'
    /usr/include/sys/types.h:56: warning: data definition has no type or storage class
    /usr/include/sys/types.h:61: parse error before `dev_t'
    /usr/include/sys/types.h:61: warning: data definition has no type or storage class
    /usr/include/sys/types.h:66: parse error before `gid_t'
    /usr/include/sys/types.h:66: warning: data definition has no type or storage class
    /usr/include/sys/types.h:71: parse error before `mode_t'
    /usr/include/sys/types.h:71: warning: data definition has no type or storage class
    /usr/include/sys/types.h:76: parse error before `nlink_t'
    /usr/include/sys/types.h:76: warning: data definition has no type or storage class
    /usr/include/sys/types.h:81: parse error before `uid_t'
    /usr/include/sys/types.h:81: warning: data definition has no type or storage class
    /usr/include/sys/types.h:87: parse error before `off_t'
    /usr/include/sys/types.h:87: warning: data definition has no type or storage class
    /usr/include/sys/types.h:94: parse error before `off64_t'
    /usr/include/sys/types.h:94: warning: data definition has no type or storage class
    /usr/include/sys/types.h:99: parse error before `pid_t'
    /usr/include/sys/types.h:99: warning: data definition has no type or storage class
    /usr/include/sys/types.h:104: parse error before `id_t'
    /usr/include/sys/types.h:104: warning: data definition has no type or storage class
    /usr/include/sys/types.h:109: parse error before `ssize_t'
    /usr/include/sys/types.h:109: warning: data definition has no type or storage class
    /usr/include/sys/types.h:115: parse error before `daddr_t'
    /usr/include/sys/types.h:115: warning: data definition has no type or storage class
    /usr/include/sys/types.h:116: parse error before `caddr_t'
    /usr/include/sys/types.h:116: warning: data definition has no type or storage class
    /usr/include/sys/types.h:122: parse error before `key_t'
    /usr/include/sys/types.h:122: warning: data definition has no type or storage class
    In file included from /usr/include/sys/types.h:132,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:426,
    from /var/tmp/tmp20980.c:2:
    /usr/include/time.h:59: parse error before `clock_t'
    /usr/include/time.h:59: warning: data definition has no type or storage class
    In file included from /usr/include/sys/types.h:132,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:426,
    from /var/tmp/tmp20980.c:2:
    /usr/include/time.h:70: parse error before `time_t'
    /usr/include/time.h:70: warning: data definition has no type or storage class
    In file included from /usr/include/sys/types.h:132,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:426,
    from /var/tmp/tmp20980.c:2:
    /usr/include/time.h:82: parse error before `clockid_t'
    /usr/include/time.h:82: warning: data definition has no type or storage class
    In file included from /usr/include/sys/types.h:132,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:426,
    from /var/tmp/tmp20980.c:2:
    /usr/include/time.h:94: parse error before `timer_t'
    /usr/include/time.h:94: warning: data definition has no type or storage class
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:426,
    from /var/tmp/tmp20980.c:2:
    /usr/include/sys/types.h:136: parse error before `useconds_t'
    /usr/include/sys/types.h:136: warning: data definition has no type or storage class
    /usr/include/sys/types.h:140: parse error before `suseconds_t'
    /usr/include/sys/types.h:140: warning: data definition has no type or storage class
    In file included from /usr/include/sys/select.h:44,
    from /usr/include/sys/types.h:215,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:426,
    from /var/tmp/tmp20980.c:2:
    /usr/include/time.h:108: parse error before `__time_t'
    /usr/include/time.h:108: warning: no semicolon at end of struct or union
    /usr/include/time.h:110: parse error before `}'
    In file included from /usr/include/sys/select.h:46,
    from /usr/include/sys/types.h:215,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:426,
    from /var/tmp/tmp20980.c:2:
    /usr/include/bits/time.h:69: parse error before `__time_t'
    /usr/include/bits/time.h:69: warning: no semicolon at end of struct or union
    /usr/include/bits/time.h:70: warning: data definition has no type or storage class
    In file included from /usr/include/sys/types.h:215,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:426,
    from /var/tmp/tmp20980.c:2:
    /usr/include/sys/select.h:68: `__FD_SETSIZE' undeclared here (not in a function)
    /usr/include/sys/select.h:68: size of array `fds_bits' has non-integer type
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:426,
    from /var/tmp/tmp20980.c:2:
    /usr/include/sys/types.h:223: parse error before `blksize_t'
    /usr/include/sys/types.h:223: warning: data definition has no type or storage class
    /usr/include/sys/types.h:230: parse error before `blkcnt_t'
    /usr/include/sys/types.h:230: warning: data definition has no type or storage class
    /usr/include/sys/types.h:234: parse error before `fsblkcnt_t'
    /usr/include/sys/types.h:234: warning: data definition has no type or storage class
    /usr/include/sys/types.h:238: parse error before `fsfilcnt_t'
    /usr/include/sys/types.h:238: warning: data definition has no type or storage class
    /usr/include/sys/types.h:257: parse error before `blkcnt64_t'
    /usr/include/sys/types.h:257: warning: data definition has no type or storage class
    /usr/include/sys/types.h:258: parse error before `fsblkcnt64_t'
    /usr/include/sys/types.h:258: warning: data definition has no type or storage class
    /usr/include/sys/types.h:259: parse error before `fsfilcnt64_t'
    /usr/include/sys/types.h:259: warning: data definition has no type or storage class
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:457,
    from /var/tmp/tmp20980.c:2:
    /usr/include/ctype.h:76: parse error before `*'
    /usr/include/ctype.h:76: warning: data definition has no type or storage class
    /usr/include/ctype.h:77: parse error before `*'
    /usr/include/ctype.h:77: warning: data definition has no type or storage class
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:498,
    from /var/tmp/tmp20980.c:2:
    /usr/include/unistd.h:240: parse error before `intptr_t'
    /usr/include/unistd.h:240: warning: data definition has no type or storage class
    /usr/include/unistd.h:247: parse error before `socklen_t'
    /usr/include/unistd.h:247: warning: data definition has no type or storage class
    /usr/include/unistd.h:290: parse error before `lseek'
    /usr/include/unistd.h:290: parse error before `__off_t'
    /usr/include/unistd.h:290: warning: data definition has no type or storage class
    /usr/include/unistd.h:302: parse error before `lseek64'
    /usr/include/unistd.h:302: parse error before `__off64_t'
    /usr/include/unistd.h:302: warning: data definition has no type or storage class
    /usr/include/unistd.h:310: parse error before `read'
    /usr/include/unistd.h:310: warning: data definition has no type or storage class
    /usr/include/unistd.h:313: parse error before `write'
    /usr/include/unistd.h:313: warning: data definition has no type or storage class
    /usr/include/unistd.h:317: parse error before `pread'
    /usr/include/unistd.h:317: parse error before `__off_t'
    /usr/include/unistd.h:318: warning: data definition has no type or storage class
    /usr/include/unistd.h:319: parse error before `pwrite'
    /usr/include/unistd.h:320: parse error before `__off_t'
    /usr/include/unistd.h:320: warning: data definition has no type or storage class
    /usr/include/unistd.h:340: parse error before `pread64'
    /usr/include/unistd.h:341: parse error before `__off64_t'
    /usr/include/unistd.h:341: warning: data definition has no type or storage class
    /usr/include/unistd.h:344: parse error before `pwrite64'
    /usr/include/unistd.h:345: parse error before `__off64_t'
    /usr/include/unistd.h:345: warning: data definition has no type or storage class
    /usr/include/unistd.h:378: parse error before `ualarm'
    /usr/include/unistd.h:378: parse error before `__value'
    /usr/include/unistd.h:379: warning: data definition has no type or storage class
    /usr/include/unistd.h:383: parse error before `__useconds'
    /usr/include/unistd.h:393: parse error before `__uid_t'
    /usr/include/unistd.h:398: parse error before `__uid_t'
    /usr/include/unistd.h:403: parse error before `__uid_t'
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:498,
    from /var/tmp/tmp20980.c:2:
    /usr/include/unistd.h:518: parse error before `getpid'
    /usr/include/unistd.h:518: warning: data definition has no type or storage class
    /usr/include/unistd.h:521: parse error before `getppid'
    /usr/include/unistd.h:521: warning: data definition has no type or storage class
    /usr/include/unistd.h:526: parse error before `getpgrp'
    /usr/include/unistd.h:526: warning: data definition has no type or storage class
    /usr/include/unistd.h:536: parse error before `__getpgid'
    /usr/include/unistd.h:536: parse error before `__pid'
    /usr/include/unistd.h:536: warning: data definition has no type or storage class
    /usr/include/unistd.h:538: parse error before `getpgid'
    /usr/include/unistd.h:538: parse error before `__pid'
    /usr/include/unistd.h:538: warning: data definition has no type or storage class
    /usr/include/unistd.h:545: parse error before `__pid'
    /usr/include/unistd.h:580: parse error before `setsid'
    /usr/include/unistd.h:580: warning: data definition has no type or storage class
    /usr/include/unistd.h:584: parse error before `getsid'
    /usr/include/unistd.h:584: parse error before `__pid'
    /usr/include/unistd.h:584: warning: data definition has no type or storage class
    /usr/include/unistd.h:588: parse error before `getuid'
    /usr/include/unistd.h:588: warning: data definition has no type or storage class
    /usr/include/unistd.h:591: parse error before `geteuid'
    /usr/include/unistd.h:591: warning: data definition has no type or storage class
    /usr/include/unistd.h:594: parse error before `getgid'
    /usr/include/unistd.h:594: warning: data definition has no type or storage class
    /usr/include/unistd.h:597: parse error before `getegid'
    /usr/include/unistd.h:597: warning: data definition has no type or storage class
    /usr/include/unistd.h:602: parse error before `__gid_t'
    /usr/include/unistd.h:606: parse error before `__gid'
    /usr/include/unistd.h:613: parse error before `__uid'
    /usr/include/unistd.h:618: parse error before `__ruid'
    /usr/include/unistd.h:623: parse error before `__uid'
    /usr/include/unistd.h:630: parse error before `__gid'
    /usr/include/unistd.h:635: parse error before `__rgid'
    /usr/include/unistd.h:640: parse error before `__gid'
    /usr/include/unistd.h:647: parse error before `fork'
    /usr/include/unistd.h:647: warning: data definition has no type or storage class
    /usr/include/unistd.h:654: parse error before `vfork'
    /usr/include/unistd.h:654: warning: data definition has no type or storage class
    /usr/include/unistd.h:700: parse error before `tcgetpgrp'
    /usr/include/unistd.h:700: warning: data definition has no type or storage class
    /usr/include/unistd.h:703: parse error before `__pid_t'
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:498,
    from /var/tmp/tmp20980.c:2:
    /usr/include/unistd.h:825: parse error before `__off_t'
    /usr/include/unistd.h:836: parse error before `__off64_t'
    /usr/include/unistd.h:841: parse error before `__off_t'
    /usr/include/unistd.h:851: parse error before `__off64_t'
    /usr/include/unistd.h:872: parse error before `__delta'
    /usr/include/unistd.h:907: parse error before `__off_t'
    /usr/include/unistd.h:917: parse error before `__off64_t'
    /usr/include/unistd.h:958: parse error before `ssize_t'
    In file included from /usr/include/netinet/in.h:212,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:649,
    from /var/tmp/tmp20980.c:2:
    /usr/include/bits/socket.h:165: parse error before `__uint32_t'
    /usr/include/bits/socket.h:165: warning: no semicolon at end of struct or union
    /usr/include/bits/socket.h:166: `__uint32_t' undeclared here (not in a function)
    /usr/include/bits/socket.h:167: parse error before `}'
    /usr/include/bits/socket.h:218: parse error before `socklen_t'
    /usr/include/bits/socket.h:218: warning: no semicolon at end of struct or union
    /usr/include/bits/socket.h:224: parse error before `msg_controllen'
    /usr/include/bits/socket.h:224: warning: data definition has no type or storage class
    /usr/include/bits/socket.h:227: parse error before `}'
    /usr/include/bits/socket.h:299: parse error before `pid_t'
    /usr/include/bits/socket.h:299: warning: no semicolon at end of struct or union
    /usr/include/bits/socket.h:300: warning: data definition has no type or storage class
    /usr/include/bits/socket.h:301: parse error before `gid'
    /usr/include/bits/socket.h:301: warning: data definition has no type or storage class
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:653,
    from /var/tmp/tmp20980.c:2:
    /usr/include/arpa/inet.h:66: parse error before `socklen_t'
    In file included from /usr/include/sys/stat.h:98,
    from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:663,
    from /var/tmp/tmp20980.c:2:
    /usr/include/bits/stat.h:38: parse error before `__dev_t'
    /usr/include/bits/stat.h:38: warning: no semicolon at end of struct or union
    /usr/include/bits/stat.h:41: parse error before `st_ino'
    /usr/include/bits/stat.h:41: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:45: parse error before `st_mode'
    /usr/include/bits/stat.h:45: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:46: parse error before `st_nlink'
    /usr/include/bits/stat.h:46: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:47: parse error before `st_uid'
    /usr/include/bits/stat.h:47: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:48: parse error before `st_gid'
    /usr/include/bits/stat.h:48: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:49: parse error before `st_rdev'
    /usr/include/bits/stat.h:49: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:52: parse error before `st_size'
    /usr/include/bits/stat.h:52: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:56: parse error before `st_blksize'
    /usr/include/bits/stat.h:56: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:59: parse error before `st_blocks'
    /usr/include/bits/stat.h:59: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:63: parse error before `st_atime'
    /usr/include/bits/stat.h:63: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:65: parse error before `st_mtime'
    /usr/include/bits/stat.h:65: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:67: parse error before `st_ctime'
    /usr/include/bits/stat.h:67: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:75: parse error before `}'
    /usr/include/bits/stat.h:80: parse error before `__dev_t'
    /usr/include/bits/stat.h:80: warning: no semicolon at end of struct or union
    /usr/include/bits/stat.h:81: conflicting types for `__pad1'
    /usr/include/bits/stat.h:39: previous declaration of `__pad1'
    /usr/include/bits/stat.h:83: parse error before `__st_ino'
    /usr/include/bits/stat.h:83: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:84: parse error before `st_mode'
    /usr/include/bits/stat.h:84: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:85: parse error before `st_nlink'
    /usr/include/bits/stat.h:85: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:86: parse error before `st_uid'
    /usr/include/bits/stat.h:86: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:87: parse error before `st_gid'
    /usr/include/bits/stat.h:87: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:88: parse error before `st_rdev'
    /usr/include/bits/stat.h:88: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:89: conflicting types for `__pad2'
    /usr/include/bits/stat.h:50: previous declaration of `__pad2'
    /usr/include/bits/stat.h:90: parse error before `st_size'
    /usr/include/bits/stat.h:90: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:91: parse error before `st_blksize'
    /usr/include/bits/stat.h:91: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:93: parse error before `st_blocks'
    /usr/include/bits/stat.h:93: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:94: parse error before `st_atime'
    /usr/include/bits/stat.h:94: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:96: parse error before `st_mtime'
    /usr/include/bits/stat.h:96: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:98: parse error before `st_ctime'
    /usr/include/bits/stat.h:98: warning: data definition has no type or storage class
    /usr/include/bits/stat.h:100: parse error before `st_ino'
    /usr/include/bits/stat.h:100: warning: data definition has no type or storage class
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:663,
    from /var/tmp/tmp20980.c:2:
    /usr/include/sys/stat.h:249: parse error before `__mode_t'
    /usr/include/sys/stat.h:253: parse error before `__mode_t'
    /usr/include/sys/stat.h:259: parse error before `umask'
    /usr/include/sys/stat.h:259: parse error before `__mask'
    /usr/include/sys/stat.h:259: warning: data definition has no type or storage class
    /usr/include/sys/stat.h:264: parse error before `getumask'
    /usr/include/sys/stat.h:264: warning: data definition has no type or storage class
    /usr/include/sys/stat.h:268: parse error before `__mode_t'
    /usr/include/sys/stat.h:274: parse error before `__mode_t'
    /usr/include/sys/stat.h:280: parse error before `__mode_t'
    /usr/include/sys/stat.h:337: parse error before `__mode_t'
    /usr/include/sys/stat.h:363: parse error before `__mode_t'
    /usr/include/sys/stat.h: In function `mknod':
    /usr/include/sys/stat.h:366: `__path' undeclared (first use in this function)
    /usr/include/sys/stat.h:366: (Each undeclared identifier is reported only once
    /usr/include/sys/stat.h:366: for each function it appears in.)
    /usr/include/sys/stat.h:366: `__mode' undeclared (first use in this function)
    /usr/include/sys/stat.h:366: `__dev' undeclared (first use in this function)
    In file included from /usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h:685,
    from /var/tmp/tmp20980.c:2:
    /usr/include/time.h: At top level:
    /usr/include/time.h:144: field `it_interval' has incomplete type
    /usr/include/time.h:145: field `it_value' has incomplete type
    /usr/include/time.h:163: parse error before `clock'
    /usr/include/time.h:163: warning: data definition has no type or storage class
    /usr/include/time.h:166: parse error before `time'
    /usr/include/time.h:166: parse error before `*'
    /usr/include/time.h:166: warning: data definiti
     
  4. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    /scripts/fixheaders

    Then try again.
     
Loading...

Share This Page