PHP fordítási Hiba <még mindig>
2003-12-03T21:30:32+01:00
2003-12-03T21:30:33+01:00
2022-07-19T05:31:58+02:00
  • Sziasztok...

    PHP4-et futtanék linuxon, hogy egy windows-os gépen található MS SQL adatbázist elérjen.

    Feltettem a FreeTDS-t, és elkezdtem configolni a PHP-t de a
    #make parancs után hibák sorozatával áll le

    Miért?

    A hiba:

    _functions.lo -lsybdb -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -o sapi/cgi/php
    ext/mysql/libmysql/my_tempnam.o(.text+0x41): In function `my_tempnam':
    /etc/php/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':
    /etc/php/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno'
    ext/mysql/libmysql/my_lib.o(.text+0x580): In function `my_stat':
    /etc/php/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno'
    ext/mysql/libmysql/my_malloc.o(.text+0x121): In function `my_malloc':
    /etc/php/ext/mysql/libmysql/my_malloc.c:24: undefined reference to `errno'
    ext/mysql/libmysql/my_realloc.o(.text+0x120): In function `my_realloc':
    /etc/php/ext/mysql/libmysql/my_realloc.c:44: undefined reference to `errno'
    ext/mysql/libmysql/my_delete.o(.text+0xb1): In function `my_delete':
    /etc/php/ext/mysql/libmysql/my_delete.c:16: undefined reference to `errno'
    ext/mysql/libmysql/my_tempnam.o(.text+0x7c):/etc/php/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


    by Bocy
    Mutasd a teljes hozzászólást!
abcd