#18617 [NEW]: warning: empty declaration
| From: | phpbugs at drcheap dot com | Date: | Mon, 29 Jul 2002 01:01:29 +0000 |
| Subject: | #18617 [NEW]: warning: empty declaration | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-15460@lists.php.net to get a copy of this message | ||
From: phpbugs@drcheap.com
Operating system: Slackware Linux 8.0 (2.4.5 krnl)
PHP version: 4.2.2
PHP Bug Type: Compile Failure
Bug description: warning: empty declaration
I am unable to successfully compile PHP...
No matter what combination of configure options I use (even just running
configure by itself) I always get output such as this during the
make
process:
------------
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../main
-I../TSRM -g -O2 -prefer-non-pic -static -c -o zend_language_parser.lo
`test
-f zend_language_parser.c || echo './'`zend_language_parser.c
In file included from /usr/include/stdlib.h:391,
from ../main/php_config.h:2084,
from zend_config.h:1,
from zend.h:48,
from zend_compile.h:24,
from zend_language_parser.c:147:
/usr/include/sys/types.h:144: warning: empty declaration
/usr/include/sys/types.h:146: warning: empty declaration
------------
This same warning is reported for pretty much EVERY SINGLE item that is
built during make.
When the process completes, I have no errors reported, just TONS of
warnings like above. Additionally, the libs/libphp4.so file (and maybe
others) are not created, which causes make install to fail.
I find no previous mention of this problem anywhere (web, usenet, etc.),
perhaps you can make sense of it.
--
Edit bug report at http://bugs.php.net/?id=18617&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18617&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18617&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18617&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18617&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18617&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18617&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18617&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18617&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18617&r=globals