I am going through the build process of the MGOS 2.5 source code on RHEL 5. (Note, had to use dos2unix command for most of the scripts before they could execute). I run into the following build error and was wondering if anyone knows why..... It is for the dbxml script : "buildall.sh" in (MGOS source code /Oem/dbxml and t*he error is in line 346 during the make* command. Here's the output just before the error get's generated (I have also included the script) buildall.sh <http://osgeo-org.1560.x6.nabble.com/file/n5053002/buildall.sh> :
Building Berkeley DB ./libtool --mode=compile gcc -c -I. -I../dist/.. -D_GNU_SOURCE -D_REENTRANT -O3 ../dist/../mutex/mut_tas.c libtool: compile: gcc -c -I. -I../dist/.. -D_GNU_SOURCE -D_REENTRANT -O3 ../dist/../mutex/mut_tas.c -fPIC -DPIC -o .libs/mut_tas.o ../dist/../mutex/mut_tas.c: In function ‘__db_tas_mutex_init’: ../dist/../mutex/mut_tas.c:39: warning: assignment makes pointer from integer without a cast ../dist/../mutex/mut_tas.c:44: error: ‘EINVAL’ undeclared (first use in this function) ../dist/../mutex/mut_tas.c:44: error: (Each undeclared identifier is reported only once ../dist/../mutex/mut_tas.c:44: error: for each function it appears in.) ../dist/../mutex/mut_tas.c:52: error: dereferencing pointer to incomplete type ../dist/../mutex/mut_tas.c: In function ‘__db_tas_mutex_lock_int’: ../dist/../mutex/mut_tas.c:78: error: ‘DB_MUTEXREGION’ undeclared (first use in this function) ../dist/../mutex/mut_tas.c:78: error: ‘mtxregion’ undeclared (first use in this function) ../dist/../mutex/mut_tas.c:92: error: dereferencing pointer to incomplete type ../dist/../mutex/mut_tas.c:93: warning: assignment makes pointer from integer without a cast ../dist/../mutex/mut_tas.c:111: error: dereferencing pointer to incomplete type ../dist/../mutex/mut_tas.c:143: error: dereferencing pointer to incomplete type ../dist/../mutex/mut_tas.c:143: error: dereferencing pointer to incomplete type ../dist/../mutex/mut_tas.c:155: error: ‘MUTEX_PAUSE’ undeclared (first use in this function) ../dist/../mutex/mut_tas.c:156: error: expected ‘;’ before ‘continue’ ../dist/../mutex/mut_tas.c:192: error: dereferencing pointer to incomplete type ../dist/../mutex/mut_tas.c:193: error: dereferencing pointer to incomplete type ../dist/../mutex/mut_tas.c:193: error: dereferencing pointer to incomplete type ../dist/../mutex/mut_tas.c: In function ‘__db_tas_mutex_unlock’: ../dist/../mutex/mut_tas.c:460: warning: assignment makes pointer from integer without a cast ../dist/../mutex/mut_tas.c:501: error: dereferencing pointer to incomplete type ../dist/../mutex/mut_tas.c:502: error: dereferencing pointer to incomplete type ../dist/../mutex/mut_tas.c: In function ‘__db_tas_mutex_destroy’: ../dist/../mutex/mut_tas.c:549: warning: assignment makes pointer from integer without a cast ../dist/../mutex/mut_tas.c:551: error: dereferencing pointer to incomplete type make: *** [mut_tas.lo] Error 1 BDBXML: Error build failed (2)................. ----- -MGnoob -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Upgrading-to-MGOS-2-5-from-2-2-tp5049931p5053002.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
