Portál AbcLinuxu, 10. května 2025 11:52

Dotaz: Problem s kompilaci php na fedora core 2

13.5.2007 21:05 Michal
Problem s kompilaci php na fedora core 2
Přečteno: 205×
Odpovědět | Admin
Ahoj, chtel jsem zkompilovat novou verzi php na fedora core, confgiure probehne v poradku, ale pri make se vypisuji hrozny chyby:
/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/stddef.h:325: error: storage class specified for parameter `wchar_t'
/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/stddef.h:354: error: storage class specified for parameter `wint_t'
In file included from /usr/include/_G_config.h:24,
                 from /usr/include/libio.h:32,
                 from /usr/include/stdio.h:72,
                 from /root/install/php-5.2.2/Zend/zend.h:37,
                 from /root/install/php-5.2.2/main/php.h:34,
                 from /root/install/php-5.2.2/ext/libxml/libxml.c:28:
/usr/include/wchar.h:81: error: syntax error before "wint_t"
/usr/include/wchar.h:83: error: syntax error before '}' token
In file included from /usr/include/libio.h:32,
                 from /usr/include/stdio.h:72,
                 from /root/install/php-5.2.2/Zend/zend.h:37,
                 from /root/install/php-5.2.2/main/php.h:34,
                 from /root/install/php-5.2.2/ext/libxml/libxml.c:28:
/usr/include/_G_config.h:29: error: syntax error before "__mbstate_t"
/usr/include/_G_config.h:34: error: syntax error before "__mbstate_t"
In file included from /usr/include/_G_config.h:44,
                 from /usr/include/libio.h:32,
                 from /usr/include/stdio.h:72,
                 from /root/install/php-5.2.2/Zend/zend.h:37,
                 from /root/install/php-5.2.2/main/php.h:34,
                 from /root/install/php-5.2.2/ext/libxml/libxml.c:28:
/usr/include/gconv.h:72: error: storage class specified for parameter `__gconv_fct'
/usr/include/gconv.h:75: error: syntax error before '*' token
/usr/include/gconv.h:75: error: storage class specified for parameter `wint_t'
/usr/include/gconv.h:75: error: `wint_t' declared as function returning a function
/usr/include/gconv.h:75: error: conflicting types for `wint_t'
/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/stddef.h:354: error: previous declaration of `wint_t'
/usr/include/gconv.h:78: error: storage class specified for parameter `__gconv_init_fct'
/usr/include/gconv.h:79: error: storage class specified for parameter `__gconv_end_fct'
/usr/include/gconv.h:88: error: storage class specified for parameter `__gconv_trans_fct'
/usr/include/gconv.h:93: error: storage class specified for parameter `__gconv_trans_context_fct'
/usr/include/gconv.h:97: error: storage class specified for parameter `__gconv_trans_query_fct'
/usr/include/gconv.h:100: error: storage class specified for parameter `__gconv_trans_init_fct'
/usr/include/gconv.h:101: error: storage class specified for parameter `__gconv_trans_end_fct'
/usr/include/gconv.h:106: error: syntax error before "__gconv_trans_fct"
/usr/include/gconv.h:111: error: syntax error before '}' token
/usr/include/gconv.h:125: error: syntax error before "__gconv_fct"
/usr/include/gconv.h:140: error: redeclaration of `__data'
/usr/include/gconv.h:109: error: `__data' previously declared here
/usr/include/gconv.h:141: error: syntax error before '}' token
/usr/include/gconv.h:162: error: syntax error before "__mbstate_t"
/usr/include/gconv.h:168: error: syntax error before '}' token
/usr/include/gconv.h:176: error: field `__data' has incomplete type
/usr/include/gconv.h:176: error: syntax error before "__flexarr"
In file included from /usr/include/libio.h:32,
                 from /usr/include/stdio.h:72,
                 from /root/install/php-5.2.2/Zend/zend.h:37,
                 from /root/install/php-5.2.2/main/php.h:34,
                 from /root/install/php-5.2.2/ext/libxml/libxml.c:28:
/usr/include/_G_config.h:47: error: field `__cd' has incomplete type
/usr/include/_G_config.h:50: error: field `__cd' has incomplete type
/usr/include/_G_config.h:51: error: field `__data' has incomplete type
/usr/include/_G_config.h:53: error: storage class specified for parameter `_G_iconv_t'
/usr/include/_G_config.h:55: error: storage class specified for parameter `_G_int16_t'
/usr/include/_G_config.h:56: error: storage class specified for parameter `_G_int32_t'
/usr/include/_G_config.h:57: error: storage class specified for parameter `_G_uint16_t'
/usr/include/_G_config.h:58: error: storage class specified for parameter `_G_uint32_t'
In file included from /usr/include/libio.h:53,
                 from /usr/include/stdio.h:72,
                 from /root/install/php-5.2.2/Zend/zend.h:37,
                 from /root/install/php-5.2.2/main/php.h:34,
                 from /root/install/php-5.2.2/ext/libxml/libxml.c:28:
/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/stdarg.h:43: error: storage class specified for parameter `__gnuc_va_list'
In file included from /usr/include/stdio.h:72,
                 from /root/install/php-5.2.2/Zend/zend.h:37,
                 from /root/install/php-5.2.2/main/php.h:34,
                 from /root/install/php-5.2.2/ext/libxml/libxml.c:28:
