ID: 14483
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]


(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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to