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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
14 + 43 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 11:01:27 2024 UTC