I'm attempting to build PHP 5.2.0 on CLFS-Embedded x86. This is the error I get while compiling:
[root /mnt/vj/sources/php-5.2.0]# cat php_error /bin/sh /mnt/vj/sources/php-5.2.0/libtool --silent --preserve-dup-deps --mode=compile i486-pc-linux-uclibc-gcc -Iext/reflection/ -I/mnt/vj/sources/php-5.2.0/ext/reflection/ -DPHP_ATOM_INC -I/mnt/vj/sources/php-5.2.0/include -I/mnt/vj/sources/php-5.2.0/main -I/mnt/vj/sources/php-5.2.0 -I/mnt/vj/sources/php-5.2.0/ext/date/lib -I/mnt/vj/sources/php-5.2.0/TSRM -I/mnt/vj/sources/php-5.2.0/Zend -g -O2 -c /mnt/vj/sources/php-5.2.0/ext/reflection/php_reflection.c -o ext/reflection/php_reflection.lo In file included from /mnt/vj/sources/php-5.2.0/Zend/zend_modules.h:26, from /mnt/vj/sources/php-5.2.0/Zend/zend_API.h:26, from /mnt/vj/sources/php-5.2.0/main/php.h:38, from /mnt/vj/sources/php-5.2.0/ext/reflection/php_reflection.c:29: /mnt/vj/sources/php-5.2.0/Zend/zend_compile.h:265: warning: declaration does not declare anything /mnt/vj/sources/php-5.2.0/ext/reflection/php_reflection.c: In function 'zim_reflection_function_isDisabled': /mnt/vj/sources/php-5.2.0/ext/reflection/php_reflection.c:1461: error: expected identifier before '__attribute__' make: *** [ext/reflection/php_reflection.lo] Error 1 [root /mnt/vj/sources/php-5.2.0]# Obviously, /mnt/vj is $CLFS. My configure command: ./configure --prefix=/usr --sysconfdir=/etc \ --enable-discard-path \ --with-config-file-path=/etc/php --disable-rpath --disable-ipv6 \ --disable-all --with-zlib --enable-ftp \ --enable-posix --without-pear \ --enable-cli --enable-sockets --enable-pcntl \ --with-pcre-regex It built fine on my host env, LFS 6.2. Should I report this to the PHP guys? _______________________________________________ Clfs-support mailing list Clfs-support@lists.cross-lfs.org http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support