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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2021 The PHP Group
All rights reserved.
Last updated: Fri Sep 17 07:03:36 2021 UTC