Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: letters AT hotpop DOT com (Jari Aalto+list.cygwin) To: cygwin AT cygwin DOT com Subject: mysql 3.23.51 compilation problems? Keywords: sql,item,int,make,undefined,text,static,initialization X-Sender-Info: Emacs resources http://tiny-tools.sourceforge.net/ http://poboxes.com/jari.aalto ICQ 'jari-aalto' 82313129 PGP 2.6.x keyid 47141D35 http://www.pgpi.net/ Date: Sun, 28 Jul 2002 11:24:17 +0300 Message-ID: <1y9ow98u.fsf@blue.sea.net> Lines: 30 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/20.7 (i386-*-nt5.0.2195) (i386-*-nt5.0.2195) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g6S8NvI14135 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/