Re: Kann PHP nicht kompilieren
| From: | Frank Hornung | Date: | Fri, 31 Oct 2003 13:58:47 +0000 |
| Subject: | Re: Kann PHP nicht kompilieren | ||
| References: | 1 | Groups: | php.doc.de |
| Request: | Send a blank email to doc-de+get-976@lists.php.net to get a copy of this message | ||
Sebastian Stelzer schrieb:
>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
Direkt helfen kann ich dir leider nicht. Aber in
de.comp.lang.php.installation bist du sicher besser aufgehoben.
Gruß Frank
fup2dclpi
--
de.comp.lang.php FAQ
http://www.dclp-faq.de/index.html