PHP 5.2.1 Make Errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I've tried all I no to do and searched the website archives but
i'm trying to build php5.2.1 and it configures fine but when I run make
i get errors likethe one below. the first one was on posix and i disabled posix
in configure. now it's the one below.

why isthis happening?

thanks

/bin/sh /php-5.2.1/php-5.2.1/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/standard/ -I/php-5.2.1/php-5.2.1/ext/standard/ -DPHP_ATOM_INC -I/php-5.2.1/php-5.2.1/include -I/php-5.2.1/php-5.2.1/main -I/php-5.2.1/php-5.2.1 -I/usr/local/include/libxml2 -I/php-5.2.1/php-5.2.1/ext/date/lib -I/php-5.2.1/php-5.2.1/TSRM -I/php-5.2.1/php-5.2.1/Zend -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include -g -O2 -c /php-5.2.1/php-5.2.1/ext/standard/exec.c -o ext/standard/exec.lo
In file included from /usr/include/sys/wait.h:24,
                from /php-5.2.1/php-5.2.1/ext/standard/exec.c:33:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
In file included from /usr/include/sys/procset.h:24,
                from /usr/include/sys/wait.h:25,
                from /php-5.2.1/php-5.2.1/ext/standard/exec.c:33:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from /php-5.2.1/php-5.2.1/ext/standard/exec.c:33:
/usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
In file included from /php-5.2.1/php-5.2.1/ext/standard/exec.c:36:
/usr/include/signal.h:111: error: parse error before "siginfo_t"
/usr/include/signal.h:113: error: parse error before "siginfo_t"
make: *** [ext/standard/exec.lo] Error 1

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux