mysql-compile error (Apachetoolbox)
Jan-Benedict Glaw
jbglaw at lug-owl.de
Wed Jan 8 13:32:02 CET 2003
On Wed, 2003-01-08 13:01:32 +0100, Christian Menßen <th0r4x at web.de>
wrote in message <3E1C131C.3060409 at web.de>:
> Dist: Suse 8.1
> Kernel: 2.4.19-4GB
> http://www.apachetoolbox.com/
>
> Hi,
> ich bekomme beim compilen folgenden Error:
Was baust Du denn da? mysql? Warum nicht das nehmen, was die
Distribution mitbringt?
> libmysql.c: In function `mysql_real_connect':
> libmysql.c:1325: warning: passing arg 5 of `gethostbyname_r' from
> incompatible
> libmysql.c:1325: too few arguments to function `gethostbyname_r'
> libmysql.c:1325: warning: assignment makes pointer from integer
> without a cast
Das sieht nach einer Vermischung von "normalen" Funktions-Aufrufen und
solchen, die für ge-thread-dete Programme gedacht sind, aus.
Wie sah der gcc-Aufruf (direkt dadrüber) aus?
MfG, JBG
--
Jan-Benedict Glaw jbglaw at lug-owl.de . +49-172-7608481
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur
fuer einen Freien Staat voll Freier Bürger" | im Internet!
Shell Script APT-Proxy: http://lug-owl.de/~jbglaw/software/ap2/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20030108/17e8d25e/attachment.sig>
More information about the Linux
mailing list