OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Aleksander Adamowski (oloaltkom.com.pl)
Date: Fri Jun 28 2002 - 14:32:16 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    In OpenBSD 3.0 I had no problems compiling and installing MySQL.
    After the upgrade to 3.1, suddenly it started giving me errors during
    compilation.

    For example, when I'm configuring and compiling MySQL 3.23.51:

    ./configure --with-innodb --prefix=/usr/local/mysql --with-vio
    --with-openssl && make
    checking build system type... i386-unknown-openbsd3.1
    checking host system type... i386-unknown-openbsd3.1
    checking target system type... i386-unknown-openbsd3.1
    checking for a BSD compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    .
    .
    .<configure succeeds and compilation starts. after quite a long while...>
    .
    g++ -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -o
    mysqld sql_lex.o item.o item_sum.o ite
    m_buff.o item_func.o item_cmpfunc.o item_strfunc.o item_timefunc.o
    thr_malloc.o item_create.o field.o key.o sq
    l_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 mysq
    ld.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_in
    sert.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
    ../innobase/usr/libusr.a ../innobase/odbc/libodb
    c.a ../innobase/srv/libsrv.a ../innobase/dict/libdict.a
    ../innobase/que/libque.a ../innobase/srv/libsrv.a ../i
    nnobase/ibuf/libibuf.a ../innobase/row/librow.a
    ../innobase/pars/libpars.a ../innobase/btr/libbtr.a ../innobas
    e/trx/libtrx.a ../innobase/read/libread.a ../innobase/usr/libusr.a
    ../innobase/buf/libbuf.a ../innobase/ibuf/l
    ibibuf.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 ../in
    nobase/rem/librem.a ../innobase/thr/libthr.a ../innobase/com/libcom.a
    ../innobase/sync/libsync.a ../innobase/d
    ata/libdata.a ../innobase/mach/libmach.a ../innobase/ha/libha.a
    ../innobase/dyn/libdyn.a ../innobase/mem/libme
    m.a ../innobase/sync/libsync.a ../innobase/ut/libut.a
    ../innobase/os/libos.a ../innobase/ut/libut.a ../isam/li
    bnisam.a ../merge/libmerge.a ../myisam/libmyisam.a
    ../myisammrg/libmyisammrg.a ../heap/libheap.a ../mysys/libm
    ysys.a ../dbug/libdbug.a ../regex/libregex.a ../strings/libmystrings.a
    -lc_r -lz -lm -pthread
    dict0crea.o: Undefined symbol `_btr_pcur_move_to_next_user_rec'
    referenced from text segment
    dict0load.o: Undefined symbol `_btr_pcur_is_on_user_rec' referenced from
    text segment
    dict0load.o: Undefined symbol `_btr_pcur_move_to_next_user_rec'
    referenced from text segment
    dict0load.o: Undefined symbol `_btr_pcur_move_to_next_user_rec'
    referenced from text segment
    dict0load.o: Undefined symbol `_btr_pcur_is_on_user_rec' referenced from
    text segment
    dict0load.o: Undefined symbol `_btr_pcur_is_on_user_rec' referenced from
    text segment
    dict0load.o: Undefined symbol `_btr_pcur_is_on_user_rec' referenced from
    text segment
    dict0load.o: Undefined symbol `_btr_pcur_is_on_user_rec' referenced from
    text segment
    .
    .
    .
    .<lots of errors here>
    .
    page0cur.o: Undefined symbol `_page_dir_find_owner_slot' referenced from
    text segment
    page0cur.o: Undefined symbol `_page_dir_find_owner_slot' referenced from
    text segment
    page0cur.o: Undefined symbol `_page_mem_free' referenced from text segment
    collect2: ld returned 1 exit status
    *** Error code 1

    Stop in /root/misc/software/mysql/mysql-3.23.51/sql (line 347 of Makefile).
    *** Error code 1

    Stop in /root/misc/software/mysql/mysql-3.23.51/sql (line 393 of Makefile).
    *** Error code 1

    Stop in /root/misc/software/mysql/mysql-3.23.51 (line 273 of Makefile).
    *** Error code 1

    Stop in /root/misc/software/mysql/mysql-3.23.51 (line 401 of Makefile).

    I also _were_ trying to compile from the source packages that I
    successfully compiled in 3.0 (MySQL 3.23.49), with exactly the same
    settings as before the upgrade. Compilation always failed.
    Unfortunately, I need MySQL 3.23.50 or newer, so I can't use the one
    from the ports tree.

    What might be the cause of those problems?

    Regards,

    -- 
        Olo
            GG#: 274614
            ICQ UIN: 19780575 
            http://olo.office.altkom.com.pl