#18617 [Fbk->Bgs]: warning: empty declaration
| From: | sniper@php.net | Date: | Wed, 11 Sep 2002 16:47:32 +0000 |
| Subject: | #18617 [Fbk->Bgs]: warning: empty declaration | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-19159@lists.php.net to get a copy of this message | ||
ID: 18617
Updated by: sniper@php.net
Reported By: phpbugs@drcheap.com
-Status: Feedback
+Status: Bogus
Bug Type: Compile Failure
Operating System: Slackware Linux 8.0 (2.4.5 krnl)
PHP Version: 4.2.2
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-07-29 19:59:32] phpbugs@drcheap.com
Okay, so these warnings have nothing to do with the reason why my
libphp4.so file never gets created? There are no errors at all during
the compile process, yet no DSO.
Hmmmm.
------------------------------------------------------------------------
[2002-07-29 06:16:24] msopacua@idg.nl
Well - there you have it:
main/php_config.h:
#define ulong unsigned long
#define uint unsigned int
These are set by autoheader, from main/php_config.h.in.
The warnings are harmless, but the reason they are set is, because no
ulong and uint type was not found by configure.
See your config.log, for:
checking for uint..no
There should be a warning message and a log of the program that failed
and why.
------------------------------------------------------------------------
[2002-07-28 22:10:18] phpbugs@drcheap.com
And I need to blink my eyes a bit (staring at screen too long). Here's
the lines from types.h:
142:#ifdef __USE_MISC
143:/* Old compatibility names for C types. */
144:typedef unsigned long int ulong;
145:typedef unsigned short int ushort;
146:typedef unsigned int uint;
147:#endif
------------------------------------------------------------------------
[2002-07-28 21:52:54] msopacua@idg.nl
And that would be /usr/include/sys/types.h 144/146.
I need sleep in this timezone :-)
------------------------------------------------------------------------
[2002-07-28 21:33:05] phpbugs@drcheap.com
Err, sorry, that was wrong for main/php_config.h above. The correct
lines are:
2083:#ifdef HAVE_STDLIB_H
2084:# include <stdlib.h>
2085:#endif
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/18617
--
Edit this bug report at http://bugs.php.net/?id=18617&edit=1