Hi,

I'm a beginner in this field and I'm trying to install CARMEN nav toolkit on Ubuntu 10.04 so that I can then use GMapping algorithm. I am getting the following output when running configure:

Searching for tcpd.h... found
Looks like your system does not support access control.
Sorry about adding security holes.
Searching for jpeglib.h... found
Searching for zlib.h... found
Searching for ImageMagick (Wand)... not found
Searching for Java... not found
Searching for doxygen... found
Searching for SWIG... not found
Should the C++ tools be installed for CARMEN: [Y/n] y
Should the old laser server be used instead of the new one: [y/N] n

Type the install prefix to use for public installs, or hit enter to keep the
default as /usr/local. (This prefix is not currently used by any rules.)

Install path [/usr/local/]:

You must have Linux kernel 2.0.20 to compile:
Nomadic Technologies XR4000

These are the robot types CARMEN currently supports:

  1. ActiveMedia Pioneer I
  2. ActiveMedia Pioneer II
  3. iRobot ATRV
  4. iRobot ATRV-JR
  5. iRobot B21R
  6. Scout
  7. OrcBoard v.4
  8. OrcBoard v.5 (Experimental)
  9. Segway RMP
  10. *

Please select which robots you wish to compile base modules for.
e.g., 1, 2, 6 would compile support for both Pioneer types and a Scout.
Hit enter to compile them all, or type "none" to compile no base module
support, for example, if you will be working exclusively in simulation.

Robot numbers [*]: 1,2,3,4,5,6,7,8

Compiling base support for: pioneer rflex scout orc4 orc5

The problem occurs when running 'make':


* Module  : GLOBAL
* Comment : CARMEN global functions
****************************************************************

--> Starting make
---- Assigning dependencies in GLOBAL
---- Compiling global.c to global.o (cc)
cc1: warnings being treated as errors
global.c: In function carmen_get_host’:
global.c:411: error: ignoring return value of fscanf, declared with attribute     warn_unused_result
make[3]: *** [global.o] Error 1
exit: 7: Illegal number: -1
make[2]: *** [libraries] Error 2
make[1]: *** [phase1] Error 2
exit: 1: Illegal number: -1
make: *** [phase1] Error 2

I have seen a post describing this that was posted 6 years ago but there was no solution to it. Can anyone please help?

Thanks!