#23538 [NEW]: Fails at "make"
| From: | insecteye at hotmail dot com | Date: | Thu, 08 May 2003 04:13:25 +0000 |
| Subject: | #23538 [NEW]: Fails at "make" | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-39268@lists.php.net to get a copy of this message | ||
From: insecteye at hotmail dot com
Operating system: RedHat 9
PHP version: 4.3.1
PHP Bug Type: Compile Failure
Bug description: Fails at "make"
./configure --with-zlib --with-mysql --with-apache2=../apache-2.0.45
--enable-track-vars
The configure runs well but when I try to do a "make" here's what I get
ext/mysql/libmysql/my_tempnam.o(.text+0x40): In function `my_tempnam':
/var/tmp/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:103: the use of
tempnam' is dangerous, better use mkstemp'
ext/mysql/libmysql/my_lib.o(.text+0x37a): In function `my_dir':
/var/tmp/php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to
`errno'
ext/mysql/libmysql/my_lib.o(.text+0x546): In function `my_stat':
/var/tmp/php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to
`errno'
ext/mysql/libmysql/my_malloc.o(.text+0xbd): In function `my_malloc':
/var/tmp/php-4.3.1/ext/mysql/libmysql/my_malloc.c:24: undefined reference
to `errno'
ext/mysql/libmysql/my_realloc.o(.text+0xb4): In function `my_realloc':
/var/tmp/php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined reference
to `errno'
ext/mysql/libmysql/my_delete.o(.text+0x6d): In function `my_delete':
/var/tmp/php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference
to `errno'
ext/mysql/libmysql/my_tempnam.o(.text+0x79):/var/tmp/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:108:
more undefined referenc
es to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1
Can you help me out here!???
This is what I'm using to install MySQL/PHP/Apache
httpd-2.0.45.tar.gz
MySQL-client-4.0.9-0.i386.rpm MySQL-embedded-4.0.9-0.i386.rpm
php-4.3.1.tar.gz
MySQL-4.0.9-0.i386.rpm
MySQL-devel-3.23.56-1.i386.rpm MySQL-shared-4.0.9-0.i386.rpm
phpMyAdmin-2.5.0-rc2-php3.tar.gz
If anyone can help me out, I'd appreciate it.. :]
--
Edit bug report at http://bugs.php.net/?id=23538&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23538&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23538&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23538&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23538&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23538&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23538&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23538&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23538&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23538&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23538&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23538&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23538&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23538&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23538&r=gnused