[PHP4] Problem with old versions of 'ar'
| From: | Jim Jagielski | Date: | Tue, 28 Mar 2000 05:06:23 +0000 |
| Subject: | [PHP4] Problem with old versions of 'ar' | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-17303@lists.php.net to get a copy of this message | ||
Just a FYI. This is more an issue with libtool than with PHP4,
but it does effect PHP4.
Older versions of 'ar' limit names to 14 or so chars. That's no
real big deal, since the archives are OK, it's just that if
you add 'this_is_a_really_long_function.o' to the archive,
that name will be truncated.
Sooooo when you 'ar x' it out, what you will get in return is
a file called something like 'this_is_a_reall'. Note the lack of
.o This means when libtools then creates a big archive from all
the object files it's extracted from the archives, _it only
adds those with a .o or .lo extension_! This means quite a few Zend
functions, for example, aren't loaded into libphp4.a and any
links when compiling fail.
Anyone know who to contact @ Gnu about this? Maybe another option
to libtool that bypasses the scan for .o/.lo ??
--
===========================================================================
Jim Jagielski [|] jim@jaguNET.com [|] http://www.jaguNET.com/
"Are you suggesting coconuts migrate??"