Compilation that used to work :)
| From: | Xavier Bertou | Date: | Fri, 31 Mar 2000 19:58:27 +0000 |
| Subject: | Compilation that used to work :) | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-12960@lists.php.net to get a copy of this message | ||
Well, I compiled php4 on my Redhat 5.2 box, kernel 2.2.13 without any
problem.
Then Another compilation on a Mandrake 7.0 box. Was Ok again.
Next thing, I compiled a new kernel on my Redhat 5.2 box, and now php4
doesn't compile:
/bin/sh ../../../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I.
-I/home/bertou/php4-snapshot/ext/mysql/libmysql -I../../..
-I../../../Zend -I/home/bertou/php4-snapshot -I/usr/include/apache
-I/home/bertou/php4-snapshot/ext/mysql/libmysql
-I/home/bertou/php4-snapshot/ext/xml/expat/xmltok
-I/home/bertou/php4-snapshot/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=12 -D_REENTRANT -g -O2 -Wall
-c my_init.c
In file included from /usr/include/sys/resource.h:27,
from my_init.c:12:
/usr/include/resourcebits.h:103: warning: `RLIM_INFINITY' redefined
/usr/include/asm/resource.h:25: warning: this is the location of the previous definition
In file included from /usr/include/sys/resource.h:27,
from my_init.c:12:
/usr/include/resourcebits.h:102: parse error before `('
my_init.c: In function `my_end':
my_init.c:106: warning: int format, long int arg (arg 5)
[...]
my_init.c:106: warning: int format, long int arg (arg 16)
Last snapshot of php4.
Linux 2.3.99-pre2 #1 Fri Mar 31 18:35:18 CEST 2000 i686 unknown
./configure --with-apxs --enable-versioning
(same result with --with-mysql)
Anything to do with php ? (BTW, I recompiled php because the version that
used to work on my 2.2.13 died on launching :
[Fri Mar 31 21:21:00 2000] [emerg] (22)Invalid argument: could not call shmget
--
Xavier Bertou