php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6985 Compile error (variable undeclared)
Submitted: 2000-10-03 01:44 UTC Modified: 2000-12-30 14:10 UTC
From: juarez at saneago dot com dot br Assigned:
Status: Closed Package: Apache related
PHP Version: 4.0.2 OS: Conectiva Linux 5.1
Private report: No CVE-ID: None
 [2000-10-03 01:44 UTC] juarez at saneago dot com dot br
    Hi,
    
    I am using PHP4.0.2 with Apache 1.3.12, in Conectiva Linux 5.1 (similar to RedHat 6.2), trying to use with IBM DB2 V 6.1 and V 7.1.
    I am using this steps:

cd ../apache_1.3.12
./configure --prefix=/www

cd ../php4.0.2
./configure --with-ibm-db2 --with-curl=../curl-7.2.1 --with-apache=../apache_1.3.12 --enable-track-vars
make
make install

cd ../apache_1.3.12
./configure --prefix=/www --activate-module=src/modules/php4/libphp4.a
make

   When I am executing this command "make", I receive that errors:

...
===> src/main
gcc -c -I../os/unix -I../include   -DLINUX=2 -I/home/php-4.0.2 -I/home/php-4.0.2/main -I/home/php-4.0.2/main -I/home/php-4.0.2/Zend -I/home/php-4.0.2/Zend -I/home/php-4.0.2 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED '../apaci' util.c
util.c: In function 'ap_find_token':
util.c:1368: 'test_char_table' undeclared (first use in this function)
util.c:1368: (Each undeclared identifier is reported only once
util.c:1368: for each function it appears in.)
util.c:1368: 'T_HTTP_TOKEN_STOP' undeclared (first use in this function)
util.c: In function 'ap_escape_shell_cmd':
util.c:1427: 'test_char_table' undeclared (first use in this function)
util.c:1427: 'T_ESCAPE_SHELL_CMD' undeclared (first use in this function)
util.c: In function 'ap_escape_path_segment':
util.c:1554: 'test_char_table' undeclared (first use in this function)
util.c:1554: 'T_ESCAPE_PATH_SEGMENT' undeclared (first use in this function)
util.c: 1583: 'test_char_table' undeclared (first use in this function)
util.c: 1583: 'T_OS_ESCAPE_PATH' undeclared (first use in this function)
make[3]: *** [util.o] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory '/home/apache_1.3.12/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory '/home/apache_1.3.12'
make: *** [build] Error 2


    I am thinking about this errors in relationship with IBM DB2, because when I use mysql, I haven't any erros.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-04 09:09 UTC] sniper@php.net
Is this problem still valid? 

Have you tried adding the base install directory
of DB2 to the --with-ibm-db2 parameter?
It defaults to /home/db2inst1/sqllib

And you should be also using the base install directory
for --with-curl..not the source directory.

--Jani
 [2000-12-30 14:10 UTC] sniper@php.net
No feedback. 

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC