⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 aix.so

📁 berkeley db 4.6.21的源码。berkeley db是一个简单的数据库管理系统
💻 SO
字号:
m4_comment([$Id: aix.so,v 11.27 2005/04/06 01:45:22 mjc Exp $])m4_ref_title(Building m4_db for UNIX/POSIX systems,    AIX, @AIX, build_unix/notes, build_unix/freebsd)m4_nlistbeginm4_nlist([dnlm4_bold([I can't compile and run multithreaded applications.])m4_p([dnlSpecial compile-time flags are required when compiling threadedapplications on AIX.  If you are compiling a threaded application, youmust compile with the _THREAD_SAFE flag and load with specificlibraries; for example, "-lc_r".  Specifying the compiler name with atrailing "_r" usually performs the right actions for the system.])m4_indent([dnlxlc_r ...cc -D_THREAD_SAFE -lc_r ...])m4_p([dnlThe m4_db library will automatically build with the correct options.])])m4_hlm4_nlist([dnlm4_bold([I can't run using the m4_ref(DB_SYSTEM_MEM) option tom4_ref(dbenv_open).])m4_p([dnlAIX 4.1 allows applications to map only 10 system shared memorysegments.  In AIX 4.3, this has been raised to 256K segments, but onlyif you set the environment variable "export EXTSHM=ON".])])m4_hlm4_nlist([m4_bold([dnlOn AIX 4.3.2 (or before) I see duplicate symbol warnings whenbuilding the C++ shared library and when linking applications.])m4_p([dnlWe are aware of some duplicate symbol warnings with this platform,but they do not appear to affect the correct operation of applications.])])m4_hlm4_nlist([m4_bold([dnlOn AIX 4.3.3 I see undefined symbols for DbEnv::set_error_stream,Db::set_error_stream or DbEnv::verify when linking C++ applications.(These undefined symbols also appear when building the m4_db C++ exampleapplications).])m4_p([dnlBy default, m4_db is built with _LARGE_FILES set to 1 to support thecreation of "large" database files.  However, this also affects howstandard classes, like iostream, are named internally.  When buildingyour application, use a "-D_LARGE_FILES=1" compilation option, or insert"[#define _LARGE_FILES 1]" before any [#include] statements.])])m4_hlm4_nlist([dnlm4_bold([I can't create database files larger than 1GB on AIX.])m4_p([dnlIf you're running on AIX 4.1 or earlier, try changing the source codefor m4_path(os/os_open.c) to always specify the m4_bold(O_LARGEFILE)flag to the m4_manref(open, 2) system call, and recompile m4_db fromscratch.])m4_p([dnlAlso, the documentation for the IBM Visual Age compiler states that itdoes not not support the 64-bit filesystem APIs necessary for creatinglarge files; the ibmcxx product must be used instead.  We have not heardwhether the GNU gcc compiler supports the 64-bit APIs or not.])m4_p([dnlFinally, to create large files under AIX, the filesystem has to beconfigured to support large files and the system wide user hard-limitfor file sizes has to be greater than 1GB.])])m4_hlm4_nlist([dnlm4_bold([I see errors about "open64" when building m4_db applications.])m4_p([dnlSystem include files (most commonly fcntl.h) in some releases of AIX,HP-UX and Solaris redefine "open" when large-file support is enabled forapplications.  This causes problems when compiling applications because"open" is a method in the m4_db APIs.  To work around this problem:m4_nlistbeginm4_nlist([dnlAvoid including the problematical system include files in source codefiles which also include m4_db include files and call into the m4_dbAPI.])m4_nlistns([dnlBefore building m4_db, modify the generated include file db.h to itselfinclude the problematical system include files.])m4_nlistns([dnlTurn off m4_db large-file support by specifying them4_linkpage(M4RELDIR/ref/build_unix/conf, --disable-largefile,--disable-largefile) configuration option and rebuilding.])m4_nlistend])])m4_nlistendm4_page_footer

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -