>Description:
Make reports this:
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 `/home/perl/downloads/db/mysql-3.23.51/libmysql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/perl/downloads/db/mysql-3.23.51'
make: *** [all-recursive-am] Error 2
>How-To-Repeat:
configure/make
>Fix:
Unknown
>Submitter-Id: [EMAIL PROTECTED]
>Originator: [EMAIL PROTECTED]
>Organization:
>MySQL support: none
>Synopsis: Configure/Make problem, SuSE 8.0, mysql-3.23.51
>Severity: non-critical
>Priority: low
>Category: mysql
>Class: support
>Release: mysql-3.23.51 (Source distribution)
>Environment:
machine: Dell Optiplex GX1,
os: SuSE Linux 2.4.18-4GB,
target: ?
libraries ?
System: Linux hdeteam 2.4.18-4GB #1 Wed Mar 27 13:57:05 UTC 2002 i686
unknown
Architecture: i686
Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc
/usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.3/specs
gcc version 2.95.3 20010315 (SuSE)
Compilation info: CC='gcc' CFLAGS='' CXX='gcc' CXXFLAGS='' LDFLAGS=''
LIBC:
-rwxr-xr-x 1 root root 1394238 Mar 23 12:34 /lib/libc.so.6
-rw-r--r-- 1 root root 25361424 Mar 23 12:05 /usr/lib/libc.a
-rw-r--r-- 1 root root 178 Mar 23 12:05 /usr/lib/libc.so
Configure command:
CFLAGS="-O3" CC=gcc CXX=gcc CXXFLAGS="-O3 -felide-constructors
-fno-exceptions \
-fno-rtti" ./configure --prefix=/usr/local/mysql --enable-assembler
\
--with-named-curses-libs=/usr/lib/curses \
--with-mysqld-ldflags=-all-static
(See attached file: config.log.gz)
---------------------------------------------------------------------
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