On Thu, 20 Dec 2001, Martin MOKREJŠ wrote:

> Hi,
>   did someone manage to compile mysql on OSF1 4.0[D-F] series using
> Digital's cc and cxx compilers? Please Cc: me in reply, thanks.
> 
> CC=cc CXX=cxx CFLAGS='-non_shared -O3 -tune-host' CXXFLAGS='-non_shared
> -O3 -tune-host' ./configure --with-libwrap
> --with-mysqld-ldflags=-all-static --enable-assembler
> --prefix=/usr/local/mysql-3.23.46 --with-charset=latin1 --enable-thread-safe-client 
>--disable-shared
> 
>   I have problems linking against -lpthread. There's /usr/shlib/libpthread.so

Just a folloup:

I cannot compile nor with gcc 2.95.2.

CC=gcc CXX=g++ CFLAGS='-O3 -felide-constructors -fno-exceptions -fno-rtti' 
CXXFLAGS='-O3 -felide-constructors -fno-exceptions -fno-rtti' ./configure 
--with-libwrap --with-mysqld-ldflags=-all-static --enable-assembler 
--prefix=/usr/local/mysql-3.23.46 --with-charset=latin1 --enable-thread-safe-client 
--disable-shared

/bin/sh ../libtool --mode=link g++  -O3 -DDBUG_OFF -O3 -felide-constructors 
-fno-exceptions -fno-rtti  -fno-implicit-templates -fno-exceptions -fno-rtti  -o 
mysqld  sql_lex.o item.o item_sum.o item_buff.o item_func.o item_cmpfunc.o 
item_strfunc.o item_timefunc.o thr_malloc.o item_create.o field.o key.o sql_class.o 
sql_list.o net_serv.o violite.o net_pkg.o lock.o my_lock.o sql_string.o sql_manager.o 
sql_map.o mysqld.o password.o hash_filo.o hostname.o convert.o sql_parse.o sql_yacc.o 
sql_base.o table.o sql_select.o sql_insert.o sql_update.o sql_delete.o procedure.o 
item_uniq.o sql_test.o log.o log_event.o init.o derror.o sql_acl.o unireg.o time.o 
opt_range.o opt_sum.o opt_ft.o records.o filesort.o handler.o ha_heap.o ha_myisam.o 
ha_myisammrg.o ha_berkeley.o ha_innobase.o ha_gemini.o ha_isam.o ha_isammrg.o sql_db.o 
sql_table.o sql_rename.o sql_crypt.o sql_load.o mf_iocache.o field_conv.o sql_show.o 
sql_udf.o sql_analyse.o sql_cache.o slave.o sql_repl.o mini_client.o 
mini_client_errors.o md5.o stacktrace.o -all-/bin/sh ../libtool --mode=link g++  -O3 
-DDBUG_OFF -O3 -felide-constructors -fno-exceptions -fno-rtti  -fno-implicit-templates 
-fno-exceptions -fno-rtti  -o mysqld  sql_lex.o item.o item_sum.o item_buff.o 
item_func.o item_cmpfunc.o item_strfunc.o item_timefunc.o thr_malloc.o item_create.o 
field.o key.o sql_class.o sql_list.o net_serv.o violite.o net_pkg.o lock.o my_lock.o 
sql_string.o sql_manager.o sql_map.o mysqld.o password.o hash_filo.o hostname.o 
convert.o s
g++ -O3 -DDBUG_OFF -O3 -felide-constructors -fno-exceptions -fno-rtti 
-fno-implicit-templates -fno-exceptions -fno-rtti -o mysqld sql_lex.o item.o 
item_sum.o item_buff.o item_func.o item_cmpfunc.o item_strfunc.o item_timefunc.o 
thr_malloc.o item_create.o field.o key.o sql_class.o sql_list.o net_serv.o violite.o 
net_pkg.o lock.o my_lock.o sql_string.o sql_manager.o sql_map.o mysqld.o password.o 
hash_filo.o hostname.o convert.o sql_parse.o sql_yacc.o sql_base.o table.o 
sql_select.o sql_insert.o sql_update.o sql_delete.o procedure.o item_uniq.o sql_test.o 
log.o log_event.o init.o derror.o sql_acl.o unireg.o time.o opt_range.o opt_sum.o 
opt_ft.o records.o filesort.o handler.o ha_heap.o ha_myisam.o ha_myisammrg.o 
ha_berkeley.o ha_innobase.o ha_gemini.o ha_isam.o ha_isammrg.o sql_db.o sql_table.o 
sql_rename.o sql_crypt.o sql_load.o mf_iocache.o field_conv.o sql_show.o sql_udf.o 
sql_analyse.o sql_cache.o slave.o sql_repl.o mini_client.o mini_client_errors.o md5.o 
stacktrace.o -static ../isam/libnisam.a ../merge/libmg++ -O3 -DDBUG_OFF -O3 
-felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates -fno-exceptions 
-fno-rtti -o mysqld sql_lex.o item.o item_sum.o item_buff.o item_func.o item_cmpfunc.o 
item_strfunc.o item_tim/usr/bin/ld:
Can't locate file for: -lpthread
collect2: ld returned 1 exit status
make[3]: *** [mysqld] Error 1
make[3]: Leaving directory `/scratch/mmokrejs/mysql-3.23.46-gcc/sql'

Please Cc: me.
-- 
Martin Mokrejs - PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics <http://mips.gsf.de>
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3616 , fax: +49-89-3187 3585


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