Until now I had no interest in gzbuilder but I want to build a full debian 
package for gazebo so I'm trying to compile it.

The problem comes with the configure. It test for libgdal and it fails (both 
libgdal and libgdal-dev are installed).
It seems that the configure script tries to compile the following code to test 
libgdal:

include <gdal_priv.h>
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
 *    builtin and then its argument prototype would still apply.  */
char GDALAllRegister ();
int
main ()
{
GDALAllRegister ();

    return 0;
 }


The problem is the redifinition of GDALAllRegister()
That makes my compiler fail the compilation (GCC 4.1.2).
If I comment out the char GDALAllRegister (); the program compiles cleanly

I can just comment it out in my ./configure script but I'd like to find a 
better solution (for other users)

Any autoconf guru?

^_^/
Jordi Polo


_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to