Bug #780: Failure to compile basic_functions.c on SGI IRIX
| From: | jcaesar at losangeles dot sgi dot com | Date: | Thu, 24 Sep 1998 18:33:18 +0000 |
| Subject: | Bug #780: Failure to compile basic_functions.c on SGI IRIX | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-1467@lists.php.net to get a copy of this message | ||
From: jcaesar@losangeles.sgi.com
Operating system: IRIX 6.5
PHP version: 3.0.4
PHP Bug Type: Compile Failure
Bug description: Failure to compile basic_functions.c on SGI IRIX
3.0.3 will compile on my system. 3.0.4, the new feature (user_keys?) has a compile problem in the
functions dir. This also happens with the new configure script posted recently, regarding AIX and
BSD. From the compiler output:
cc -O2 -pca -woff all -n32 -Xcpluscomm -g -I. -I. -I/usr/local/src/apache_1.3.1/src/include
-I/usr/local/src/apache_1.3.1/src/os/unix -I/usr/local/include/mysql -c
functions/basic_functions.c -o functions/basic_functions.o
"functions/basic_functions.c", line 871: error(1028): expression must have a
constant value
pval *args[2] = {&key1, &key2};
^
"functions/basic_functions.c", line 871: error(1028): expression must have a
constant value
pval *args[2] = {&key1, &key2};
^
2 errors detected in the compilation of "functions/basic_functions.c".
*** Error code 2 (bu21)
**********
My Configuration (which works on 3.0.3)
(Compilers used were SGI's v. 7.2.1 with auto-parallelization).
CC="cc -O2 -pca -woff all -n32 -Xcpluscomm" \
CXX="CC -O2 -pca -n32 -Xcpluscomm" \
LDFLAGS="-n32 -mp" \
./configure \
--with-apache=/usr/local/src/apache_1.3.1 \
--with-mysql \
--enable-debug=no \
--enable-track-vars=yes \
--with-exec-dir=/www/cgi-bin \
--enable-memory-limit=no \
--enable-safe-mode=yes
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net