Martyn Perring writes:
> Hi,
>
> Can anyone shed any light on this?
>
> I'm trying to build mySQL V3.23.34a on Tru64 V4.0G using gcc2.95.2 and
> GNU Make version 3.79.1.
>
> The makefiles were created using ./configure --prefix=/nipweb/mysql. No
> other configure paramaters were used.
>
> The compile keeps failing with the following error(s):
>
> gmake[2]: Leaving directory
> `/tmp_mnt/home/perrinm/mysql-3.23.34a/libmysql'
> Making all in client
> gmake[2]: Entering directory
> `/tmp_mnt/home/perrinm/mysql-3.23.34a/client'
> c++ -DUNDEF_THREADS_HACK -I./../include
> -I../include -I./.. -I.. -I.. -O3
> -DDBUG_OFF -fno-implicit-templates -c mysql.cc
> In file included from ../include/global.h:186,
> from mysql.cc:28:
> /usr/include/alloca.h:68: warning: declaration of `void * alloca(int)'
> /usr/include/alloca.h:68: warning: conflicts with built-in declaration
> `void * alloca(long unsigned int)'
> c++ -DUNDEF_THREADS_HACK -I./../include
> -I../include -I./.. -I.. -I.. -O3
> -DDBUG_OFF -fno-implicit-templates -c readline.cc
> In file included from ../include/global.h:186,
> from readline.cc:20:
> /usr/include/alloca.h:68: warning: declaration of `void * alloca(int)'
> /usr/include/alloca.h:68: warning: conflicts with built-in declaration
> `void * alloca(long unsigned int)'
> c++ -DUNDEF_THREADS_HACK -I./../include
> -I../include -I./.. -I.. -I.. -O3
> -DDBUG_OFF -fno-implicit-templates -c sql_string.cc
> In file included from ../include/global.h:186,
> from sql_string.cc:24:
> /usr/include/alloca.h:68: warning: declaration of `void * alloca(int)'
> /usr/include/alloca.h:68: warning: conflicts with built-in declaration
> `void * alloca(long unsigned int)'
> sql_string.cc: In method `bool String::set(double, unsigned int = 2)':
> sql_string.cc:181: implicit declaration of function `int snprintf(...)'
> gmake[2]: *** [sql_string.o] Error 1
> gmake[2]: Leaving directory
> `/tmp_mnt/home/perrinm/mysql-3.23.34a/client'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/tmp_mnt/home/perrinm/mysql-3.23.34a'
> gmake: *** [all-recursive-am] Error 2
>
> I haven't got a clue what's happening, maybe someone else does.
>
> Thanks,
>
> Martyn Perring
> --
> --
>
> ====================================================================
> Martyn Perring
> System Administrator, NIP Environment Support Team
>
> MLB4/5, Desk 265
> BT Advanced Communications Technology Centre,
> Adastral Park,
> Martlesham Heath,
> Ipswich, Tel: (01473-)608334
> Suffolk, IP5 3RE BTNet: *00 160 8334
Hi!
Edit both config.h and my_config.h and #under HAVE_SNPRINTF.
Also, please follow all recommendations for your OS from our manual.
Regards,
Sinisa
____ __ _____ _____ ___ == MySQL AB
/*/\*\/\*\ /*/ \*\ /*/ \*\ |*| Sinisa Milivojevic
/*/ /*/ /*/ \*\_ |*| |*||*| mailto:[EMAIL PROTECTED]
/*/ /*/ /*/\*\/*/ \*\|*| |*||*| Larnaca, Cyprus
/*/ /*/ /*/\*\_/*/ \*\_/*/ |*|____
^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^
/*/ \*\ Developers Team
---------------------------------------------------------------------
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