[Kroupware] Apache won't compile

Wim Bakker kroupware@mail.kde.org
Wed, 19 Feb 2003 16:36:15 +0100


Hello,
System is rh8.0, 
I get the following error when compiling the apache component
of kolab:
---------------------------------------------
ext/mysql/libmysql/my_tempnam.o: In function `my_tempnam':
ext/mysql/libmysql/my_tempnam.o(.text+0x53): the use of `tempnam' is 
dangerous, better use `mkstemp'
/kolab/lib/libldap.a(os-ip.o): In function `ldap_pvt_is_socket_ready':
os-ip.o(.text+0x399): `sys_errlist' is deprecated; use `strerror' or 
`strerror_r' instead
os-ip.o(.text+0x390): `sys_nerr' is deprecated; use `strerror' or `strerror_r' 
instead
ext/mysql/libmysql/my_lib.o: In function `my_dir':
ext/mysql/libmysql/my_lib.o(.text+0x3e9): undefined reference to `errno'
ext/mysql/libmysql/my_lib.o: In function `my_stat':
ext/mysql/libmysql/my_lib.o(.text+0x636): undefined reference to `errno'
ext/mysql/libmysql/my_malloc.o: In function `my_malloc':
ext/mysql/libmysql/my_malloc.o(.text+0xe7): undefined reference to `errno'
ext/mysql/libmysql/my_realloc.o: In function `my_realloc':
ext/mysql/libmysql/my_realloc.o(.text+0xdd): undefined reference to `errno'
ext/mysql/libmysql/my_delete.o: In function `my_delete':
ext/mysql/libmysql/my_delete.o(.text+0x91): undefined reference to `errno'
ext/mysql/libmysql/my_tempnam.o(.text+0x8e): more undefined references to 
`errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
---------------------------------------------
Is there a workaround for this?

TIA
Wim Bakker

This e-mail was scanned by RAV Antivirus!