Skip to Main Content

Berkeley DB Family

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error in QT for libraries building by the Cygwin

3272560Aug 4 2016 — edited Aug 10 2016

In Cygwin:

cd /cygdrive/d/db-6.2.23.NC/build_unix/

../dist/configure --prefix=/cygdrive/d/db-6.2.23.NC.Build --enable-cxx

make install

In Qt .pro:

     ...

     win32: LIBS += -L$$PWD/../../db-6.2.23.NC.Build/lib/ -ldb_cxx

     INCLUDEPATH += $$PWD/../../db-6.2.23.NC.Build/include

     DEPENDPATH += $$PWD/../../db-6.2.23.NC.Build/include

     win32:!win32-g++: PRE_TARGETDEPS += $$PWD/../../db-6.2.23.NC.Build/lib/db_cxx.lib

     else:win32-g++: PRE_TARGETDEPS += $$PWD/../../db-6.2.23.NC.Build/lib/libdb_cxx.a

Error Rebuild

...

D:\db-6.2.23.NC.Build\include\db.h:131: error: 'u_int32_t' does not name a type

typedef u_int32_t db_pgno_t; /* Page number type. */

...

This post has been answered by userBDBDMS-Oracle on Aug 5 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 7 2016
Added on Aug 4 2016
5 comments
535 views