Problem compiling mysql-3.23.52

2002-09-09 Thread Javier Suarez

Hello

I'm having a problem compiling the version of the subject, the problem is 
with the gethotsbyname function and the message is the next:

libmysql.c: In function `mysql_real_connect':
libmysql.c:1325: warning: passing arg 5 of `gethostbyname_r' from 
incompatible pointer type
libmysql.c:1325: too few arguments to function `gethostbyname_r'
libmysql.c:1325: warning: assignment makes pointer from integer without a cast
make[2]: *** [libmysql.lo] Error 1
make[2]: Leaving directory `/opt/src/apache/mysql-3.23.52/libmysql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/src/apache/mysql-3.23.52'
make: *** [all-recursive-am] Error 2

The system is Suse 8.0 and the Glibc is the glibc-2.2.5-38
Any solution or should I install the RPM from Suse? :-(

Thanks

Javier Suarez 


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Problem compiling mysql-3.23.52

2002-09-08 Thread Lenz Grimmer

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 08 September 2002 02:25, Javier Suarez wrote:

> Im having a problem compiling the version of the subject, the problem is
> with the gethotsbyname function and the message is the next:
>
> libmysql.c: In function `mysql_real_connect':
> libmysql.c:1325: warning: passing arg 5 of `gethostbyname_r' from
> incompatible pointer type
> libmysql.c:1325: too few arguments to function `gethostbyname_r'
> libmysql.c:1325: warning: assignment makes pointer from integer without a
> cast make[2]: *** [libmysql.lo] Error 1
> make[2]: Leaving directory `/opt/src/apache/mysql-3.23.52/libmysql'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/opt/src/apache/mysql-3.23.52'
> make: *** [all-recursive-am] Error 2
>
> The system is Suse 8.0 and the Glibc is the glibc-2.2.5-38
> Any solution or should I install the RPM from Suse? :-(

Make sure that the GNU C++ compiler (package "gpp") is installed and run 
"configure" again.

Bye,
LenZ
- -- 
For technical support contracts, visit https://order.mysql.com/?ref=mlgr
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Mr. Lenz Grimmer <[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, Production Engineer
/_/  /_/\_, /___/\___\_\___/   Hamburg, Germany
   <___/   www.mysql.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9e3aTSVDhKrJykfIRAj0WAJ9VlTx71gxGy5hfEIseDnfTrlcTowCfS6UR
2+G02aOAx0r9JCilji0Zyxo=
=PdX6
-END PGP SIGNATURE-


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Problem compiling mysql-3.23.52

2002-09-07 Thread Javier Suarez

Hello

Im having a problem compiling the version of the subject, the problem is 
with the gethotsbyname function and the message is the next:

libmysql.c: In function `mysql_real_connect':
libmysql.c:1325: warning: passing arg 5 of `gethostbyname_r' from 
incompatible pointer type
libmysql.c:1325: too few arguments to function `gethostbyname_r'
libmysql.c:1325: warning: assignment makes pointer from integer without a cast
make[2]: *** [libmysql.lo] Error 1
make[2]: Leaving directory `/opt/src/apache/mysql-3.23.52/libmysql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/src/apache/mysql-3.23.52'
make: *** [all-recursive-am] Error 2

The system is Suse 8.0 and the Glibc is the glibc-2.2.5-38
Any solution or should I install the RPM from Suse? :-(

Thanks

Javier Suarez 


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php