Re: Problems Building PHP 4.0.1

From: Date: Thu, 29 Jun 2000 19:15:26 +0000
Subject: Re: Problems Building PHP 4.0.1
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-22914@lists.php.net to get a copy of this message
Ok, I have got a little further but now I have a new problem. While building php I get the following error... In file included from /usr/include/sys/socket.h:34, from /usr/include/netdb.h:31, from php_mysql.c:45: /usr/include/bits/socket.h:35: warning: redefinition of `socklen_t' /usr/local/php-4.0.1/main/php.h:111: warning: `socklen_t' previously declared here php_mysql.c: In function `_close_mysql_link': php_mysql.c:188: `SIGPIPE' undeclared (first use in this function) php_mysql.c:188: (Each undeclared identifier is reported only once php_mysql.c:188: for each function it appears in.) php_mysql.c:188: `SIG_IGN' undeclared (first use in this function) php_mysql.c:188: warning: assignment makes pointer from integer without a cast php_mysql.c: In function `_close_mysql_plink': php_mysql.c:200: `SIGPIPE' undeclared (first use in this function) php_mysql.c:200: `SIG_IGN' undeclared (first use in this function) php_mysql.c:200: warning: assignment makes pointer from integer without a cast php_mysql.c: In function `php_mysql_do_connect': php_mysql.c:460: `SIGPIPE' undeclared (first use in this function) php_mysql.c:460: `SIG_IGN' undeclared (first use in this function) php_mysql.c:460: warning: assignment makes pointer from integer without a cast Any ideas? Thanks again. ""Jeremiah Hansen"" <jeremiah@home.uptime.org> wrote in message news:8jg16r$1qq$1@toye.php.net... > I recently download 4.0.1 and ran > > ./configure --with-mysql --with-apache=../apache_1.3.12 > > the configure scripte runs fine, but when I type > > make > > I get the following error.... > > In file included from /usr/include/bits/errno.h:25, > from /usr/include/errno.h:36, > from ./zend-scanner.l:40: > /usr/include/linux/errno.h:4: asm/errno.h: No such file or directory > > If I change the /usr/include/linux/errno.h file from including "asm/errno.h" > to just > "errno.h" but then get a different error.... > > /zend-scanner.l: In function `lex_scan': > ./zend-scanner.l:1136: `ERANGE' undeclared (first use in this function) > ./zend-scanner.l:1136: (Each undeclared identifier is reported only once > ./zend-scanner.l:1136: for each function it appears in.) > make[1]: *** [zend-scanner.lo] Error 1 > > ANY IDEAS? > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.dev (#22914) next »