[Kroupware] Apache won't compile

Tassilo Erlewein kroupware@mail.kde.org
Tue, 25 Feb 2003 15:29:37 +0100


which glibc do you have ?
I'm not familiar with rh8.0.
Is there separate glibc-devel package including the header files (errno.h?)

You may want to look at the rh8.0 apache spec; maybe
the redhat people have already come across this thing.
Look for patches or specific configure options.

Sorry we don't have rh8.0 running right now, otherwise I would
give it a shot...

On Wednesday 19 February 2003 16:36, Wim Bakker wrote:
> 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 `errn=
o'
> 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!
>
> _______________________________________________
> Kroupware mailing list
> Kroupware@mail.kde.org
> http://mail.kde.org/mailman/listinfo/kroupware

=2D-=20
Dipl.-Ing. Tassilo Erlewein

e r f r a k o n
Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker
Nobelstra=DFe 15, 70569 Stuttgart, Germany
fon: 0711 67400961
fax: 0711 67400959
email: tassilo.erlewein@erfrakon.de