Hi!
On Aug 08, Rainer Orth wrote:
> >Description:
> ft_dump failed to link on Tru64 UNIX V4.0F with gcc 3.1:
>
> /bin/ksh ../libtool --mode=link gcc -O3 -DDBUG_OFF -mieee
> -DUNDEF_HAVE_GETHOSTBYNAME_R -o ft_dump ft_dump.o libmyisam.a ../mysys/libmysys.a
> ../dbug/libdbug.a ../strings/libmystrings.a -lm -lpthread
> gcc -O3 -DDBUG_OFF -mieee -DUNDEF_HAVE_GETHOSTBYNAME_R -o ft_dump ft_dump.o
> libmyisam.a ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lm
> -lpthread
> snprintf
> collect2: ld returned 1 exit status
> make[2]: *** [ft_dump] Error 1
>
> Obviously, snprintf is undefined (true, since the system libc lacks that function).
>
> >Fix:
> myisam/ft_dump.c used snprintf unconditionally, whitout regarding HAVE_SNPRINTF.
> There are two other places where the test was broken: they used HAVE_SNPRINTF_
> (which doesn't exist anywhere) instead of HAVE_SNPRINTF.
Everything is fixed.
Thank you!
Regards,
Sergei
--
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Sergei Golubchik <[EMAIL PROTECTED]>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Senior Software Developer
/_/ /_/\_, /___/\___\_\___/ Osnabrueck, Germany
<___/ www.mysql.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]