php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6246 Make error
Submitted: 2000-08-18 14:58 UTC Modified: 2000-09-21 10:09 UTC
From: will at tempestdigital dot com Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0.1pl2 OS: Cobalt Linux release 5.0 (Pacifi
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: will at tempestdigital dot com
New email:
PHP Version: OS:

 

 [2000-08-18 14:58 UTC] will at tempestdigital dot com
I get the following error after a make command...

Making all in Zend
make[1]: Entering directory `/tmp/php-4.0.1pl2/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..   -D
EAPI=1 -DXML_BYTE_ORDER=12  -g -O2 -c zend-scanner.c
In file included from /usr/include/errno.h:36,
                 from ./zend-scanner.l:40:
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
make[1]: *** [zend-scanner.lo] Error 1
make[1]: Leaving directory `/tmp/php-4.0.1pl2/Zend'
make: *** [all-recursive] Error 1

Here is the ./configure line:

 ./configure --with-apxs=/usr/sbin/apxs --with-mysql=/u
sr --enable-magic-quotes


Haven't the slightest idea what seems to be the problem...

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-21 18:16 UTC] will at tempestdigital dot com
I now get this message...

Making all in Zend
make[1]: Entering directory `/tmp/php-4.0.1pl2/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..   -D
EAPI=1 -DXML_BYTE_ORDER=12  -g -O2 -c zend-scanner.c
./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
make[1]: Leaving directory `/tmp/php-4.0.1pl2/Zend'
make: *** [all-recursive] Error

 [2000-08-31 21:49 UTC] sniper@php.net
That error comes when some (or all) of kernel header files are not found.

Please check that you have this symlink:

/usr/include/asm 

which points to the right header files, for example

/usr/src/linux/asm

Have you compiled linux kernel by yourself? 
Have you installed all needed development rpms?
(like kernel-headers, etc.)

--Jani
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 07:01:33 2025 UTC