Kann PHP nicht kompilieren

From: Date: Thu, 30 Oct 2003 21:25:49 +0000
Subject: Kann PHP nicht kompilieren
Groups: php.doc.de 
Request: Send a blank email to doc-de+get-974@lists.php.net to get a copy of this message
Hi PHP-Freaks! Meine Homepage(www.bitmaster.de.ms) ist zur Zeit noch pur HTML, aber ich will auf PHP umsteigen. Nur ergibt sich komischerweise das Problem, das mein GCC 3.3 beim Kompilieren immer mehrere Fehler anzeigt: <code> ... ext/mysql/libmysql/my_tempnam.o(.text+0x41): In function `my_tempnam': /root/Downloads/apache_php/php-4.3.0/ext/mysql/libmysql/my_tempnam.c:103: the use of tempnam' is dangerous, better use mkstemp' ext/mysql/libmysql/my_lib.o(.text+0x367): In function `my_dir': /root/Downloads/apache_php/php-4.3.0/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno' ext/mysql/libmysql/my_lib.o(.text+0x580): In function `my_stat': /root/Downloads/apache_php/php-4.3.0/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno' ext/mysql/libmysql/my_malloc.o(.text+0x121): In function `my_malloc': /root/Downloads/apache_php/php-4.3.0/ext/mysql/libmysql/my_malloc.c:24: undefined reference to `errno' ext/mysql/libmysql/my_realloc.o(.text+0x120): In function `my_realloc': /root/Downloads/apache_php/php-4.3.0/ext/mysql/libmysql/my_realloc.c:44: undefined reference to `errno' ext/mysql/libmysql/my_delete.o(.text+0xb1): In function `my_delete': /root/Downloads/apache_php/php-4.3.0/ext/mysql/libmysql/my_delete.c:16: undefined reference to `errno' ext/mysql/libmysql/my_tempnam.o(.text+0x7c):/root/Downloads/apache_php /php-4.3.0/ext/mysql/libmysql/my_tempnam.c:108: more undefined references to `errno' follow collect2: ld returned 1 exit status make: *** [sapi/cgi/php] Error 1 linux:~/Downloads/apache_php/php-4.3.0# </code> Ich habs auch schon mit anderen Versionen (4.3.1 - 4.3.3) probiert, aber das Ergebnis ist gleich. Mein OS ist SuSE Linux 8.2 (FTP-Installation) Mein PC: AMD Athlon XP+ 1.2 Ghz 512 MB Ram Ich bin für jede Hilfe sehr

« previous php.doc.de (#974) next »