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.

Suspected memory leak causes server to die

Discussion in 'General Discussion' started by Djelibeybi, Mar 26, 2002.

  1. Djelibeybi

    Djelibeybi Well-Known Member

    Joined:
    Mar 19, 2002
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    Question:

    I just took possession of a dedicated RedHat Linux 7.2 server with WHM/CPanel pre-installed. My sole requirement for this server is a single Perl-based mySQL-driven bulletin board (Ikonboard v3.0.2).

    However, when I attempted to load DBI::mysql, I got thousands of lines of parse errors during the make process. I couldn't load it via WHM's Add Perl Module, nor manually. I can't use ./installdbi and I can't do it manually.

    The same thing occurs when I tried (as a test) to load DBI::DB_File.

    Now, my server runs out of memory at least once a day and then dies. Completely. Stops responding to any connection attempt. My hosting provider says I need to add more RAM (it started at 64mb, was upgraded to 128mb, now its at 192mb). Only a reboot returns it back to operation.

    I'd like to know if this is possibly a WHM/CPanel installation error on the part of the hosting provider? Surely I should be able to successfully run ./installdbi ?

    Any thoughts/suggestions appreciated.
     
  2. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    What is the output (well, a snippet of it), when you try to install the DBI module manually as root?

    I am assuming your compilers may be shot to hell.
    But first let us know what the install is erroring out on......

    And also the absolute minimum amount of memory for a cpanel server with all the trimmings is 256 megs of memory, while 512 is usually the rock bottom if you want a somewhat stable box.
     
  3. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    I have seen a server with 1 domain on it running that board with about 70 users at any given time logged in that board. The machine is a dual 1GHZ PIII with dual 9GB scsi drives. 512 ram would not do it. They had to go to 1GB and even after that he decided to put 2GB in it. OH by the way ..it wasn't even a cpanel box..but a raw RedHat install.
     
  4. Djelibeybi

    Djelibeybi Well-Known Member

    Joined:
    Mar 19, 2002
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    Here's the first few lines from trying to install DBD::mysql

    The same thing happens if I run ./installdbi

    Once the parse errors start, they don't stop for several hundred lines (I had my scrollback buffer at 2000 and just managed to see the start of the output).

    --- Start Output ---

    cpan& install Bundle::DBD::mysql
    CPAN: Storable loaded ok
    Going to read /root/.cpan/Metadata
    Database was generated on Fri, 22 Mar 2002 07:39:11 GMT
    DBI is up to date.
    Data::ShowTable is up to date.
    Running install for module Mysql
    Running make for J/JW/JWIED/DBD-mysql-2.1011.tar.gz
    CPAN: MD5 loaded ok
    CPAN: Compress::Zlib loaded ok
    Checksum for
    /root/.cpan/sources/authors/id/J/JW/JWIED/DBD-mysql-2.1011.tar.gz ok
    Scanning cache /root/.cpan/build for sizes
    DBD-mysql-2.1011/
    DBD-mysql-2.1011/t/
    DBD-mysql-2.1011/t/mysql2.t
    DBD-mysql-2.1011/t/akmisc.t
    DBD-mysql-2.1011/t/60leaks.t
    DBD-mysql-2.1011/t/10dsnlist.t
    DBD-mysql-2.1011/t/ak-dbd.t
    DBD-mysql-2.1011/t/50chopblanks.t
    DBD-mysql-2.1011/t/mysql.t
    DBD-mysql-2.1011/t/lib.pl
    DBD-mysql-2.1011/t/40blobs.t
    DBD-mysql-2.1011/t/40nulls.t
    DBD-mysql-2.1011/t/insertid.t
    DBD-mysql-2.1011/t/40listfields.t
    DBD-mysql-2.1011/t/40bindparam.t
    DBD-mysql-2.1011/t/mysql.dbtest
    DBD-mysql-2.1011/t/dbdadmin.t
    DBD-mysql-2.1011/t/20createdrop.t
    DBD-mysql-2.1011/t/00base.t
    DBD-mysql-2.1011/t/30insertfetch.t
    DBD-mysql-2.1011/t/40numrows.t
    DBD-mysql-2.1011/t/50commit.t
    DBD-mysql-2.1011/t/mysql.mtest
    DBD-mysql-2.1011/MANIFEST
    DBD-mysql-2.1011/myld
    DBD-mysql-2.1011/dbdimp.c
    DBD-mysql-2.1011/dbdimp.h
    DBD-mysql-2.1011/mysql.xs
    DBD-mysql-2.1011/MANIFEST.SKIP
    DBD-mysql-2.1011/README
    DBD-mysql-2.1011/INSTALL.html
    DBD-mysql-2.1011/lib/
    DBD-mysql-2.1011/lib/Mysql/
    DBD-mysql-2.1011/lib/Mysql/Statement.pm
    DBD-mysql-2.1011/lib/DBD/
    DBD-mysql-2.1011/lib/DBD/mysql/
    DBD-mysql-2.1011/lib/DBD/mysql/INSTALL.pod
    DBD-mysql-2.1011/lib/DBD/mysql.pm
    DBD-mysql-2.1011/lib/DBD/mysql.pod
    DBD-mysql-2.1011/lib/Bundle/
    DBD-mysql-2.1011/lib/Bundle/DBD/
    DBD-mysql-2.1011/lib/Bundle/DBD/mysql.pm
    DBD-mysql-2.1011/lib/Mysql.pm
    DBD-mysql-2.1011/Makefile.PL
    DBD-mysql-2.1011/ChangeLog
    DBD-mysql-2.1011/constants.h
    Removing previously used /root/.cpan/build/DBD-mysql-2.1011

    CPAN.pm: Going to build J/JW/JWIED/DBD-mysql-2.1011.tar.gz

    I will use the following settings for compiling and testing:

    cflags (mysql_config) = -I'/usr/include/mysql'
    libs (mysql_config)
    = -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm
    nocatchstderr (default ) = 0
    testdb (default ) = test
    testhost (default ) =
    testpassword (default ) =
    testuser (default ) =

    To change these settings, see 'perl Makefile.PL --help' and
    'perldoc INSTALL'.

    Checking if your kit is complete...
    Looks good
    Using DBI 1.21 installed in
    /usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI
    Writing Makefile for DBD::mysql
    cp lib/DBD/mysql.pod blib/lib/DBD/mysql.pod
    cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
    cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
    cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
    cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
    cp lib/Mysql.pm blib/lib/Mysql.pm
    cc -c -I/usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI -I'/usr/include/m
    ysql' -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_
    OFFSET_BITS=64 -O2 -DVERSION=\&2.1011\& -DXS_VERSION=\&2.1011\& -fpic -I/u
    sr/lib/perl5/5.6.1/i686-linux/CORE dbdimp.c
    In file included from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:426,
    from
    /usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI/DBIXS.h:19,
    from dbdimp.h:30,
    from dbdimp.c:29:
    /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
     
  5. Stormtrooper

    Stormtrooper Active Member

    Joined:
    Dec 18, 2001
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    type this from the command line:

    rpm -q glibc-devel

    That will tell you what versin of the glibc headers you should have installed. Then, find a site with the RPM that you need (it will be something like 'glibc-devel-2.2.4-19.3.rpm' and give 'er one of these from the command line:

    rpm -Uhv [http://path.to.RPM] --force

    that will reinstall your header files and you will be able to install and compile your perl modules
     
  6. Djelibeybi

    Djelibeybi Well-Known Member

    Joined:
    Mar 19, 2002
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    Thanks Stormtrooper.

    It worked like a charm! Everything is up and running, DBI loaded just fine.

    Also, I found the memory leak .. a stray -W parameter in some Perl scripts (not in CPanel! In another website!)
     
  7. totalufo

    totalufo Well-Known Member

    Joined:
    Jan 17, 2002
    Messages:
    160
    Likes Received:
    0
    Trophy Points:
    16
    did not work for me

    CPAN: Storable loaded ok
    Going to read /root/.cpan/Metadata
    Database was generated on Thu, 18 Apr 2002 13:39:38 GMT
    File::Spec is up to date.
    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 XML::Parser
    Running make for C/CO/COOPERCL/XML-Parser-2.31.tar.gz
    CPAN: MD5 loaded ok
    CPAN: Compress::Zlib loaded ok
    Checksum for /root/.cpan/sources/authors/id/C/CO/COOPERCL/XML-Parser-2.31.tar.gz ok
    Scanning cache /root/.cpan/build for sizes
    XML-Parser-2.31/
    XML-Parser-2.31/Parser/
    XML-Parser-2.31/Parser/Encodings/
    XML-Parser-2.31/Parser/Encodings/x-sjis-cp932.enc
    XML-Parser-2.31/Parser/Encodings/iso-8859-7.enc
    XML-Parser-2.31/Parser/Encodings/iso-8859-9.enc
    XML-Parser-2.31/Parser/Encodings/x-euc-jp-unicode.enc
    XML-Parser-2.31/Parser/Encodings/big5.enc
    XML-Parser-2.31/Parser/Encodings/x-sjis-jdk117.enc
    XML-Parser-2.31/Parser/Encodings/x-sjis-unicode.enc
    XML-Parser-2.31/Parser/Encodings/iso-8859-5.enc
    XML-Parser-2.31/Parser/Encodings/README
    XML-Parser-2.31/Parser/Encodings/euc-kr.enc
    XML-Parser-2.31/Parser/Encodings/windows-1250.enc
    XML-Parser-2.31/Parser/Encodings/iso-8859-3.enc
    XML-Parser-2.31/Parser/Encodings/Japanese_Encodings.msg
    XML-Parser-2.31/Parser/Encodings/iso-8859-4.enc
    XML-Parser-2.31/Parser/Encodings/iso-8859-8.enc
    XML-Parser-2.31/Parser/Encodings/x-euc-jp-jisx0221.enc
    XML-Parser-2.31/Parser/Encodings/iso-8859-2.enc
    XML-Parser-2.31/Parser/Encodings/x-sjis-jisx0221.enc
    XML-Parser-2.31/Parser/LWPExternEnt.pl
    XML-Parser-2.31/samples/
    XML-Parser-2.31/samples/canonical
    XML-Parser-2.31/samples/xmlcomments
    XML-Parser-2.31/samples/ctest.dtd
    XML-Parser-2.31/samples/REC-xml-19980210.xml
    XML-Parser-2.31/samples/xmlfilter
    XML-Parser-2.31/samples/canontst.xml
    XML-Parser-2.31/samples/xmlstats
    XML-Parser-2.31/t/
    XML-Parser-2.31/t/defaulted.t
    XML-Parser-2.31/t/cdata.t
    XML-Parser-2.31/t/decl.t
    XML-Parser-2.31/t/astress.t
    XML-Parser-2.31/t/skip.t
    XML-Parser-2.31/t/stream.t
    XML-Parser-2.31/t/parament.t
    XML-Parser-2.31/t/finish.t
    XML-Parser-2.31/t/partial.t
    XML-Parser-2.31/t/ext2.ent
    XML-Parser-2.31/t/encoding.t
    XML-Parser-2.31/t/external_ent.t
    XML-Parser-2.31/t/ext.ent
    XML-Parser-2.31/t/file.t
    XML-Parser-2.31/t/foo.dtd
    XML-Parser-2.31/t/namespaces.t
    XML-Parser-2.31/Changes
    XML-Parser-2.31/Expat/
    XML-Parser-2.31/Expat/Expat.xs
    XML-Parser-2.31/Expat/Makefile.PL
    XML-Parser-2.31/Expat/encoding.h
    XML-Parser-2.31/Expat/Expat.pm
    XML-Parser-2.31/Expat/typemap
    XML-Parser-2.31/MANIFEST
    XML-Parser-2.31/Parser.pm
    XML-Parser-2.31/Makefile.PL
    XML-Parser-2.31/README
    Removing previously used /root/.cpan/build/XML-Parser-2.31

    CPAN.pm: Going to build C/CO/COOPERCL/XML-Parser-2.31.tar.gz

    Checking if your kit is complete...
    Looks good
    Writing Makefile for XML::Parser::Expat
    Writing Makefile for XML::Parser
    cp Parser/Encodings/README blib/lib/XML/Parser/Encodings/README
    cp Parser/Encodings/x-sjis-cp932.enc blib/lib/XML/Parser/Encodings/x-sjis-cp932.enc
    cp Parser/Encodings/iso-8859-7.enc blib/lib/XML/Parser/Encodings/iso-8859-7.enc
    cp Parser/Encodings/big5.enc blib/lib/XML/Parser/Encodings/big5.enc
    cp Parser/Encodings/windows-1250.enc blib/lib/XML/Parser/Encodings/windows-1250.enc
    cp Parser/Encodings/iso-8859-8.enc blib/lib/XML/Parser/Encodings/iso-8859-8.enc
    cp Parser/Encodings/iso-8859-2.enc blib/lib/XML/Parser/Encodings/iso-8859-2.enc
    cp Parser/Encodings/x-euc-jp-jisx0221.enc blib/lib/XML/Parser/Encodings/x-euc-jp-jisx0221.enc
    cp Parser/Encodings/iso-8859-9.enc blib/lib/XML/Parser/Encodings/iso-8859-9.enc
    cp Parser/Encodings/x-sjis-unicode.enc blib/lib/XML/Parser/Encodings/x-sjis-unicode.enc
    cp Parser/Encodings/iso-8859-3.enc blib/lib/XML/Parser/Encodings/iso-8859-3.enc
    cp Parser/Encodings/x-sjis-jdk117.enc blib/lib/XML/Parser/Encodings/x-sjis-jdk117.enc
    cp Parser/Encodings/euc-kr.enc blib/lib/XML/Parser/Encodings/euc-kr.enc
    cp Parser/Encodings/iso-8859-4.enc blib/lib/XML/Parser/Encodings/iso-8859-4.enc
    cp Parser/Encodings/Japanese_Encodings.msg blib/lib/XML/Parser/Encodings/Japanese_Encodings.msg
    cp Parser/Encodings/x-sjis-jisx0221.enc blib/lib/XML/Parser/Encodings/x-sjis-jisx0221.enc
    cp Parser.pm blib/lib/XML/Parser.pm
    cp Parser/Encodings/iso-8859-5.enc blib/lib/XML/Parser/Encodings/iso-8859-5.enc
    cp Parser/Encodings/x-euc-jp-unicode.enc blib/lib/XML/Parser/Encodings/x-euc-jp-unicode.enc
    cp Parser/LWPExternEnt.pl blib/lib/XML/Parser/LWPExternEnt.pl
    make[1]: Entering directory `/root/.cpan/build/XML-Parser-2.31/Expat'
    cp Expat.pm ../blib/lib/XML/Parser/Expat.pm
    /usr/bin/perl -I/usr/lib/perl5/5.6.1/i686-linux -I/usr/lib/perl5/5.6.1 /usr/lib/perl5/5.6.1/ExtUtils/xsubpp -noprototypes -typemap /usr/lib/perl5/5.6.1/ExtUtils/typemap -typemap typemap Expat.xs & Expat.xsc && mv Expat.xsc Expat.c
    cc -c -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\&2.31\& -DXS_VERSION=\&2.31\& -fpic -I/usr/lib/perl5/5.6.1/i686-linux/CORE Expat.c
    In file included from /usr/include/stdlib.h:390,
    from /usr/include/expat.h:9,
    from Expat.xs:12:
    /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:51: parse error before `ino_t'
    /usr/include/sys/types.h:51: 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:89: parse error before `off_t'
    /usr/include/sys/types.h:89: 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/include/stdlib.h:390,
    from /usr/include/expat.h:9,
    from Expat.xs:12:
    /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/include/stdlib.h:390,
    from /usr/include/expat.h:9,
    from Expat.xs:12:
    /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/include/stdlib.h:390,
    from /usr/include/expat.h:9,
    from Expat.xs:12:
    /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/include/sys/select.h:44,
    from /usr/include/sys/types.h:215,
    from /usr/include/stdlib.h:390,
    from /usr/include/expat.h:9,
    from Expat.xs:12:
    /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/include/stdlib.h:390,
    from /usr/include/expat.h:9,
    from Expat.xs:12:
    /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/include/stdlib.h:390,
    from /usr/include/expat.h:9,
    from Expat.xs:12:
    /usr/include/sys/select.h:49: parse error before `suseconds_t'
    /usr/include/sys/select.h:49: warning: data definition has no type or storage class
    /usr/include/sys/select.h:71: `__FD_SETSIZE' undeclared here (not in a function)
    /usr/include/sys/select.h:71: size of array `__fds_bits' has non-integer type
    In file included from /usr/include/stdlib.h:390,
    from /usr/include/expat.h:9,
    from Expat.xs:12:
    /usr/include/sys/types.h:243: parse error before `blkcnt_t'
    /usr/include/sys/types.h:243: warning: data definition has no type or storage class
    /usr/include/sys/types.h:247: parse error before `fsblkcnt_t'
    /usr/include/sys/types.h:247: warning: data definition has no type or storage class
    /usr/include/sys/types.h:251: parse error before `fsfilcnt_t'
    /usr/include/sys/types.h:251: warning: data definition has no type or storage class
    In file included from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:457,
    from Expat.xs:15:
    /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/i686-linux/CORE/perl.h:498,
    from Expat.xs:15:
    /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:293: parse error before `lseek'
    /usr/include/unistd.h:293: parse error before `__off64_t'
    /usr/include/unistd.h:293: 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: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/i686-linux/CORE/perl.h:498,
    from Expat.xs:15:
    /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: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: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: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/i686-linux/CORE/perl.h:498,
    from Expat.xs:15:
    /usr/include/unistd.h:828: parse error before `__off64_t'
    /usr/include/unistd.h:844: parse error before `__off64_t'
    /usr/include/unistd.h:872: parse error before `__delta'
    /usr/include/unistd.h:910: parse error before `__off64_t'
    In file included from /usr/include/string.h:360,
    from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:519,
    from Expat.xs:15:
    /usr/include/bits/string2.h:405: parse error before `__uint16_t'
    /usr/include/bits/string2.h:409: parse error before `__uint16_t'
    /usr/include/bits/string2.h: In function `__strcpy_small':
    /usr/include/bits/string2.h:414: parse error before `__uint32_t'
    /usr/include/bits/string2.h:414: warning: no semicolon at end of struct or union
    /usr/include/bits/string2.h:415: `__uint16_t' undeclared (first use in this function)
    /usr/include/bits/string2.h:415: (Each undeclared identifier is reported only once
    /usr/include/bits/string2.h:415: for each function it appears in.)
    /usr/include/bits/string2.h: At top level:
    /usr/include/bits/string2.h:417: `__dest' undeclared here (not in a function)
    /usr/include/bits/string2.h:417: warning: data definition has no type or storage class
    /usr/include/bits/string2.h:418: parse error before `switch'
    /usr/include/bits/string2.h:428: conflicting types for `__u'
    /usr/include/bits/string2.h:417: previous declaration of `__u'
    /usr/include/bits/string2.h:428: warning: initialization makes integer from pointer without a cast
    /usr/include/bits/string2.h:428: initializer element is not constant
    /usr/include/bits/string2.h:428: warning: data definition has no type or storage class
    /usr/include/bits/string2.h:429: parse error before `-&'
    /usr/include/bits/string2.h:436: redefinition of `__u'
    /usr/include/bits/string2.h:428: `__u' previously defined here
    /usr/include/bits/string2.h:436: warning: initialization makes integer from pointer without a cast
    /usr/include/bits/string2.h:436: initializer element is not constant
    /usr/include/bits/string2.h:436: warning: data definition has no type or storage class
    /usr/include/bits/string2.h:437: parse error before `-&'
    /usr/include/bits/string2.h:441: redefinition of `__u'
    /usr/include/bits/string2.h:436: `__u' previously defined here
    /usr/include/bits/string2.h:441: warning: initialization makes integer from pointer without a cast
    /usr/include/bits/string2.h:441: initializer element is not constant
    /usr/include/bits/string2.h:441: warning: data definition has no type or storage class
    /usr/include/bits/string2.h:442: parse error before `-&'
    /usr/include/bits/string2.h:446: redefinition of `__u'
    /usr/include/bits/string2.h:441: `__u' previously defined here
    /usr/include/bits/string2.h:446: warning: initialization makes integer from pointer without a cast
    /usr/include/bits/string2.h:446: initializer element is not constant
    /usr/include/bits/string2.h:446: warning: data definition has no type or storage class
    /usr/include/bits/string2.h:447: parse error before `-&'
    /usr/include/bits/string2.h:448: redefinition of `__u'
    /usr/include/bits/string2.h:446: `__u' previously defined here
    /usr/include/bits/string2.h:448: warning: initialization makes integer from pointer without a cast
    /usr/include/bits/string2.h:448: initializer element is not constant
    /usr/include/bits/string2.h:448: warning: data definition has no type or storage class
    /usr/include/bits/string2.h:449: parse error before `-&'
    /usr/include/bits/string2.h:453: redefinition of `__u'
    /usr/include/bits/string2.h:448: `__u' previously defined here
    /usr/include/bits/string2.h:453: warning: initialization makes integer from pointer without a cast
    /usr/include/bits/string2.h:453: initializer element is not constant
    /usr/include/bits/string2.h:453: warning: data definition has no type or storage class
    /usr/include/bits/string2.h:454: parse error before `-&'
    In file included from /usr/include/netinet/in.h:212,
    from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:649,
    from Expat.xs:15:
    /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: In function `__cmsg_nxthdr':
    /usr/include/bits/socket.h:272: dereferencing pointer to incomplete type
    /usr/include/bits/socket.h:273: dereferencing pointer to incomplete type
    /usr/include/bits/socket.h:275: dereferencing pointer to incomplete type
    /usr/include/bits/socket.h:275: dereferencing pointer to incomplete type
    /usr/include/bits/socket.h: At top level:
    /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/i686-linux/CORE/perl.h:653,
    from Expat.xs:15:
    /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/i686-linux/CORE/perl.h:663,
    from Expat.xs:15:
    /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:43: parse error before `__st_ino'
    /usr/include/bits/stat.h:43: 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:54: parse error before `st_size'
    /usr/include/bits/stat.h:54: 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:61: parse error before `st_blocks'
    /usr/include/bits/stat.h:61: 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:73: parse error before `st_ino'
    /usr/include/bits/stat.h:73: warning: data definition has no type or storage class
    In file included from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:663,
    from Expat.xs:15:
    /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: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: `__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/i686-linux/CORE/perl.h:685,
    from Expat.xs:15:
    /usr/include/time.h: At top level:
    /usr/include/time.h:59: parse error before `clock_t'
    /usr/include/time.h:59: warning: data definition has no type or storage class
    /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: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/i686-linux/CORE/perl.h:692,
    from Expat.xs:15:
    /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/i686-linux/CORE/perl.h:699,
    from Expat.xs:15:
    /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/i686-linux/CORE/perl.h:713,
    from Expat.xs:15:
    /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/i686-linux/CORE/perl.h:713,
    from Expat.xs:15:
    /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/i686-linux/CORE/perl.h:740,
    from Expat.xs:15:
    /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/i686-linux/CORE/perl.h:830,
    from Expat.xs:15:
    /usr/include/bits/dirent.h:29: parse error before `__ino64_t'
    /usr/include/bits/dirent.h:29: warning: no semicolon at end of struct or union
    /usr/include/bits/dirent.h:30: 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.6.1/i686-linux/CORE/perl.h:830,
    from Expat.xs:15:
    /usr/include/dirent.h:305: parse error before `getdirentries'
    /usr/include/dirent.h:305: parse error before `__off64_t'
    /usr/include/dirent.h:305: warning: data definition has no type or storage class
    In file included from /usr/lib/perl5/5.6.1/i686-linux/CORE/unixish.h:93,
    from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:1665,
    from Expat.xs:15:
    /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/i686-linux/CORE/unixish.h:93,
    from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:1665,
    from Expat.xs:15:
    /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/i686-linux/CORE/unixish.h:93,
    from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:1665,
    from Expat.xs:15:
    /usr/include/bits/sigaction.h:34: parse error before `siginfo_t'
    In file included from /usr/lib/perl5/5.6.1/i686-linux/CORE/unixish.h:93,
    from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:1665,
    from Expat.xs:15:
    /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/i686-linux/CORE/unixish.h:93,
    from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:1665,
    from Expat.xs:15:
    /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/i686-linux/CORE/perlsdio.h:5,
    from /usr/lib/perl5/5.6.1/i686-linux/CORE/iperlsys.h:300,
    from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:1947,
    from Expat.xs:15:
    /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/i686-linux/CORE/perlsdio.h:5,
    from /usr/lib/perl5/5.6.1/i686-linux/CORE/iperlsys.h:300,
    from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:1947,
    from Expat.xs:15:
    /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:39: previous declaration of `__pad1'
    /usr/include/libio.h:312: conflicting types for `__pad2'
    /usr/include/bits/stat.h:50: 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/i686-linux/CORE/perlsdio.h:5,
    from /usr/lib/perl5/5.6.1/i686-linux/CORE/iperlsys.h:300,
    from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:1947,
    from Expat.xs:15:
    /usr/include/stdio.h:82: parse error before `fpos_t'
    /usr/include/stdio.h:82: warning: data definition has no type or storage class
    In file included from /usr/lib/perl5/5.6.1/i686-linux/CORE/perlsdio.h:5,
    from /usr/lib/perl5/5.6.1/i686-linux/CORE/iperlsys.h:300,
    from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:1947,
    from Expat.xs:15:
    /usr/include/stdio.h:504: parse error before `__off64_t'
    /usr/include/stdio.h:507: parse error before `ftello'
    /usr/include/stdio.h:507: warning: data definition has no type or storage class
    /usr/include/stdio.h:509: parse error before `fpos_t'
    /usr/include/stdio.h:511: parse error before `*'
    In file included from /usr/include/stdio.h:632,
    from /usr/lib/perl5/5.6.1/i686-linux/CORE/perlsdio.h:5,
    from /usr/lib/perl5/5.6.1/i686-linux/CORE/iperlsys.h:300,
    from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:1947,
    from Expat.xs:15:
    /usr/include/bits/stdio.h: In function `getc_unlocked':
    /usr/include/bits/stdio.h:52: dereferencing pointer to incomplete type
    /usr/include/bits/stdio.h:52: dereferencing pointer to incomplete type
    /usr/include/bits/stdio.h:52: dereferencing pointer to incomplete type
    /usr/include/bits/stdio.h: In function `getchar_unlocked':
    /usr/include/bits/stdio.h:59: dereferencing pointer to incomplete type
    /usr/include/bits/stdio.h:59: dereferencing pointer to incomplete type
    /usr/include/bits/stdio.h:59: dereferencing pointer to incomplete type
    /usr/include/bits/stdio.h: In function `fputc_unlocked':
    /usr/include/bits/stdio.h:77: dereferencing pointer to incomplete type
    /usr/include/bits/stdio.h:77: dereferencing pointer to incomplete type
    /usr/include/bits/stdio.h:77: dereferencing pointer to incomplete type
    /usr/include/bits/stdio.h: In function `putc_unlocked':
    /usr/include/bits/stdio.h:87: dereferencing pointer to incomplete type
    /usr/include/bits/stdio.h:87: dereferencing pointer to incomplete type
    /usr/include/bits/stdio.h:87: dereferencing pointer to incomplete type
    /usr/include/bits/stdio.h: In function `putchar_unlocked':
    /usr/include/bits/stdio.h:94: dereferencing pointer to incomplete type
    /usr/include/bits/stdio.h:94: dereferencing pointer to incomplete type
    /usr/include/bits/stdio.h:94: dereferencing pointer to incomplete type
    /usr/include/bits/stdio.h: In function `feof_unlocked':
    /usr/include/bits/stdio.h:114: dereferencing pointer to incomplete type
    /usr/include/bits/stdio.h: In function `ferror_unlocked':
    /usr/include/bits/stdio.h:121: dereferencing pointer to incomplete type
    In file included from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:1958,
    from Expat.xs:15:
    /usr/lib/perl5/5.6.1/i686-linux/CORE/av.h: At top level:
    /usr/lib/perl5/5.6.1/i686-linux/CORE/av.h:12: parse error before `ssize_t'
    /usr/lib/perl5/5.6.1/i686-linux/CORE/av.h:12: warning: no semicolon at end of struct or union
    /usr/lib/perl5/5.6.1/i686-linux/CORE/av.h:13: warning: data definition has no type or storage class
    /usr/lib/perl5/5.6.1/i686-linux/CORE/av.h:22: parse error before `}'
    In file included from Expat.xs:15:
    /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:2099: parse error before `getuid'
    /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:2099: warning: data definition has no type or storage class
    /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:2100: parse error before `geteuid'
    /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:2100: warning: data definition has no type or storage class
    /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:2101: parse error before `getgid'
    /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:2101: warning: data definition has no type or storage class
    /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:2102: parse error before `getegid'
    /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:2102: warning: data definition has no type or storage class
    In file included from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:2821,
    from Expat.xs:15:
    /usr/lib/perl5/5.6.1/i686-linux/CORE/proto.h:94: parse error before `mode'
    /usr/lib/perl5/5.6.1/i686-linux/CORE/proto.h:247: parse error before `off_t'
    /usr/lib/perl5/5.6.1/i686-linux/CORE/proto.h:249: parse error before `Perl_do_sysseek'
    /usr/lib/perl5/5.6.1/i686-linux/CORE/proto.h:249: parse error before `off_t'
    /usr/lib/perl5/5.6.1/i686-linux/CORE/proto.h:249: warning: data definition has no type or storage class
    /usr/lib/perl5/5.6.1/i686-linux/CORE/proto.h:250: parse error before `Perl_do_tell'
    /usr/lib/perl5/5.6.1/i686-linux/CORE/proto.h:250: warning: data definition has no type or storage class
    /usr/lib/perl5/5.6.1/i686-linux/CORE/proto.h:331: parse error before `testgid'
    /usr/lib/perl5/5.6.1/i686-linux/CORE/proto.h:610: parse error before `pid'
    /usr/lib/perl5/5.6.1/i686-linux/CORE/proto.h:826: parse error before `pid'
    In file included from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:2850,
    from Expat.xs:15:
    /usr/lib/perl5/5.6.1/i686-linux/CORE/intrpvar.h:58: parse error before `PL_basetime'
    /usr/lib/perl5/5.6.1/i686-linux/CORE/intrpvar.h:58: warning: data definition has no type or storage class
    /usr/lib/perl5/5.6.1/i686-linux/CORE/intrpvar.h:230: parse error before `PL_uid'
    /usr/lib/perl5/5.6.1/i686-linux/CORE/intrpvar.h:230: warning: data definition has no type or storage class
    /usr/lib/perl5/5.6.1/i686-linux/CORE/intrpvar.h:231: parse error before `PL_euid'
    /usr/lib/perl5/5.6.1/i686-linux/CORE/intrpvar.h:231: warning: data definition has no type or storage class
    /usr/lib/perl5/5.6.1/i686-linux/CORE/intrpvar.h:232: parse error before `PL_gid'
    /usr/lib/perl5/5.6.1/i686-linux/CORE/intrpvar.h:232: warning: data definition has no type or storage class
    /usr/lib/perl5/5.6.1/i686-linux/CORE/intrpvar.h:233: parse error before `PL_egid'
    /usr/lib/perl5/5.6.1/i686-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/i686-linux/CORE/perl.h:3340,
    from Expat.xs:15:
    /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/i686-linux/CORE/perl.h:3340,
    from Expat.xs:15:
    /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/i686-linux/CORE/perl.h:3341,
    from Expat.xs:15:
    /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/i686-linux/CORE/perl.h:3341,
    from Expat.xs:15:
    /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/i686-linux/CORE/perl.h:3376,
    from Expat.xs:15:
    /usr/include/bits/fcntl.h:144: parse error before `__off64_t'
    /usr/include/bits/fcntl.h:144: warning: no semicolon at end of struct or union
    /usr/include/bits/fcntl.h:145: 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
    In file included from /usr/include/sys/file.h:25,
    from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:3376,
    from Expat.xs:15:
    /usr/include/fcntl.h:86: parse error before `__mode_t'
    Expat.xs: In function `XS_XML__Parser__Expat_ParserCreate':
    Expat.xs:1284: `__uint8_t' undeclared (first use in this function)
    Expat.xs:1284: parse error before `)'
    Expat.xs:1284: parse error before `0'
    Expat.xs:1284: parse error before `__c'
    Expat.xs:1284: `__c' undeclared (first use in this function)
    Expat.xs:1286: parse error before `)'
    Expat.xs:1286: parse error before `0'
    Expat.xs:1286: parse error before `__c'
    make[1]: *** [Expat.o] Error 1
    make[1]: Leaving directory `/root/.cpan/build/XML-Parser-2.31/Expat'
    make: *** [subdirs] Error 2
    /usr/bin/make -- NOT OK
    Running make install
    make had returned bad status, install seems impossible
     
  8. bdraco

    bdraco Guest

    Run /scripts/fixheaders first
     
Loading...

Share This Page