[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mysql-internals
Subject:    _builtin_prefetch - Compile Error
From:       Jan-Oliver Wuelfing <Jan-Oliver.Wuelfing () scai ! fraunhofer ! de>
Date:       2007-08-31 12:00:44
Message-ID: 46D802EC.4000907 () scai ! fraunhofer ! de
[Download RAW message or body]

Dear all,

I try to install MySQL-5.0.37 from source on a Solaris system with SunOS
5.9.
If I type

./configure -prefix=.../mysql

I get the following message

...
checking term.h usability... no
checking term.h presence... yes
configure: WARNING: term.h: present but cannot be compiled
configure: WARNING: term.h:     check for missing prerequisite headers?
configure: WARNING: term.h: see the Autoconf documentation
configure: WARNING: term.h:     section "Present But Cannot Be Compiled"
configure: WARNING: term.h: proceeding with the preprocessor's result
configure: WARNING: term.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
checking for term.h... yes
...
checking sys/ptem.h usability... no
checking sys/ptem.h presence... yes
configure: WARNING: sys/ptem.h: present but cannot be compiled
configure: WARNING: sys/ptem.h:     check for missing prerequisite headers?
configure: WARNING: sys/ptem.h: see the Autoconf documentation
configure: WARNING: sys/ptem.h:     section "Present But Cannot Be Compiled"
configure: WARNING: sys/ptem.h: proceeding with the preprocessor's result
configure: WARNING: sys/ptem.h: in the future, the compiler will take
precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
checking for sys/ptem.h... yes
checking sys/pte.h usability... no
checking sys/pte.h presence... no
...
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... /opt/gnu/bin/gcc:
           Sorry, gcc-3.0.4 isn't installed for solaris 5.9.
           I'll try gcc-3.0.4 for solaris 2.8,
           but all bets are off.
solaris2.9 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared
libraries... /opt/gnu/bin/g++:
           Sorry, g++-3.0.4 isn't installed for solaris 5.9.
           I'll try g++-3.0.4 for solaris 2.8,
           but all bets are off.
yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... /opt/gnu/bin/g++:
           Sorry, g++-3.0.4 isn't installed for solaris 5.9.
           I'll try g++-3.0.4 for solaris 2.8,
           but all bets are off.
solaris2.9 ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 static flag -static works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/ccs/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... /opt/gnu/bin/g77:
           Sorry, g77-3.0.4 isn't installed for solaris 5.9.
           I'll try g77-3.0.4 for solaris 2.8,
           but all bets are off.
solaris2.9 ld.so
checking how to hardcode library paths into programs... immediate

And if I then type 'make',
I get the following error message

/opt/gnu/bin/g++:
           Sorry, g++-3.0.4 isn't installed for solaris 5.9.
           I'll try g++-3.0.4 for solaris 2.8,
           but all bets are off.
Undefined                       first referenced
    symbol                             in file
__builtin_prefetch                  ../innobase/dict/libdict.a(dict0dict.o)
ld: fatal: Symbol referencing errors. No output written to .libs/mysqld
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `mysqld'
Current working directory
/home/bio/groupshare/software/src/db/mysql-5.0.37/sql
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory
/home/bio/groupshare/software/src/db/mysql-5.0.37/sql
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory
/home/bio/groupshare/software/src/db/mysql-5.0.37/sql
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/bio/groupshare/software/src/db/mysql-5.0.37
*** Error code 1
make: Fatal error: Command failed for target `all'

Does anyone has a hint for me?

Thanks and Cheers
    Jan

-- 
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe:    http://lists.mysql.com/internals?unsub=mysql-internals@progressive-comp.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic