List:General Discussion« Previous MessageNext Message »
From:Martin B. Jespersen Date:March 18 1999 2:32pm
Subject:compile error mysql 3.22.20a on solaris 2.6
View as plain text  
Hi, 

I'm trying to compile MySQL 3.2.20a on solaris 2.6 with egcs 1.1.2, and it fails :(

Here is what i have done:

#CC=gcc 
#CFLAGS="-O6 -fomit-frame-pointer" 
#CXX=gcc 
#CXXFLAGS="-O6 -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti" 
#export CC CFLAGS CXX CXXFLAGS
#./configure --prefix=/usr/local/mysql --enable-thread-safe-client --enable-assembler
--with-mysqld-user=root --without-debug
--with-charset=danish --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static
#make
<snip>
...
gcc -O -O6 -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti
-fno-implicit-templates -DDBUG_OFF
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o mysql mysql.o readline.o sql_string.o
completion_hash.o ../readline/libreadline.a
-lcurses -static .libs/libmysqlclient.a -lnsl -lm -lsocket -lcrypt -lgen -lpthread
-lthread -lnsl -lm -lsocket -lcrypt -lgen
-lpthread -lthread
ld: fatal: library -lpthread: not found
ld: fatal: library -lthread: not found
ld: fatal: library -lpthread: not found
ld: fatal: library -lthread: not found
ld: fatal: File processing errors. No output written to mysql
collect2: ld returned 1 exit status
make[2]: *** [mysql] Error 1
make[2]: Leaving directory `/users/mbj/installs/mysql-3.22.20a/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/users/mbj/installs/mysql-3.22.20a'
make: *** [all-recursive-am] Error 2
#

any ideas?

-- 
Martin B. Jespersen
Technical Project Leader
Icon Medialab A/S (http://www.IconMedialab.dk)

E-Mail: Martin@stripped
Mail:   Havnegade 39, DK-1058 Copenhagen K
Voice:  (+45) 7023-1001
Fax:    (+45) 33320209
Thread
compile error mysql 3.22.20a on solaris 2.6Martin B. Jespersen18 Mar
  • compile error mysql 3.22.20a on solaris 2.6Michael Widenius18 Mar
  • Re: compile error mysql 3.22.20a on solaris 2.6Martin B. Jespersen19 Mar