More to this
When trying to install a Perl module from WHM it returns this now also:
In file included from /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:307,
from ReadKey.xs:4:
/usr/include/sys/types.h:33: parse error before `u_char'
/usr/include/sys/types.h:33: warning: data definition has no type or storage class
/usr/include/sys/types.h:34: parse error before `u_short'
/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_int'
/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_long'
/usr/include/sys/types.h:36: warning: data definition has no type or storage class
/usr/include/sys/types.h:37: parse error before `quad_t'
/usr/include/sys/types.h:37: warning: data definition has no type or storage class
/usr/include/sys/types.h:38: parse error before `u_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 `fsid_t'
/usr/include/sys/types.h:39: warning: data definition has no type or storage class
/usr/include/sys/types.h:42: parse error before `loff_t'
/usr/include/sys/types.h:42: warning: data definition has no type or storage class
/usr/include/sys/types.h:46: parse error before `ino_t'
/usr/include/sys/types.h:46: warning: data definition has no type or storage class
/usr/include/sys/types.h:58: parse error before `dev_t'
/usr/include/sys/types.h:58: warning: data definition has no type or storage class
/usr/include/sys/types.h:63: parse error before `gid_t'
/usr/include/sys/types.h:63: warning: data definition has no type or storage class
/usr/include/sys/types.h:68: parse error before `mode_t'
/usr/include/sys/types.h:68: warning: data definition has no type or storage class
/usr/include/sys/types.h:73: parse error before `nlink_t'
/usr/include/sys/types.h:73: warning: data definition has no type or storage class
/usr/include/sys/types.h:78: parse error before `uid_t'
/usr/include/sys/types.h:78: warning: data definition has no type or storage class
/usr/include/sys/types.h:84: parse error before `off_t'
/usr/include/sys/types.h:84: warning: data definition has no type or storage class
/usr/include/sys/types.h:96: parse error before `pid_t'
/usr/include/sys/types.h:96: warning: data definition has no type or storage class
/usr/include/sys/types.h:101: parse error before `id_t'
/usr/include/sys/types.h:101: warning: data definition has no type or storage class
/usr/include/sys/types.h:105: parse error before `ssize_t'
/usr/include/sys/types.h:105: warning: data definition has no type or storage class
/usr/include/sys/types.h:110: parse error before `daddr_t'
/usr/include/sys/types.h:110: warning: data definition has no type or storage class
/usr/include/sys/types.h:111: parse error before `caddr_t'
/usr/include/sys/types.h:111: warning: data definition has no type or storage class
/usr/include/sys/types.h:115: parse error before `key_t'
/usr/include/sys/types.h:115: warning: data definition has no type or storage class
In file included from /usr/include/sys/types.h:122,
from /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:307,
from ReadKey.xs:4:
/usr/include/time.h:71: parse error before `time_t'
/usr/include/time.h:71: warning: data definition has no type or storage class
In file included from /usr/include/sys/types.h:194,
from /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:307,
from ReadKey.xs:4:
/usr/include/sys/select.h:48: parse error before `fd_mask'
/usr/include/sys/select.h:48: warning: data definition has no type or storage class
/usr/include/sys/select.h:51: parse error before `fd_set'
/usr/include/sys/select.h:51: warning: data definition has no type or storage class
/usr/include/sys/select.h:74: parse error before `__fd_set'
/usr/include/sys/select.h:77: parse error before `__fd_set'
In file included from /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:307,
from ReadKey.xs:4:
/usr/include/sys/types.h:203: parse error before `blkcnt_t'
/usr/include/sys/types.h:203: warning: data definition has no type or storage class
/usr/include/sys/types.h:204: parse error before `fsblkcnt_t'
/usr/include/sys/types.h:204: warning: data definition has no type or storage class
/usr/include/sys/types.h:205: parse error before `fsfilcnt_t'
/usr/include/sys/types.h:205: warning: data definition has no type or storage class
In file included from /usr/include/stdio.h:57,
from /usr/lib/perl5/5.00503/i386-linux/CORE/perlsdio.h:5,
from /usr/lib/perl5/5.00503/i386-linux/CORE/iperlsys.h:203,
from /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:325,
from ReadKey.xs:4:
/usr/include/libio.h:214: parse error before `__off_t'
/usr/include/libio.h:214: warning: no semicolon at end of struct or union
/usr/include/libio.h:233: parse error before `_offset'
/usr/include/libio.h:233: warning: data definition has no type or storage class
/usr/include/libio.h:237: parse error before `}'
/usr/include/libio.h:262: parse error before `__io_read_fn'
/usr/include/libio.h:263: warning: data definition has no type or storage class
/usr/include/libio.h:271: parse error before `__io_write_fn'
/usr/include/libio.h:272: warning: data definition has no type or storage class
/usr/include/libio.h:280: parse error before `__off_t'
/usr/include/libio.h:367: parse error before `_IO_padn'
/usr/include/libio.h:367: parse error before `__ssize_t'
/usr/include/libio.h:367: warning: data definition has no type or storage class
/usr/include/libio.h:370: parse error before `_IO_seekoff'
/usr/include/libio.h:370: parse error before `__off64_t'
/usr/include/libio.h:370: warning: data definition has no type or storage class
/usr/include/libio.h:371: parse error before `_IO_seekpos'
/usr/include/libio.h:371: parse error before `__off64_t'
/usr/include/libio.h:371: warning: data definition has no type or storage class
In file included from /usr/lib/perl5/5.00503/i386-linux/CORE/perlsdio.h:5,
from /usr/lib/perl5/5.00503/i386-linux/CORE/iperlsys.h:203,
from /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:325,
from ReadKey.xs:4:
/usr/include/stdio.h:61: parse error before `fpos_t'
/usr/include/stdio.h:61: warning: data definition has no type or storage class
In file included from /usr/lib/perl5/5.00503/i386-linux/CORE/perlsdio.h:5,
from /usr/lib/perl5/5.00503/i386-linux/CORE/iperlsys.h:203,
from /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:325,
from ReadKey.xs:4:
/usr/include/stdio.h:500: parse error before `fpos_t'
/usr/include/stdio.h:502: parse error before `*'
/usr/include/bits/stdio.h: In function `getc_unlocked':
In file included from /usr/include/stdio.h:635,
from /usr/lib/perl5/5.00503/i386-linux/CORE/perlsdio.h:5,
from /usr/lib/perl5/5.00503/i386-linux/CORE/iperlsys.h:203,
from /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:325,
from ReadKey.xs:4:
/usr/include/bits/stdio.h:51: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h:51: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h:51: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h: In function `getchar_unlocked':
/usr/include/bits/stdio.h:58: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h:58: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h:58: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h: In function `fputc_unlocked':
/usr/include/bits/stdio.h:76: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h:76: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h:76: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h: In function `putc_unlocked':
/usr/include/bits/stdio.h:86: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h:86: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h:86: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h: In function `putchar_unlocked':
/usr/include/bits/stdio.h:93: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h:93: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h:93: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h: In function `feof_unlocked':
/usr/include/bits/stdio.h:113: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h: In function `ferror_unlocked':
/usr/include/bits/stdio.h:120: dereferencing pointer to incomplete type
/usr/include/ctype.h: At top level:
In file included from /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:336,
from ReadKey.xs:4:
/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/include/string.h:346,
from /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:433,
from ReadKey.xs:4:
/usr/include/bits/string2.h:396: parse error before `__uint16_t'
/usr/include/bits/string2.h:400: parse error before `__uint16_t'
/usr/include/bits/string2.h: In function `__strcpy_small':
/usr/include/bits/string2.h:405: parse error before `__uint32_t'
/usr/include/bits/string2.h:405: warning: no semicolon at end of struct or union
/usr/include/bits/string2.h:406: `__uint16_t' undeclared (first use in this function)
/usr/include/bits/string2.h:406: (Each undeclared identifier is reported only once
/usr/include/bits/string2.h:406: for each function it appears in.)
/usr/include/bits/string2.h: At top level:
/usr/include/bits/string2.h:408: `__dest' undeclared here (not in a function)
/usr/include/bits/string2.h:408: warning: data definition has no type or storage class
/usr/include/bits/string2.h:409: parse error before `switch'
/usr/include/bits/string2.h:419: conflicting types for `__u'
/usr/include/bits/string2.h:408: previous declaration of `__u'
/usr/include/bits/string2.h:419: warning: initialization makes integer from pointer without a cast
/usr/include/bits/string2.h:419: initializer element is not constant
/usr/include/bits/string2.h:419: warning: data definition has no type or storage class
/usr/include/bits/string2.h:420: parse error before `-&'
/usr/include/bits/string2.h:427: redefinition of `__u'
/usr/include/bits/string2.h:419: `__u' previously defined here
/usr/include/bits/string2.h:427: warning: initialization makes integer from pointer without a cast
/usr/include/bits/string2.h:427: initializer element is not constant
/usr/include/bits/string2.h:427: warning: data definition has no type or storage class
/usr/include/bits/string2.h:428: parse error before `-&'
/usr/include/bits/string2.h:432: redefinition of `__u'
/usr/include/bits/string2.h:427: `__u' previously defined here
/usr/include/bits/string2.h:432: warning: initialization makes integer from pointer without a cast
/usr/include/bits/string2.h:432: initializer element is not constant
/usr/include/bits/string2.h:432: warning: data definition has no type or storage class
/usr/include/bits/string2.h:433: parse error before `-&'
/usr/include/bits/string2.h:437: redefinition of `__u'
/usr/include/bits/string2.h:432: `__u' previously defined here
/usr/include/bits/string2.h:437: warning: initialization makes integer from pointer without a cast
/usr/include/bits/string2.h:437: initializer element is not constant
/usr/include/bits/string2.h:437: warning: data definition has no type or storage class
/usr/include/bits/string2.h:438: parse error before `-&'
/usr/include/bits/string2.h:439: redefinition of `__u'
/usr/include/bits/string2.h:437: `__u' previously defined here
/usr/include/bits/string2.h:439: warning: initialization makes integer from pointer without a cast
/usr/include/bits/string2.h:439: initializer element is not constant
/usr/include/bits/string2.h:439: warning: data definition has no type or storage class
/usr/include/bits/string2.h:440: parse error before `-&'
/usr/include/bits/string2.h:444: redefinition of `__u'
/usr/include/bits/string2.h:439: `__u' previously defined here
/usr/include/bits/string2.h:444: warning: initialization makes integer from pointer without a cast
/usr/include/bits/string2.h:444: initializer element is not constant
/usr/include/bits/string2.h:444: warning: data definition has no type or storage class
/usr/include/bits/string2.h:445: parse error before `-&'
In file included from /usr/include/netinet/in.h:27,
from /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:523,
from ReadKey.xs:4:
/usr/include/bits/socket.h:156: parse error before `__uint32_t'
/usr/include/bits/socket.h:156: warning: no semicolon at end of struct or union
/usr/include/bits/socket.h:157: `__uint32_t' undeclared here (not in a function)
/usr/include/bits/socket.h:158: parse error before `}'
/usr/include/bits/socket.h:289: parse error before `pid_t'
/usr/include/bits/socket.h:289: warning: no semicolon at end of struct or union
/usr/include/bits/socket.h:290: warning: data definition has no type or storage class
/usr/include/bits/socket.h:291: parse error before `gid'
/usr/include/bits/socket.h:291: warning: data definition has no type or storage class
In file included from /usr/include/sys/stat.h:89,
from /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:537,
from ReadKey.xs:4:
/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: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:71: parse error before `}'
In file included from /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:537,
from ReadKey.xs:4:
/usr/include/sys/stat.h:222: parse error before `__mode_t'
/usr/include/sys/stat.h:226: parse error before `__mode_t'
/usr/include/sys/stat.h:232: parse error before `umask'
/usr/include/sys/stat.h:232: parse error before `__mask'
/usr/include/sys/stat.h:232: warning: data definition has no type or storage class
/usr/include/sys/stat.h:241: parse error before `__mode_t'
/usr/include/sys/stat.h:248: parse error before `__mode_t'
/usr/include/sys/stat.h:253: parse error before `__mode_t'
/usr/include/sys/stat.h:310: parse error before `__mode_t'
/usr/include/sys/stat.h:335: parse error before `__mode_t'
/usr/include/sys/stat.h: In function `mknod':
/usr/include/sys/stat.h:338: `__path' undeclared (first use in this function)
/usr/include/sys/stat.h:338: `__mode' undeclared (first use in this function)
/usr/include/sys/stat.h:338: `__dev' undeclared (first use in this function)
/usr/include/time.h: At top level:
In file included from /usr/include/sys/time.h:24,
from /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:566,
from ReadKey.xs:4:
/usr/include/time.h:60: parse error before `clock_t'
/usr/include/time.h:60: warning: data definition has no type or storage class
/usr/include/time.h:119: parse error before `clock'
/usr/include/time.h:119: warning: data definition has no type or storage class
/usr/include/time.h:122: parse error before `time'
/usr/include/time.h:122: parse error before `*'
/usr/include/time.h:122: warning: data definition has no type or storage class
/usr/include/time.h:125: parse error before `__time1'
/usr/include/time.h:129: parse error before `mktime'
/usr/include/time.h:129: warning: data definition has no type or storage class
/usr/include/time.h:149: parse error before `*'
/usr/include/time.h:153: parse error before `*'
/usr/include/time.h:158: parse error before `*'
/usr/include/time.h:160: parse error before `*'
/usr/include/time.h:165: parse error before `*'
/usr/include/time.h:174: parse error before `*'
/usr/include/time.h:185: parse error before `*'
/usr/include/time.h:213: parse error before `*'
/usr/include/time.h:228: parse error before `timegm'
/usr/include/time.h:228: warning: data definition has no type or storage class
/usr/include/time.h:231: parse error before `timelocal'
/usr/include/time.h:231: warning: data definition has no type or storage class
In file included from /usr/include/sys/time.h:28,
from /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:566,
from ReadKey.xs:4:
/usr/include/bits/time.h:55: parse error before `__time_t'
/usr/include/bits/time.h:55: warning: no semicolon at end of struct or union
/usr/include/bits/time.h:56: warning: data definition has no type or storage class
In file included from /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:566,
from ReadKey.xs:4:
/usr/include/sys/time.h:93: field `it_interval' has incomplete type
/usr/include/sys/time.h:95: field `it_value' has incomplete type
In file included from /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:573,
from ReadKey.xs:4:
/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/dirent.h:62,
from /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:660,
from ReadKey.xs:4:
/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 `}'
In file included from /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:660,
from ReadKey.xs:4:
/usr/include/dirent.h:292: parse error before `getdirentries'
/usr/include/dirent.h:294: parse error before `__off_t'
/usr/include/dirent.h:294: warning: data definition has no type or storage class
In file included from /usr/lib/perl5/5.00503/i386-linux/CORE/unixish.h:93,
from /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:1121,
from ReadKey.xs:4:
/usr/include/signal.h:108: parse error before `__pid'
/usr/include/signal.h:115: parse error before `__pgrp'
In file included from /usr/include/signal.h:194,
from /usr/lib/perl5/5.00503/i386-linux/CORE/unixish.h:93,
from /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:1121,
from ReadKey.xs:4:
/usr/include/bits/siginfo.h:52: parse error before `__pid_t'
/usr/include/bits/siginfo.h:52: warning: no semicolon at end of struct or union
/usr/include/bits/siginfo.h:52: warning: no semicolon at end of struct or union
/usr/include/bits/siginfo.h:53: warning: no semicolon at end of struct or union
/usr/include/bits/siginfo.h:54: warning: data definition has no type or storage class
/usr/include/bits/siginfo.h:66: parse error before `__pid_t'
/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:69: parse error before `}'
/usr/include/bits/siginfo.h:69: warning: data definition has no type or storage class
/usr/include/bits/siginfo.h:74: parse error before `__pid_t'
/usr/include/bits/siginfo.h:74: warning: no semicolon at end of struct or union
/usr/include/bits/siginfo.h:75: warning: data definition has no type or storage class
/usr/include/bits/siginfo.h:77: parse error before `si_utime'
/usr/include/bits/siginfo.h:77: warning: data definition has no type or storage class
/usr/include/bits/siginfo.h:78: parse error before `si_stime'
/usr/include/bits/siginfo.h:78: warning: data definition has no type or storage class
/usr/include/bits/siginfo.h:79: warning: data definition has no type or storage class
/usr/include/bits/siginfo.h:93: parse error before `}'
/usr/include/bits/siginfo.h:93: warning: data definition has no type or storage class
/usr/include/bits/siginfo.h:94: parse error before `}'
/usr/include/bits/siginfo.h:94: warning: data definition has no type or storage class
In file included from /usr/include/signal.h:227,
from /usr/lib/perl5/5.00503/i386-linux/CORE/unixish.h:93,
from /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:1121,
from ReadKey.xs:4:
/usr/include/bits/sigaction.h:34: parse error before `siginfo_t'
In file included from /usr/lib/perl5/5.00503/i386-linux/CORE/unixish.h:93,
from /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:1121,
from ReadKey.xs:4:
/usr/include/signal.h:252: parse error before `siginfo_t'
/usr/include/signal.h:256: parse error before `siginfo_t'
/usr/include/signal.h:261: parse error before `__pid'
In file included from /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:1277,
from ReadKey.xs:4:
/usr/lib/perl5/5.00503/i386-linux/CORE/av.h:12: parse error before `ssize_t'
/usr/lib/perl5/5.00503/i386-linux/CORE/av.h:12: warning: no semicolon at end of struct or union
/usr/lib/perl5/5.00503/i386-linux/CORE/av.h:13: warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/av.h:22: parse error before `}'
In file included from ReadKey.xs:4:
/usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:1437: parse error before `getuid'
/usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:1437: warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:1438: parse error before `geteuid'
/usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:1438: warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:1439: parse error before `getgid'
/usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:1439: warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:1440: parse error before `getegid'
/usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:1440: warning: data definition has no type or storage class
In file included from ReadKey.xs:4:
/usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:1560: parse error before `lseek'
/usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:1560: parse error before `off_t'
/usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:1560: warning: data definition has no type or storage class
In file included from /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:2138,
from ReadKey.xs:4:
/usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:54: parse error before `PL_basetime'
/usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:54: warning: data definition has no type or storage class
In file included from /usr/include/sys/ipc.h:25,
from /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:2543,
from ReadKey.xs:4:
/usr/include/bits/ipc.h:43: parse error before `__key_t'
/usr/include/bits/ipc.h:43: warning: no semicolon at end of struct or union
/usr/include/bits/ipc.h:44: conflicting types for `uid'
/usr/include/bits/socket.h:290: previous declaration of `uid'
/usr/include/bits/ipc.h:45: conflicting types for `gid'
/usr/include/bits/socket.h:291: previous declaration of `gid'
/usr/include/bits/ipc.h:50: parse error before `}'
In file included from /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:2543,
from ReadKey.xs:4:
/usr/include/sys/ipc.h:34: parse error before `ftok'
/usr/include/sys/ipc.h:34: warning: data definition has no type or storage class
In file included from /usr/include/sys/sem.h:30,
from /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:2544,
from ReadKey.xs:4:
/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:43: 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.00503/i386-linux/CORE/perl.h:2544,
from ReadKey.xs:4:
/usr/include/sys/sem.h:50: parse error before `__key'
In file included from /usr/include/fcntl.h:33,
from /usr/include/sys/file.h:25,
from ReadKey.xs:246:
/usr/include/bits/fcntl.h:113: parse error before `__off_t'
/usr/include/bits/fcntl.h:113: warning: no semicolon at end of struct or union
/usr/include/bits/fcntl.h:114: warning: data definition has no type or storage class
/usr/include/bits/fcntl.h:119: parse error before `l_pid'
/usr/include/bits/fcntl.h:119: warning: data definition has no type or storage class
In file included from /usr/include/sys/file.h:25,
from ReadKey.xs:246:
/usr/include/fcntl.h:85: parse error before `__mode_t'
/usr/include/fcntl.h:114: parse error before `__off_t'
In file included from ReadKey.xs:249:
/usr/include/unistd.h:277: parse error before `__lseek'
/usr/include/unistd.h:277: parse error before `__off_t'
/usr/include/unistd.h:277: warning: data definition has no type or storage class
/usr/include/unistd.h:279: parse error before `lseek'
/usr/include/unistd.h:279: parse error before `__off_t'
/usr/include/unistd.h:279: warning: data definition has no type or storage class
/usr/include/unistd.h:300: parse error before `__read'
/usr/include/unistd.h:300: warning: data definition has no type or storage class
/usr/include/unistd.h:301: parse error before `read'
/usr/include/unistd.h:301: warning: data definition has no type or storage class
/usr/include/unistd.h:304: parse error before `__write'
/usr/include/unistd.h:304: warning: data definition has no type or storage class
/usr/include/unistd.h:305: parse error before `write'
/usr/include/unistd.h:305: warning: data definition has no type or storage class
/usr/include/unistd.h:389: parse error before `__uid_t'
/usr/include/unistd.h:394: parse error before `__uid_t'
/usr/include/unistd.h:399: parse error before `__uid_t'
In file included from ReadKey.xs:249:
/usr/include/unistd.h:515: parse error before `__getpid'
/usr/include/unistd.h:515: warning: data definition has no type or storage class
/usr/include/unistd.h:516: parse error before `getpid'
/usr/include/unistd.h:516: warning: data definition has no type or storage class
/usr/include/unistd.h:519: parse error before `getppid'
/usr/include/unistd.h:519: warning: data definition has no type or storage class
/usr/include/unistd.h:524: parse error before `getpgrp'
/usr/include/unistd.h:524: warning: data definition has no type or storage class
/usr/include/unistd.h:534: parse error before `__getpgid'
/usr/include/unistd.h:534: parse error before `__pid'
/usr/include/unistd.h:534: warning: data definition has no type or storage class
/usr/include/unistd.h:543: parse error before `__pid'
/usr/include/unistd.h:544: parse error before `__pid'
/usr/include/unistd.h:579: parse error before `setsid'
/usr/include/unistd.h:579: warning: data definition has no type or storage class
/usr/include/unistd.h:587: parse error before `getuid'
/usr/include/unistd.h:587: warning: data definition has no type or storage class
/usr/include/unistd.h:590: parse error before `geteuid'
/usr/include/unistd.h:590: warning: data definition has no type or storage class
/usr/include/unistd.h:593: parse error before `getgid'
/usr/include/unistd.h:593: warning: data definition has no type or storage class
/usr/include/unistd.h:596: parse error before `getegid'
/usr/include/unistd.h:596: warning: data definition has no type or storage class
/usr/include/unistd.h:601: parse error before `__gid_t'
/usr/include/unistd.h:612: parse error before `__uid'
/usr/include/unistd.h:617: parse error before `__ruid'
/usr/include/unistd.h:622: parse error before `__uid'
/usr/include/unistd.h:629: parse error before `__gid'
/usr/include/unistd.h:634: parse error before `__rgid'
/usr/include/unistd.h:639: parse error before `__gid'
/usr/include/unistd.h:646: parse error before `__fork'
/usr/include/unistd.h:646: warning: data definition has no type or storage class
/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:698: parse error before `tcgetpgrp'
/usr/include/unistd.h:698: warning: data definition has no type or storage class
/usr/include/unistd.h:701: parse error before `__pid_t'
In file included from ReadKey.xs:249:
/usr/include/unistd.h:818: parse error before `__off_t'
/usr/include/unistd.h:833: parse error before `__off_t'
/usr/include/unistd.h:835: parse error before `__off_t'
make: *** [ReadKey.o] Error 1
Any ideas?