![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I'm having some problems compiling mod_db4 on RedHat ES 3. The configure process is working file, but on compile, I get this output: [sergio@Evans mod_db4]$ make /usr/local/apache_bdb/bin/apxs -c -S CC=g++ mod_db4.c sem_utils.c skiplist.c utils.c mm_hash.c -lmm -L/usr/local/lib -L/usr/local/bdb/lib -ldb_cxx g++ -DLINUX=22 -DHAVE_SET_DUMPABLE -DUSE_HSREGEX -fpic -DSHARED_MODULE -I/usr/local/apache_bdb/include -c mod_db4.c g++ -DLINUX=22 -DHAVE_SET_DUMPABLE -DUSE_HSREGEX -fpic -DSHARED_MODULE -I/usr/local/apache_bdb/include -c sem_utils.c g++ -DLINUX=22 -DHAVE_SET_DUMPABLE -DUSE_HSREGEX -fpic -DSHARED_MODULE -I/usr/local/apache_bdb/include -c skiplist.c g++ -DLINUX=22 -DHAVE_SET_DUMPABLE -DUSE_HSREGEX -fpic -DSHARED_MODULE -I/usr/local/apache_bdb/include -c utils.c utils.c: In function `int DB_COMPARE(void*, void*)': utils.c:120: `struct __db' has no member named `fname' utils.c:121: `struct __db' has no member named `fname' utils.c:126: `struct __db' has no member named `fname' utils.c:130: `struct __db' has no member named `fname' utils.c:130: `struct __db' has no member named `fname' utils.c:132: `struct __db' has no member named `dname' utils.c:133: `struct __db' has no member named `dname' utils.c:138: `struct __db' has no member named `dname' utils.c:141: `struct __db' has no member named `dname' utils.c:141: `struct __db' has no member named `dname' utils.c: In function `int DB_COMPARE_K(void*, void*)': utils.c:152: `struct __db' has no member named `fname' utils.c:158: `struct __db' has no member named `fname' utils.c:162: `struct __db' has no member named `fname' utils.c:165: `struct __db' has no member named `dname' utils.c:170: `struct __db' has no member named `dname' utils.c:173: `struct __db' has no member named `dname' utils.c: In function `void unregister_db(DB*)': utils.c:261: `struct __db' has no member named `fname' utils.c:262: `struct __db' has no member named `dname' apxs:Break: Command failed with rc=1 make: *** [mod_db4.so] Error 1 The __db struct most certain has fname and dname members as seen in the db.h header file, so I'm not exactly sure where the problem is. Any help out there would be greatly appreciated. OS: RedHat Linux ES 3 compiler: gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-49) Thanks! /sergio |
![]() |
| Thread Tools | |
| Display Modes | |
| |