php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6008 UX:acomp: ERROR: "mod_php4.c"
Submitted: 2000-08-07 13:42 UTC Modified: 2000-09-30 03:14 UTC
From: lpc2 at stal dot ru Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.1pl2 OS: SCO UnixWare7.1.0
Private report: No CVE-ID: None
 [2000-08-07 13:42 UTC] lpc2 at stal dot ru
 # ./configure --with-oci8 --with-apache=../apache_1.3.12 --enable-track-vars
#make
....................
Making all in expat
Making all in xmltok
Making all in xmlparse
Making all in sapi
Making all in apache
        cc -DHAVE_CONFIG_H -I. -I/u/my/php-4.0.1pl2/sapi/apache -I/u/my/php-4.0.
1pl2 -I/u/my/php-4.0.1pl2/main -I/u/my/apache_1.3.12/src/include -I/u/my/apache_
1.3.12/src/os/unix -I/u/my/php-4.0.1pl2/Zend -I/u/my/php-4.0.1pl2 -I/u/my/php-4.
0.1pl2/ext/mysql/libmysql -I/oracle8i/rdbms/demo -I/oracle8i/network/public -I/o
racle8i/plsql/public -I/u/my/php-4.0.1pl2/ext/xml/expat/xmltok -I/u/my/php-4.0.1
pl2/ext/xml/expat/xmlparse -I/u/my/apache_1.3.12/src/include -I/u/my/apache_1.3.
12/src/os/unix -DXML_BYTE_ORDER=21 -g  -c mod_php4.c && touch mod_php4.lo
UX:acomp: ERROR: "mod_php4.c", line 678: undefined struct/union member: _shutdow
n
UX:acomp: ERROR: "mod_php4.c", line 678: function designator is not of function
type
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-30 03:14 UTC] sas@php.net
Fixed in CVS. Thanks for your report.
 [2003-04-28 04:07 UTC] kevinhsu at sco dot com
Hello all,

I found I still got the similiar problem in PHP 4.3.1.
The environment are :
OS : SCO UnixWare 7.1.3
Apache : Apache 1.3.27, compiling with
--enable-module=most --enable-shared=max
C Compiler : default SCO optimzing C Compiling system
make : GNU make 3.8
PHP configure option :
--without-mysql --with-pgsql --with-apxs=/usr/local/apache/bin/apxs

The error message is :
=============================================
/bin/sh libtool --silent --mode=compile cc -I/usr/local/apache/include -Isapi/ap
ache/ -I/pub/php-4.3.1/sapi/apache/ -DPHP_ATOM_INC -I/pub/php-4.3.1/include -I/p
ub/php-4.3.1/main -I/pub/php-4.3.1 -I/pub/php-4.3.1/Zend -I/usr/local/pgsql/incl
ude -I/pub/php-4.3.1/ext/xml/expat  -DUW=700 -DUSE_HSREGEX -DUSE_EXPAT -I/pub/ph
p-4.3.1/TSRM  -g  -prefer-pic -c /pub/php-4.3.1/sapi/apache/mod_php4.c -o sapi/a
pache/mod_php4.lo
UX:acomp: WARNING: "/pub/php-4.3.1/main/php_streams.h", line 321: no macro repla
cement within a string literal
UX:acomp: WARNING: "/pub/php-4.3.1/main/php_streams.h", line 322: no macro repla
cement within a string literal
UX:acomp: ERROR: "/pub/php-4.3.1/sapi/apache/mod_php4.c", line 780: undefined st
ruct/union member: shutdown
UX:acomp: ERROR: "/pub/php-4.3.1/sapi/apache/mod_php4.c", line 780: function des
ignator is not of function type
UX:acomp: ERROR: "/pub/php-4.3.1/sapi/apache/mod_php4.c", line 801: undefined st
ruct/union member: shutdown
UX:acomp: ERROR: "/pub/php-4.3.1/sapi/apache/mod_php4.c", line 801: function des
ignator is not of function type
make: *** [sapi/apache/mod_php4.lo] Error 1
===============
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Jun 28 14:00:02 2026 UTC