ID: 21830 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Compile Failure Operating System: RedHat 7.3 PHP Version: 4.3.0 New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [2003-01-22 20:39:25] [EMAIL PROTECTED] $ 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] [EMAIL PROTECTED] Ok. I just removed config.cache and did make clean. Running make again... I will report results shortly. ------------------------------------------------------------------------ [2003-01-22 20:14:52] [EMAIL PROTECTED] Please check this report, and the last comment in it: http://bugs.php.net/bug.php?id=19924 This really isn't any PHP bug but something done wrong. (rm config.cache / make clean usually helps.) ------------------------------------------------------------------------ [2003-01-22 20:08:09] [EMAIL PROTECTED] I am trying to create the DSO version for Apache 2.0.44 $ ./configure --with-mysql --with-axps2=/web/bin/apxs Normal output. $ make all (does not complete) $ make libphp4.la [snip] ext/ctype/ctype.lo: file not recognized: File truncated collect2: ld returned 1 exit status make: *** [libphp4.la] Error 1 $ 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 There is nothing in libs and there is nothing in .libs I have also tried this with php4-STABLE-200301220430 and I get the same results. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21830&edit=1