# Cannot compile latest PHP_5_1 with gcc 3.2.2

- Thread: https://externals.io/message/13692
- Original archive: https://news-web.php.net/php.internals/13692
- Started by Cyprien \"Fulax\" Nicolas on 2004-11-02T23:22:41+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #13692 — Cyprien \"Fulax\" Nicolas — 2004-11-02T23:22:41+00:00

URL: https://externals.io/message/13692#13692

Hello,

I hope I post on the good list, I though that posting that note on 
php-install list won't be coherent as this is a developpement version.

So, when I tried to make php 5.1.0-dev, the build failled :

> gcc  -Iext/standard/ -I/usr/src/php/php-5.1-cgi/ext/standard/ 
> -DPHP_ATOM_INC -I/usr/src/php/php-5.1-cgi/include 
> -I/usr/src/php/php-5.1-cgi/main -I/usr/src/php/php-5.1-cgi 
> -I/usr/src/php/php-5.1-cgi/Zend -I/usr/local/include/libxml2 
> -I/usr/local/include -I/usr/X11R6/include 
> -I/usr/local/include/freetype2 
> -I/usr/src/php/php-5.1-cgi/ext/mbstring/oniguruma 
> -I/usr/src/php/php-5.1-cgi/ext/mbstring/libmbfl 
> -I/usr/src/php/php-5.1-cgi/ext/mbstring/libmbfl/mbfl 
> -I/usr/local/include/ming -I/usr/local/include/mysql 
> -I/usr/local/include/tidy -I/usr/include/libxml2  
> -I/usr/src/php/php-5.1-cgi/TSRM  -g -O2  -c 
> /usr/src/php/php-5.1-cgi/ext/standard/basic_functions.c -o 
> ext/standard/basic_functions.o  && echo > ext/standard/basic_functions.lo
> /usr/src/php/php-5.1-cgi/ext/standard/basic_functions.c:1738:1: 
> directives may not be used inside a macro argument
> /usr/src/php/php-5.1-cgi/ext/standard/basic_functions.c:1737:20: 
> unterminated argument list invoking macro "RETURN_LONG"
> /usr/src/php/php-5.1-cgi/ext/standard/basic_functions.c: In function 
> `zif_sleep':
> /usr/src/php/php-5.1-cgi/ext/standard/basic_functions.c:1739: syntax 
> error before "sleep"
> *** Error code 1
>
> Stop in /usr/src/php/php-5.1-cgi.

I use FreeBSD 5.1 with gcc 3.2.2.
The error cames from the last cvs update by Andrey.

However, when I have tried to build it on my gentoo with gcc 3.3.4, the 
build was complete, so it seems there is an incompatibility between gcc 
versions...

Regards

--
Cyprien Nicolas
fulax@naedev.org

---

## #13696 — Antony Dovgal — 2004-11-03T06:24:04+00:00

URL: https://externals.io/message/13692#13696 · In reply to: #13692

On Wed, 03 Nov 2004 00:22:41 +0100
"Cyprien \"Fulax\" Nicolas" <fulax@naedev.org> wrote:

> Hello,
> 
> I hope I post on the good list, I though that posting that note on 
> php-install list won't be coherent as this is a developpement version.
> 
> So, when I tried to make php 5.1.0-dev, the build failled :
<skip>

should fixed now.
 
-- 
Wbr,
Antony Dovgal aka tony2001
tony2001@phpclub.net || antony@dovgal.com

---

## #13700 — Cyprien Nicolas — 2004-11-03T07:55:17+00:00

URL: https://externals.io/message/13692#13700 · In reply to: #13696

Yes, it is
The build does not fail any longer

Thanks

Cyprien Nicolas
fulax@naedev.org


Antony Dovgal wrote:

>On Wed, 03 Nov 2004 00:22:41 +0100
>"Cyprien \"Fulax\" Nicolas" <fulax@naedev.org> wrote:
>
>  
>
> > […]
><skip>
>
>should fixed now.
