Bug #14483 Updated: -twolevel_namespace and multiple definitions errors (Mac OS X 10.1)
| From: | abner at criticalnexus dot com | Date: | Thu, 13 Dec 2001 12:18:30 +0000 |
| Subject: | Bug #14483 Updated: -twolevel_namespace and multiple definitions errors (Mac OS X 10.1) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-73559@lists.php.net to get a copy of this message | ||
ID: 14483
User updated by: abner@criticalnexus.com
Reported By: abner@criticalnexus.com
Old Summary: -twolevel_namespace and multiple definitions errors
Status: Open
Bug Type: Compile Failure
Operating System: MacOS X 10.1
PHP Version: 4.1.0
New Comment:
Also a duplicate of bug 14154, which is a freakin' struggle of a bug.
Previous Comments:
------------------------------------------------------------------------
[2001-12-13 07:08:12] abner@criticalnexus.com
(NOTE: Duplicate of BUG 14256)
PHP 4.1.0 fails to compile on Mac OS X 10.1 (you probably already know this). This is while
building the Apache Module.
Notes:
- First scenario: attempting the run-of-the-mill compile fails once it gets to ld, which throws out
"-twolevel_namespace" warnings.
- Second scenario: Modifying (by adding "-flat_namespace") any presence of anything that
may seem like a compiler flag or linker flag in config_vars.mk, php_config.h, libtool, etc., leads
to a LARGE number of multiple definition errors that look like this:
-----------
TSRM/.libs/libtsrm.al(tsrm_virtual_cwd.lo) definition of _virtual_utime in section (__TEXT,__text)
TSRM/.libs/libtsrm.al(tsrm_virtual_cwd.lo) definition of _virtual_utime in section (__TEXT,__text)
------------
These errors flow in large quantities (in pairs like above), right at the end of the compile. The
section (__TEXT,__text) part is always the same, but "(foo.lo)" changes to what seems to
be EVERY symbol that was compiled.
- Have downloaded latest snap from PHP.net (13 Dec 2001), and it still fails.
-Tried using latest libtool from GNU.org (1.4.2), with the same result.
-It seems like others are experiencing either of the scenarios above... since most people know about
the "-flat_namespace" flag, the try to deal, only to end up with the large quantities of
multiple symbol errors.
Hmm...
-Abner
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14483&edit=1