This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

mysql 3.23.51 compilation problems?


I fixed couple of sys.h include errors under cygwin 
and compilation went to final stage. But now I need more help.
Does the following error say anything to you? Should I include
some "-l" library to the compilation phase?

./strings/libmystrings.a     -lz -lcrypt -lm 
g++ -O3 -DDBUG_OFF -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 sql_do.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 ../isam/libnisam.a ../merge/libmerge.a ../myisam/libmyisam.a ../myisammrg/libmyisammrg.a ../heap/libheap.a ../mysys/libmysys.a ../dbug/libdbug.a ../regex/libregex.a ../strings/libmystrings.a -lz -lcrypt
item_strfunc.o(.text+0x3c36):item_strfunc.cc: undefined reference to `__static_initialization_and_destruction_0(int, int)'
item_strfunc.o(.text+0x3c56):item_strfunc.cc: undefined reference to `__static_initialization_and_destruction_0(int, int)'
item_timefunc.o(.text+0x2bc6):item_timefunc.cc: undefined reference to `__static_initialization_and_destruction_0(int, int)'
item_timefunc.o(.text+0x2be6):item_timefunc.cc: undefined reference to `__static_initialization_and_destruction_0(int, int)'
convert.o(.text+0x136):convert.cc: undefined reference to `__static_initialization_and_destruction_0(int, int)'
log.o(.text+0x3526):log.cc: more undefined references to `__static_initialization_and_destruction_0(int, int)' follow
collect2: ld returned 1 exit status
make[3]: *** [mysqld] Error 1
make[3]: Leaving directory `/usr/src/mysql-3.23.51/sql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/mysql-3.23.51/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/mysql-3.23.51'
make: *** [all-recursive-am] Error 2




-- 
http://tiny-tools.sourceforge.net/
Swatch  @time http://www.ryanthiessen.com/swatch/resources.htm
Convert @time http://www.mir.com.my/iTime/itime.htm


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]