On 11/21/05, Sebastian Roth <[EMAIL PROTECTED]> wrote: > Hi, > > after doing some searches on google i finally subscribed to this > mailing list to ask for help. > Although the entire Fink-System looks and works really great, i still > have some problems when compiling php5-apache2-ssl-5.0.4-23. > My system is Mac OS X 10.4.3 on a Powerbook G4. > Here is my compiler output: > <snip> > gcc -DNOT_RUBY -DHAVE_CONFIG_H -Iext/mbstring/ > -I/sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4/ext/mbstring/ > -DPHP_ATOM_INC > -I/sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4/apache-build/include > -I/sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4/apache-build/main > -I/sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4 > -I/sw/include/libxml2 -I/sw/include -I/usr/X11R6/include > -I/usr/X11R6/include/freetype2 -I/sw/share/c-client/include > -I/sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4/ext/mbstring/oniguruma > -I/sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4/ext/mbstring/libmbfl > -I/sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4/ext/mbstring/libmbfl/mbfl > -I/sw/include/mysql -I/sw/include/postgresql > -I/sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4/apache-build/TSRM > -I/sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4/apache-build/Zend > -I/sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4/main > -I/sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4/Zend > -I/sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4/TSRM > -I/sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4/apache-build/ > -I/sw/include -no-cpp-precomp -DBIND_8_COMPAT -I/sw/include/apr-0 > -c > /sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4/ext/mbstring/oniguruma/regerror.c > -o ext/mbstring/oniguruma/regerror.o && echo > > ext/mbstring/oniguruma/regerror.lo > In file included from > /sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4/ext/mbstring/oniguruma/regerror.c:37: > /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/varargs.h:4:2: error: > #error "GCC no longer implements <varargs.h>." > /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/varargs.h:5:2: error: > #error "Revise your code to use <stdarg.h>." > /sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4/ext/mbstring/oniguruma/regerror.c: > In function 'onig_error_code_to_str': > /sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4/ext/mbstring/oniguruma/regerror.c:194: > error: parse error before 'va_dcl' > /sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4/ext/mbstring/oniguruma/regerror.c:212: > error: parse error before 'OnigErrorInfo' > /sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4/ext/mbstring/oniguruma/regerror.c:214: > warning: pointer targets in assignment differ in signedness > /sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4/ext/mbstring/oniguruma/regerror.c:245: > warning: pointer targets in assignment differ in signedness > /sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4/ext/mbstring/oniguruma/regerror.c: > In function 'onig_snprintf_with_pattern': > /sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4/ext/mbstring/oniguruma/regerror.c:269: > error: parse error before 'va_dcl' > /sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4/ext/mbstring/oniguruma/regerror.c:285: > warning: pointer targets in passing argument 2 of > 'onigenc_str_bytelen_null' differ in signedness > /sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4/ext/mbstring/oniguruma/regerror.c:285: > warning: pointer targets in assignment differ in signedness > /sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4/ext/mbstring/oniguruma/regerror.c:287: > warning: pointer targets in assignment differ in signedness > /sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4/ext/mbstring/oniguruma/regerror.c:308: > warning: pointer targets in passing argument 2 of > 'onigenc_str_bytelen_null' differ in signedness > /sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4/ext/mbstring/oniguruma/regerror.c:309: > warning: pointer targets in assignment differ in signedness > /sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4/ext/mbstring/oniguruma/regerror.c:317: > warning: pointer targets in passing argument 2 of > 'onigenc_str_bytelen_null' differ in signedness > /sw/src/fink.build/php5-apache2-ssl-5.0.4-23/php-5.0.4/ext/mbstring/oniguruma/regerror.c:318: > warning: pointer targets in assignment differ in signedness > make: *** [ext/mbstring/oniguruma/regerror.lo] Error 1 > ### execution of cd failed, exit code 2 > Removing build lock... > /sw/bin/dpkg-lockwait -r fink-buildlock-php5-apache2-ssl-5.0.4-23 > (Reading database ... 40984 files and directories currently installed.) > Removing fink-buildlock-php5-apache2-ssl-5.0.4-23 ... > Failed: phase compiling: php5-apache2-ssl-5.0.4-23 failed > </snap> > > Maybe this is an GCC 4.0 issue? > > Thanks for your help, > Sebastian > > > More specifically, it's a gcc 4.0.1 issue (assuming you have XCode 2.2 installed). I was able to build this package either by using gcc 3.3 or by using gcc 4.0.0 from XCode 2.1.
Apparently this is a "nested function" in disguise. -- Alexander K. Hansen Fink Documenter [Day Job] Levitated Dipole Experiment http://psfcwww2.psfc.mit.edu/ldx/ ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click _______________________________________________ Fink-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-devel
