Re: PHP 4.0 Bug #9716: internal_functions.c:32: `#include' expects "FILENAME" or <FILENAME>
| From: | Joey Smith | Date: | Wed, 14 Mar 2001 15:27:55 +0000 |
| Subject: | Re: PHP 4.0 Bug #9716: internal_functions.c:32: `#include' expects "FILENAME" or <FILENAME> | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-48905@lists.php.net to get a copy of this message | ||
I bet this is related to getting those line endings correct...ie, it's
"\n" on Unix, "\r\n" on Win32...and so on. Most likely not a PHP bug.
On 13 Mar 2001, root@php2.chek.com wrote the following to php-dev@lists.php...:
> From: lon@mojomonkey.com
>
> From: lon@mojomonkey.com
> Operating system: Mac OS X RC1
> PHP version: 4.0 Latest CVS (12/03/2001)
> PHP Bug Type: *Install and Config
> Bug description: internal_functions.c:32: `#include' expects "FILENAME" or
> <FILENAME>
>
>
> After configuration the this error occurs"
>
> Making all in main
> /bin/sh /Users/Shared/php4-200103121645/libtool --silent --mode=compile cc -I.
> -I/Users/Shared/php4-200103121645/main -I/Users/Shared/php4-200103121645/main
> -I/Users/Shared/php4-200103121645 -I/usr/include/httpd -I/Users/Shared/php4-200103121645/Zend
> -I/usr/local/mysql/include/mysql -I/Users/Shared/php4-200103121645/ext/xml/expat/xmltok
> -I/Users/Shared/php4-200103121645/ext/xml/expat/xmlparse -I/Users/Shared/php4-200103121645/TSRM
> -traditional-cpp -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c
> internal_functions.c
> internal_functions.c:32: `#include' expects "FILENAME" or <FILENAME>
> make[2]: *** [internal_functions.lo] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
>
> This error is caused by the following line:
>
> #include "ext/mysql/php_mysql.h"n#include "ext/pcre/php_pcre.h"n#include
> "ext/posix/php_posix.h"n#include "ext/session/mod_mm.h"n#include
> "ext/session/php_session.h"n#$
> p_zlib.h"n
>
> This line should be broken into multiple lines:
>
> #include "ext/mysql/php_mysql.h"
> #include "ext/pcre/php_pcre.h"
> #include "ext/posix/php_posix.h"
> #include "ext/session/mod_mm.h"
> #include "ext/session/php_session.h"
> #include "ext/standard/php_standard.h"
> #include "ext/xml/php_xml.h"
> #include "ext/zlib/php_zlib.h"
>
> The file can be manually edited after configuration and the build will proceed normally with
> success. However running configuration again will revert this file to the broken state again.
>
>
>
>
>
>