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]

Re: MySQLdb under cygwin's python


Alexy Khrabrov wrote:

On Thu, Oct 09, 2003 at 02:14:59PM +0200, Gerrit P. Haase wrote:

Configure with --enable-server=no


I prefer --without-server :) -- and it works fine.

An interesting issue occurs when trying to compile the whole mysql-4.0.15a, after I commented out all #pragma (interface|implementation) per other Gerrit's advice.

Why are you removing the pragma interfaces? I see them in things like client/log_event.h which seem to compile and link (well the client links), just fine.


Everything compiles, but the server doesn't link with only _one_symbol missing in sql_yacc.o:

my_yyoverflow(short**, YYSTYPE**, int*)

-- but that's defined in sql_parse.o! I played briefly with declaring it extern in sql_yacc.yy, and trying to include sql_yacc.h in more places, but all to no avail. As I see the server is broken under cygwin anyways, that's a purely theoretical issue, still, anybody saw it?

When I try to compile the server I get the following:


g++ -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -o mysqld.exe sql_lex.o sql_handler.o item.o item_sum.o item_buff.o item_func.o item_cmpfun c.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 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 set_var.o sql_parse.o sql_yacc.o sql_base.o table.o sql_select.o sql_insert.o sql_update.o sql_delete.o uniques.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 des_key_file.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_innodb.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 sql_union.o mini_client.o mini_client_errors.o stacktrace.o repl_failsafe.o sql_olap.o ../innobase/usr/libusr.a ../innobase/odbc/libodbc.a ../innobase/srv/libsrv.a ../innobase/dict/libdict.a ../innobase/que/libque.a ../innobase/srv/libsrv.a ../innobase/ibuf/libibuf.a ../innobase/row/librow.a ../innobase/pars/libpars.a ../innobase/btr/libbtr.a ../innobase/trx/libtrx.a ../innobase/read/libread.a ../innobase/usr/libusr.a ../innobase/buf/libbuf.a ../innobase/ibuf/libibuf.a ../innobase/eval/libeval.a ../innobase/log/liblog.a ../innobase/fsp/libfsp.a ../innobase/fut/libfut.a ../innobase/fil/libfil.a ../innobase/lock/liblock.a ../innobase/mtr/libmtr.a ../innobase/page/libpage.a ../innobase/rem/librem.a ../innobase/thr/libthr.a ../innobase/com/libcom.a ../innobase/sync/libsync.a ../innobase/data/libdata.a ../innobase/mach/libmach.a ../innobase/ha/libha.a ../innobase/dyn/libdyn.a ../innobase/mem/libmem.a ../innobase/sync/libsync.a ../innobase/ut/libut.a ../innobase/os/libos.a ../innobase/ut/libut.a ../isam/libnisam.a ../merge/libmerge.a ../myisam/libmyisam.a ../myisammrg/libmyisammrg.a ../heap/libheap.a ../vio/libvio.a ../mysys/libmysys.a ../dbug/libdbug.a ../regex/libregex.a ../strings/libmystrings.a -lz -lcrypt
item_timefunc.o(.text+0x2d86):item_timefunc.cc: undefined reference to `__static_initialization_and_destruction_0(int, int)'
item_timefunc.o(.text+0x2da6):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+0x3d76):log.cc: undefined reference to `__static_initialization_and_destruction_0(int, int)'
log.o(.text+0x3d96):log.cc: undefined reference to `__static_initialization_and_destruction_0(int, int)'
collect2: ld returned 1 exit status




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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]