[mapguide-internals] varargs/stdargs Compatibility Error in Linux Build

Steve Dang steve.dang at autodesk.com
Tue May 5 13:08:44 EDT 2009

We are using BDB XML 2.3 which is not far behind from the current release 2.4.
We will probably upgrade to 2.5 which will release some time this year.


-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org [mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of UV
Sent: Thursday, April 30, 2009 11:55 PM
To: MapGuide Internals Mail List
Subject: [mapguide-internals] varargs/stdargs Compatibility Error in Linux Build

building MapGuide Trunk on Centos5.2
- I completed the yum install list for required libraries on the wiki...
- Is there maybe a requirement for a specific GCC version ?

using gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)
I get the following error in the dbxml code!!!

/usr/lib/gcc/i386-redhat-linux/4.1.2/include/varargs.h:4:2: error: 
#error "GCC no longer implements <varargs.h>."
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/varargs.h:5:2: error: 
#error "Revise your code to use <stdarg.h>."
In file included from ../dist/../mutex/mut_pthread.c:13:
../dist/../dbinc/mutex_int.h:819: error: expected 
specifier-qualifier-list before 'tsl_t'
../dist/../mutex/mut_pthread.c: In function '__db_pthread_mutex_lock':

this looks like its time to update the included dbxml libraries.....    
    any suggestions?

mapguide-internals mailing list
mapguide-internals at lists.osgeo.org

More information about the mapguide-internals mailing list