Hello all,

   I am trying to build a mysql 3.23.30 with bdb 3.1.17 on Win2000.
I have put in the HAVE_BERKELEY_DB macro flag in sql\mysqld.mak
directory and
include db.h and libdb31d.lib into compilation flag.  However, I still
get error like this:

C:\mysql_src\sql>nmake -NOLOGO -f mysqld.mak CFG="mysqld - Win32 nt"
RECURSE=0
        cl.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nma00692.
ha_berkeley.cpp
ha_berkeley.h(159) : warning C4101: 'tmp' : unreferenced local variable
ha_berkeley.cpp(105) : error C2061: syntax error : identifier
'db_notices'
ha_berkeley.cpp(126) : error C2039: 'set_noticecall' : is not a member
of '__db_
env'
        ../include\db.h(262) : see declaration of '__db_env'
ha_berkeley.cpp(129) : error C2039: 'set_flags' : is not a member of
'__db_env'
        ../include\db.h(262) : see declaration of '__db_env'
ha_berkeley.cpp(267) : error C2061: syntax error : identifier
'db_notices'
ha_berkeley.cpp(269) : error C2065: 'notice' : undeclared identifier
ha_berkeley.cpp(271) : error C2065: 'DB_NOTICE_LOGFILE_CHANGED' :
undeclared ide
ntifier
ha_berkeley.cpp(271) : error C2051: case expression not constant
ha_berkeley.cpp(277) : warning C4060: switch statement contains no
'case' or 'de
fault' labels
ha_berkeley.cpp(330) : error C2039: 'app_private' : is not a member of
'__db'
        ../include\db.h(537) : see declaration of '__db'

  It is looking for db_notice that is supposed to be in db.h but
missing.
  It looks like I am not getting the correct version of bdb.  Does
anyone know
which version of bdb should i get?

Please advise and thanks in advance.

-- william



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