mac os x build errors (from 3/28/2002 0900 snapshot...)
| From: | Gabriel Ricard | Date: | Thu, 28 Mar 2002 16:02:44 +0000 |
| Subject: | mac os x build errors (from 3/28/2002 0900 snapshot...) | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-4805@lists.php.net to get a copy of this message | ||
Derick,
You may be more interested in the build errors from the more recent builds. Ever since a few days ago the build errors have decreased exponentially in size. I only get multiple definition errors for a few symbols now:
libtool: parse error: condition expected: xyes = [3147]
ld: multiple definitions of symbol _php_stream_ftp_wrapper
ext/standard/basic_functions.lo definition of _php_stream_ftp_wrapper in section (__DATA,__common)
ext/standard/ftp_fopen_wrapper.lo definition of _php_stream_ftp_wrapper in section (__DATA,__data)
ld: multiple definitions of symbol _php_stream_http_wrapper
ext/standard/basic_functions.lo definition of _php_stream_http_wrapper in section (__DATA,__common)
ext/standard/ftp_fopen_wrapper.lo definition of _php_stream_http_wrapper in section (__DATA,__common)
ld: multiple definitions of symbol _php_stream_php_wrapper
ext/standard/basic_functions.lo definition of _php_stream_php_wrapper in section (__DATA,__common)
ext/standard/ftp_fopen_wrapper.lo definition of _php_stream_php_wrapper in section (__DATA,__common)
ext/standard/http_fopen_wrapper.lo definition of _php_stream_ftp_wrapper in section (__DATA,__common)
ext/standard/http_fopen_wrapper.lo definition of _php_stream_http_wrapper in section (__DATA,__data)
ext/standard/http_fopen_wrapper.lo definition of _php_stream_php_wrapper in section (__DATA,__common)
ext/standard/php_fopen_wrapper.lo definition of _php_stream_ftp_wrapper in section (__DATA,__common)
ext/standard/php_fopen_wrapper.lo definition of _php_stream_http_wrapper in section (__DATA,__common)
ext/standard/php_fopen_wrapper.lo definition of _php_stream_php_wrapper in section (__DATA,__data)
ld: multiple definitions of symbol _yytext
Zend/zend_language_scanner.lo definition of _yytext in section (__DATA,__common)
Zend/zend_ini_scanner.lo definition of _yytext in section (__DATA,__common)
/usr/bin/libtool: internal link edit command failed
make: *** [libphp4.la] Error 1
That libtool parse error seems to be due to a few quotation marks not being escaped. The archive commands declaration on line 184 should probably look like this:
archive_cmds="\$nonopt \$(test \\\"x\$module\\\" = xyes && echo -bundle || echo -dynamiclib) \$allow_undefined_flag -o \$lib \$libobjs \$deplibs\$linker_flags -install_
name \$rpath/\$soname \$verstring"
... instead of this:
archive_cmds="\$nonopt \$(test \\"x\$module\\" = xyes && echo -bundle || echo -dynamiclib) \$allow_undefined_flag -o \$lib \$libobjs \$deplibs\$linker_flags -install_
name \$rpath/\$soname \$verstring"
It look like it's that \\"x\$module\\"part that's got a syntax error. It doesn't fix the build problem though.
- Gabriel