#21830 [Fbk]: libphp4.so not created
| From: | sniper@php.net | Date: | Thu, 23 Jan 2003 02:54:18 +0000 |
| Subject: | #21830 [Fbk]: libphp4.so not created | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-31005@lists.php.net to get a copy of this message | ||
ID: 21830
Updated by: sniper@php.net
Reported By: php.net@fudge.org
Status: Feedback
Bug Type: Compile Failure
Operating System: RedHat 7.3
PHP Version: 4.3.0
New Comment:
So you compiled 4.2.3 with the EXACTLY same environment?
Same compiler version, same kernel, etc?
Previous Comments:
------------------------------------------------------------------------
[2003-01-22 20:49:02] php.net@fudge.org
Yes. I still have a working copy of php-4.2.3 from last year that I
compiled, installed, and have been running... but I wanted to tempt
fate tonight... :)
I am pulling back the snap and will report results.
Thanks!
------------------------------------------------------------------------
[2003-01-22 20:44:34] sniper@php.net
btw. Were you able to compile any previous PHP versions??
Like 4.2.3 ??
------------------------------------------------------------------------
[2003-01-22 20:43:57] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
That libs/libphp4.bundle is NOT meant for Linux, it's for MacOSX so
using it does not help.
Please try the snapshot.
------------------------------------------------------------------------
[2003-01-22 20:39:25] php.net@fudge.org
$ make libphp4.la
[snip]
ext/ctype/ctype.lo: file not recognized: File truncated
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1
$ cat ext/ctype/ctype.lo
[one blank line]
$ make libs/libphp4.bundle
[snip]
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function
`_start':
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18):
undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [libs/libphp4.bundle] Error 1
$ rpm -qf /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o
glibc-devel-2.2.5-42
Should I be using gcc3 perhaps?
------------------------------------------------------------------------
[2003-01-22 20:23:14] php.net@fudge.org
Ok. I just removed config.cache and did make clean.
Running make again...
I will report results shortly.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/21830
--
Edit this bug report at http://bugs.php.net/?id=21830&edit=1