Francisco writes:

>Also, when I try to compile mysql-3.23.51.tar.gz, I
>get the following error executing the make command:

>"my_gethostbyname.c", line 81.5: 1506-068 (S)
>Operation between types "struct hostent*" and "int" is
>not allowed.

You need to modify the config file, since you are using the
VisualAge compiler, to change the #define for the GETHOST
stuff :

/* In OSF 4.0f the 3'd argument to gethostname_r is hostent_data * */
#define HAVE_GETHOSTBYNAME_R_RETURN_INT 1

more than likely, this is commented out in your version of config.h

You should also read the following :

http://groups.google.com/groups?hl=en&selm=9s779b%24o9a%241%40FreeBSD.csie.
NCTU.edu.tw&rnum=4

---------------------------------------------------------------------
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

Reply via email to