>Description:
      Trying to compile mysql source on a Intel-Compaq running Solaris 8.
      Get the following error:
           checking return type of sprintf... configure: error: can not run test
program while cross compiling

      config.log says:
           configure:2369: checking return type of sprintf

>How-To-Repeat:
      <code/input/activities to reproduce the problem (multiple lines)>
      CC=gcc CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors
-fno-exceptions -fno-rtti" ./configure --prefix=/usr/local/mysql
--with-low-memory --enable-assembler



>Fix:
      <how to correct or work around the problem, if known (multiple lines)>

>Submitter-Id:  <submitter ID>
>Originator:    Super-User
>Organization:
 <organization of PR author (multiple lines)>
>MySQL support: [none | licence | email support | extended email support ]
>Synopsis:      <synopsis of the problem (one line)>
>Severity:      <[ non-critical | serious | critical ] (one line)>
>Priority:      <[ low | medium | high ] (one line)>
>Category:      mysql
>Class:         <[ sw-bug | doc-bug | change-request | support ] (one line)>
>Release:  mysql-3.23.37 (Source distribution)

>Environment:
      <machine, os, target, libraries (multiple lines)>
System: SunOS shams 5.8 Generic_108529-03 i86pc i386 i86pc
Architecture: i86pc

Some paths:  /usr/bin/perl /usr/local/bin/make /usr/local/bin/gcc /usr/ucb/cc
GCC: Reading specs from /usr/local/lib/gcc-lib/i386-pc-solaris2.8/2.95.3/specs
gcc version 2.95.3 20010315 (release)
Compilation info: CC='gcc'  CFLAGS=''  CXX='gcc'  CXXFLAGS=''  LDFLAGS=''
LIBC:
-rw-r--r--   1 root     bin      1574456 Jul 20  2000 /lib/libc.a
lrwxrwxrwx   1 root     root          11 Nov 22 14:52 /lib/libc.so ->
./libc.so.1
-rwxr-xr-x   1 root     bin       933380 Jul 20  2000 /lib/libc.so.1
-rw-r--r--   1 root     bin      1574456 Jul 20  2000 /usr/lib/libc.a
lrwxrwxrwx   1 root     root          11 Nov 22 14:52 /usr/lib/libc.so ->
./libc.so.1
-rwxr-xr-x   1 root     bin       933380 Jul 20  2000 /usr/lib/libc.so.1
Configure command: ./configure  --with-unix-socket-path=/var/tmp/mysql.sock
--with-low-memory --with-mit-threads=yes --without-perl
--enable-thread-safe-client --with-berkeley-db --with-innodb
Perl: This is perl, version 5.005_03 built for i86pc-solaris









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