/usr/include/libio.h:62:25: sys/cdefs.h: No such file or directory
In file included from /usr/include/stdio.h:72,
                 from /root/install/php-5.2.2/Zend/zend.h:37,
                 from /root/install/php-5.2.2/main/php.h:34,
                 from /root/install/php-5.2.2/ext/libxml/libxml.c:28:
/usr/include/libio.h:173: error: storage class specified for parameter `_IO_lock_t'
/usr/include/libio.h:303: error: syntax error before "_IO_lock_t"
/usr/include/libio.h:325: error: syntax error before '}' token
/usr/include/libio.h:328: error: storage class specified for parameter `_IO_FILE'
/usr/include/libio.h:333: error: storage class specified for parameter `_IO_2_1_stdin_'
/usr/include/libio.h:334: error: storage class specified for parameter `_IO_2_1_stdout_'
/usr/include/libio.h:335: error: storage class specified for parameter `_IO_2_1_stderr_'
/usr/include/libio.h:351: error: storage class specified for parameter `__io_read_fn'
/usr/include/libio.h:360: error: storage class specified for parameter `__io_write_fn'
/usr/include/libio.h:368: error: storage class specified for parameter `__io_seek_fn'
/usr/include/libio.h:371: error: storage class specified for parameter `__io_close_fn'
/usr/include/libio.h:403: error: syntax error before '*' token
/usr/include/libio.h:403: error: storage class specified for parameter `__underflow'
/usr/include/libio.h:404: error: syntax error before '*' token
/usr/include/libio.h:404: error: storage class specified for parameter `__uflow'
/usr/include/libio.h:405: error: syntax error before '*' token
/usr/include/libio.h:405: error: storage class specified for parameter `__overflow'
/usr/include/libio.h:406: error: storage class specified for parameter `wint_t'
/usr/include/libio.h:406: error: conflicting types for `wint_t'
/usr/include/gconv.h:75: error: previous declaration of `wint_t'
/usr/include/libio.h:406: error: syntax error before "__wunderflow"
/usr/include/libio.h:407: error: storage class specified for parameter `wint_t'
/usr/include/libio.h:407: error: redeclaration of `wint_t'
/usr/include/libio.h:406: error: `wint_t' previously declared here
/usr/include/libio.h:407: error: syntax error before "__wuflow"
/usr/include/libio.h:408: error: storage class specified for parameter `wint_t'
/usr/include/libio.h:408: error: redeclaration of `wint_t'
/usr/include/libio.h:407: error: `wint_t' previously declared here
/usr/include/libio.h:408: error: syntax error before "__woverflow"
/usr/include/libio.h:441: error: syntax error before '*' token
/usr/include/libio.h:441: error: storage class specified for parameter `_IO_getc'
/usr/include/libio.h:442: error: syntax error before "_IO_FILE"
/usr/include/libio.h:442: error: storage class specified for parameter `_IO_putc'
/usr/include/libio.h:443: error: syntax error before '*' token
/usr/include/libio.h:443: error: storage class specified for parameter `_IO_feof'
.
.
.
.
.
.
.
Prodaite nekdo? Diky
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Na otázku zatím nikdo bohužel neodpověděl.

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.