php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #201 missing sys header in compiling php module for apache
Submitted: 1998-03-26 12:36 UTC Modified: 1998-05-24 16:03 UTC
From: sc at scott dot lib dot utah dot edu Assigned: jim (profile)
Status: Closed Package: Compile Failure
PHP Version: 3.0 Release Cand OS: Linux, debian 1.3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sc at scott dot lib dot utah dot edu
New email:
PHP Version: OS:

 

 [1998-03-26 12:36 UTC] sc at scott dot lib dot utah dot edu
# make
gcc -O2 -I/usr/local/mysql-3.21.26-gamma-pc-linux-gnu-i586/include -I. -I.   -I/usr/local/apache_1.3b5/src/include -I/usr/local/apache_1.3b5/src/os/unix      -I/usr/local/mysql-3.21.26-gamma-pc-linux-gnu-i586/include      -g -Wall   -c functions/adabasd.c -o functions/adabasd.o
In file included from parser.h:58,
                 from functions/adabasd.c:35:
config.h:124: warning: `HAVE_LIBCRYPT' redefined
/usr/local/mysql-3.21.26-gamma-pc-linux-gnu-i586/include/config.h:528: warning: this is the location of the previous definition
config.h:127: warning: `HAVE_LIBNSL' redefined
/usr/local/mysql-3.21.26-gamma-pc-linux-gnu-i586/include/config.h:540: warning: this is the location of the previous definition
In file included from /usr/local/apache_1.3b5/src/include/httpd.h:63,
                 from parser.h:168,
                 from functions/adabasd.c:35:
/usr/local/apache_1.3b5/src/include/conf.h:833: sys/select.h: No such file or directory
make: *** [functions/adabasd.o] Error 1


It looks like this gcc release (2.7.2.1) doesn't contain a copy of the
"<sys>select.h" header file, which is brought in by the parser.h
include in the adabasd.c source.  Apache seems to not ifdef it out.


- thanks for all your devoted toil!!!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-05-24 16:03 UTC] jim
For this to happen, someone must be defining HAVE_SYS_SELECT_H. Check PHP3's config.h, as well

as the include files for MySQL and Adabas.



--



Presumably this was the case.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 09:01:28 2025 UTC