#23362 [NEW]: failed to compile (is it a php bug?)

From: Date: Sat, 26 Apr 2003 17:00:57 +0000
Subject: #23362 [NEW]: failed to compile (is it a php bug?)
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38459@lists.php.net to get a copy of this message
From:             trepseb at hotmail dot com
Operating system: Redhat 9
PHP version:      4.3.1
PHP Bug Type:     Compile Failure
Bug description:  failed to compile (is it a php bug?)

I made a normal ./configure and the tried "make".
This was the last message before failure:

main.lo sapi/cgi/getopt.lo main/internal_functions.lo -lcrypt -lresolv -lm
-ldl -lnsl -lcrypt  -o sapi/cgi/php
ext/mysql/libmysql/my_tempnam.o(.text+0x40): In function `my_tempnam':
/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':
/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':
/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':
/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':
/tmp/php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined reference to
`errno'
ext/mymain.lo sapi/cgi/getopt.lo main/internal_functions.lo -lcrypt
-lresolv -lm -ldl -lnsl -lcrypt  -o sapi/cgi/php
ext/mysql/libmysql/my_tempnam.o(.text+0x40): In function `my_tempnam':
/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':
/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':
/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':
/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':
/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':
/tmp/php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference to
`errno'
ext/mysql/libmysql/my_tempnam.o(.text+0x79):/tmp/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:108:
more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Fehler 1
sql/libmysql/my_delete.o(.text+0x6d): In function `my_delete':
/tmp/php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference to
`errno'
ext/mysql/libmysql/my_tempnam.o(.text+0x79):/tmp/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:108:
more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Fehler 1

-- 
Edit bug report at http://bugs.php.net/?id=23362&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=23362&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=23362&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=23362&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=23362&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=23362&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=23362&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=23362&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=23362&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=23362&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=23362&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23362&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=23362&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=23362&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=23362&r=gnused



Thread (5 messages)

« previous php.bugs (#38459) next »