carmen

Differences between revisions 8 and 9
Revision 8 as of 2007-07-04 20:04:16
Size: 33660
Editor: pool-68-162-140-180
Comment:
Revision 9 as of 2007-07-04 20:12:35
Size: 34393
Editor: pool-68-162-140-180
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
How-To Download, Install, and Make Carmen on Ubuntu 7.04 ==How-To Download, Install, and Make Carmen on Ubuntu 7.04==
Line 17: Line 17:

./configure will give you many errors. Here is how to correct most of them quick and dirty. Read below to see step by step how to arrive at these packages:
{{{#!cplusplus
apt-get install --yes --force-yes libgtk2.0-* libwrap0-deb libjpeg-dev lib*zlib* doxygen doxygen-doc doxygen-docs doxygen-gui swig swig-doc swig-examples g++ libgtk1.2-dev gdk-imlib-dev
rm -rf laser
./configure --no-java
}}}

Answer N to Python bindings
Answer N to oldlaser (we want new laser)
Accept all robots but SegWay
Remove camera from Makefile packages

----
Line 86: Line 101:
-- ----
Line 186: Line 201:
----
Line 213: Line 230:

----
Line 271: Line 290:

----
Line 290: Line 312:
If you get this error you need to apt-get install g++ and make again. It will probably error out on the Segway: ----

If you get this error you need to apt-get install g++ and make again.

make again and
It will probably error out on the Segway:
Line 351: Line 377:
----
Line 412: Line 440:
----
Line 439: Line 467:
----
Line 531: Line 560:
----
Line 894: Line 924:
----

Congratulations you have now downloaded, configured and made Carmen on Ubuntu!

http://carmen.sourceforge.net/images/carmen-logo-big.png

Carnegie Mellon Robot Navigation Toolkit http://carmen.sourceforge.net/

==How-To Download, Install, and Make Carmen on Ubuntu 7.04==

1. Download Carmen from SourceForge

http://downloads.sourceforge.net/carmen/carmen-0.6.6-beta.tgz?modtime=1178804560&big_mirror=0

Extract file with "tar -xzvf carmen<tab>"

Make symlink for yourself "ln -s carmen<tab> carmen"

2. Install following the Installation Guidelines http://carmen.sourceforge.net/getting_carmen.html

./configure will give you many errors. Here is how to correct most of them quick and dirty. Read below to see step by step how to arrive at these packages:

   1 apt-get install --yes --force-yes libgtk2.0-* libwrap0-deb  libjpeg-dev lib*zlib*  doxygen doxygen-doc doxygen-docs doxygen-gui swig swig-doc swig-examples g++  libgtk1.2-dev gdk-imlib-dev
   2 rm -rf laser
   3 ./configure --no-java

Answer N to Python bindings Answer N to oldlaser (we want new laser) Accept all robots but SegWay Remove camera from Makefile packages


Address the output of ./configure piece by piece:

   1 ./configure 
   2 Using $CC as gcc...
   3 Found processor unknown.
   4 Congratulations. You are running Linux.
   5 Found kernel 2.6.20-16-generic.
   6 This doesn't look like SuSE!
   7 Searching for canlib... 
   8 Could not find Kvaser canlib header file. I looked for
   9 /usr/include/canlib.h
  10 but it does not seem to exist.
  11 
  12 Searching for GTK... not found. 
  13 I tried to execute pkg-config gtk+-2.0
  14 and got this response:
  15 
  16 Package gtk+-2.0 was not found in the pkg-config search path.
  17 Perhaps you should add the directory containing `gtk+-2.0.pc'
  18 to the PKG_CONFIG_PATH environment variable
  19 No package 'gtk+-2.0' found
  20 
  21 If you do not have graphics, CARMEN's display modules will not compile, but 
  22 all other modules should compile without problem. Please install gtk 2.0, 
  23 or re-run ./configure with --nographics.


Kvaser canlib.h can be found here: http://www.kvaser.com/download/index_developer.htm

tar -xzvf the archive and then copy canlib.h to appease ./configure cp ~/linuxcan_v2/include/canlib.h /usr/include/canlib.h

Now the .h files will need some libraries installed. First vi /etc/apt/source.list and uncomment the restricted universe repositories. Then apt-get update; apt-get install the following packages

gtk+-2.0 = libgtk2.0-* tcpd.h = libwrap0-deb jpeglib.h = libjpeg-dev zlib.h = lib*zlib* Wand = ? Java = j2sdk1.4, and then give configure it the environment variable it wants

"export JAVA_HOME=/usr"

   1 sub verify_java {
   2   my $error = undef;
   3 
   4   print "Searching for Java... ";
   5   if (defined $ENV{JAVA_HOME}) {
   6     if (-x "$ENV{JAVA_HOME}/bin/javac") {
   7       print "found\n";
   8       return $ENV{JAVA_HOME}
   9     }
  10     print<<EOF;
  11 ${red}not found${normal}.

doxygen = doxygen doxygen-doc doxygen-docs doxygen-gui SWIG = swig swig-doc swig-examples


Now you should be ready to ./configure again

   1 carmen/src# ./configure 
   2 Using $CC as gcc...
   3 Found processor unknown.
   4 Congratulations. You are running Linux.
   5 Found kernel 2.6.20-16-generic.
   6 This doesn't look like SuSE!
   7 Searching for canlib... Found canlib header at /usr/include/canlib.h
   8 Searching for GTK... found, version 2.10.11
   9 Searching for joystick... found at /usr/include/linux/joystick.h
  10 
  11 It looks like this is a system include, so I won't add it to the standard
  12 include path. Adding partial system include paths is usually a recipe for
  13 disaster. If this is the wrong thing to do, you could add the following
  14 line to Makefile.vars:
  15 JOYSTICK_INCLUDE = -I/usr/include/linux/joystick.h
  16 
  17 Searching for tcpd.h... found
  18 Looks like your system supports access control. Very good.
  19 Searching for jpeglib.h... found
  20 Searching for zlib.h... found
  21 Searching for Wand... not found
  22 Searching for Java... found
  23 Searching for doxygen... found
  24 Searching for SWIG... found
  25 Searching for Python... found
  26 Should Python Bindings be installed: [y/N] N
  27 Should the old laser server be used instead of the new one: [y/N] N
  28 ERROR: The directory called laser exitsts.
  29 Please remove it and run configure again.
  30 
  31 carmen/src# ls -lr laser
  32 total 0
  33 carmen/src# rm -rf laser

For this first example we answered N to the Python bindings.

   1 carmen/src# ./configure 
   2 Using $CC as gcc...
   3 Found processor unknown.
   4 Congratulations. You are running Linux.
   5 Found kernel 2.6.20-16-generic.
   6 This doesn't look like SuSE!
   7 Searching for canlib... Found canlib header at /usr/include/canlib.h
   8 Searching for GTK... found, version 2.10.11
   9 Searching for joystick... found at /usr/include/linux/joystick.h
  10 
  11 It looks like this is a system include, so I won't add it to the standard
  12 include path. Adding partial system include paths is usually a recipe for
  13 disaster. If this is the wrong thing to do, you could add the following
  14 line to Makefile.vars:
  15 JOYSTICK_INCLUDE = -I/usr/include/linux/joystick.h
  16 
  17 Searching for tcpd.h... found
  18 Looks like your system supports access control. Very good.
  19 Searching for jpeglib.h... found
  20 Searching for zlib.h... found
  21 Searching for Wand... not found
  22 Searching for Java... found
  23 Searching for doxygen... found
  24 Searching for SWIG... found
  25 Searching for Python... found
  26 Should Python Bindings be installed: [y/N] N
  27 Should the old laser server be used instead of the new one: [y/N] N
  28 
  29 Type the install prefix to use for public installs, or hit enter to keep the
  30 default as /usr/local. (This prefix is not currently used by any rules.)
  31 
  32 Install path [/usr/local/]: 
  33 
  34 You must have Linux kernel 2.0.20 to compile:
  35 Nomadic Technologies XR4000
  36 
  37 These are the robot types CARMEN currently supports:
  38 1. ActiveMedia Pioneer I
  39 2. ActiveMedia Pioneer II
  40 3. iRobot ATRV
  41 4. iRobot ATRV-JR
  42 5. iRobot B21R
  43 6. Scout
  44 7. OrcBoard v.4 
  45 8. OrcBoard v.5 (Experimental)
  46 8. Segway RMP
  47 9. *
  48 
  49 Please select which robots you wish to compile base modules for.
  50 e.g., 1, 2, 6 would compile support for both Pioneer types and a Scout.
  51 Hit enter to compile them all, or type "none" to compile no base module
  52 support, for example, if you will be working exclusively in simulation.
  53 
  54 Robot numbers [*]: 
  55 Very well, compiling support for all base types.


Now you should be ready to make. Good luck getting java to work. I ended up skipping over it.

   1 ****************************************************************
   2 * Module  : JAVA LIBRARIES
   3 * Comment : Module for interfacing java programs with Carmen!
   4 ****************************************************************
   5 
   6   --> Starting make
   7     ---- Compiling ipcjava.c to ipcjava.o (C)
   8 In file included from /usr/include/_G_config.h:44,
   9                  from /usr/include/libio.h:32,
  10                  from /usr/include/stdio.h:72,
  11                  from ipcjava.c:67:
  12 /usr/include/gconv.h:72: error: expected declaration specifiers or ‘...’ beforesize_t
  13 /usr/include/gconv.h:88: error: expected declaration specifiers or ‘...’ beforesize_t
  14 /usr/include/gconv.h:97: error: expected declaration specifiers or ‘...’ beforesize_t
  15 /usr/include/gconv.h:174: error: expected specifier-qualifier-list beforesize_t
  16 In file included from /usr/include/stdio.h:72,
  17 
  18 make[3]: *** [ipcjava.o] Error 1
  19 exit: 7: Illegal number: -1
  20 make[2]: *** [libraries] Error 2
  21 make[1]: *** [phase1] Error 2
  22 exit: 1: Illegal number: -1
  23 make: *** [phase1] Error 2


So, let's ./configure again and remove java

   1 carmen/src# ./configure --nojava
   2 Using $CC as gcc...
   3 Found processor unknown.
   4 Congratulations. You are running Linux.
   5 Found kernel 2.6.20-16-generic.
   6 This doesn't look like SuSE!
   7 Searching for canlib... Found canlib header at /usr/include/canlib.h
   8 Searching for GTK... found, version 2.10.11
   9 Searching for joystick... found at /usr/include/linux/joystick.h
  10 
  11 It looks like this is a system include, so I won't add it to the standard
  12 include path. Adding partial system include paths is usually a recipe for
  13 disaster. If this is the wrong thing to do, you could add the following
  14 line to Makefile.vars:
  15 JOYSTICK_INCLUDE = -I/usr/include/linux/joystick.h
  16 
  17 Searching for tcpd.h... found
  18 Looks like your system supports access control. Very good.
  19 Searching for jpeglib.h... found
  20 Searching for zlib.h... found
  21 Searching for Wand... not found
  22 Searching for doxygen... found
  23 Searching for SWIG... found
  24 Searching for Python... found
  25 Should Python Bindings be installed: [y/N] N
  26 Should the old laser server be used instead of the new one: [y/N] N
  27 
  28 Type the install prefix to use for public installs, or hit enter to keep the
  29 default as /usr/local. (This prefix is not currently used by any rules.)
  30 
  31 Install path [/usr/local/]: 
  32 
  33 You must have Linux kernel 2.0.20 to compile:
  34 Nomadic Technologies XR4000
  35 
  36 These are the robot types CARMEN currently supports:
  37 1. ActiveMedia Pioneer I
  38 2. ActiveMedia Pioneer II
  39 3. iRobot ATRV
  40 4. iRobot ATRV-JR
  41 5. iRobot B21R
  42 6. Scout
  43 7. OrcBoard v.4 
  44 8. OrcBoard v.5 (Experimental)
  45 8. Segway RMP
  46 9. *
  47 
  48 Please select which robots you wish to compile base modules for.
  49 e.g., 1, 2, 6 would compile support for both Pioneer types and a Scout.
  50 Hit enter to compile them all, or type "none" to compile no base module
  51 support, for example, if you will be working exclusively in simulation.
  52 
  53 Robot numbers [*]: 
  54 Very well, compiling support for all base types.
  55 
  56 ----
  57 
  58 root@hwilde-r60u:/home/hwilde/carmen/src# make
  59 
  60 ****************************************************************
  61 * Module  : IPC
  62 * Comment : Flexible communications package written by Reid Simmons
  63 ****************************************************************
  64 
  65   --> Starting make
  66     ---- Archiving ipc.o queryResponse.o marshall.o timer.o list.o behaviors.o tcModError.o datamsg.o formatters.o hash.o idtable.o key.o primFmttrs.o reg.o sendMsg.o tcaMem.o tcaRef.o comModule.o com.o globalM.o globalMUtil.o strList.o modLogging.o modVar.o resMod.o parseFmttrs.o lex.o printData.o into libipc.so.1 (C)
  67 make[3]: g++: Command not found
  68 make[3]: *** [libipc.so.1] Error 127
  69 exit: 7: Illegal number: -1
  70 make[2]: *** [binaries] Error 2
  71 make[1]: *** [phase2] Error 2
  72 exit: 1: Illegal number: -1
  73 make: *** [phase2] Error 2


If you get this error you need to apt-get install g++ and make again.

make again and It will probably error out on the Segway:

   1 ****************************************************************
   2 * Module  : SEGWAY
   3 * Comment : Segway RMP Base Module
   4 ****************************************************************
   5 
   6   --> Starting make
   7     ---- Compiling segwaycore.c to segwaycore.o (C)
   8 In file included from segwaycore.c:30:
   9 /usr/include/canlib.h:13:21: error: canstat.h: No such file or directory
  10 In file included from segwaycore.c:30:
  11 /usr/include/canlib.h:130: error: expected ‘=’, ‘,’, ‘;’, ‘asmor__attribute__beforecanSetDriverMode
  12 /usr/include/canlib.h:135: error: expected ‘=’, ‘,’, ‘;’, ‘asmor__attribute__beforecanClose
  13 /usr/include/canlib.h:137: error: expected ‘=’, ‘,’, ‘;’, ‘asmor__attribute__beforecanGetRawHandle
  14 /usr/include/canlib.h:139: error: expected ‘=’, ‘,’, ‘;’, ‘asmor__attribute__beforecanBusOn
  15 /usr/include/canlib.h:141: error: expected ‘=’, ‘,’, ‘;’, ‘asmor__attribute__beforecanResetBus
  16 /usr/include/canlib.h:143: error: expected ‘=’, ‘,’, ‘;’, ‘asmor__attribute__beforecanBusOff
  17 /usr/include/canlib.h:145: error: expected ‘=’, ‘,’, ‘;’, ‘asmor__attribute__beforecanSetBusParams
  18 /usr/include/canlib.h:153: error: expected ‘=’, ‘,’, ‘;’, ‘asmor__attribute__beforecanGetBusParams
  19 /usr/include/canlib.h:161: error: expected ‘=’, ‘,’, ‘;’, ‘asmor__attribute__beforecanSetBusParamsC200
  20 /usr/include/canlib.h:165: error: expected ‘=’, ‘,’, ‘;’, ‘asmor__attribute__beforecanSetBusOutputControl
  21 /usr/include/canlib.h:168: error: expected ‘=’, ‘,’, ‘;’, ‘asmor__attribute__beforecanGetBusOutputControl
  22 /usr/include/canlib.h:171: error: expected ‘=’, ‘,’, ‘;’, ‘asmor__attribute__beforecanAccept
  23 /usr/include/canlib.h:175: error: expected ‘=’, ‘,’, ‘;’, ‘asmor__attribute__beforecanReadStatus
  24 /usr/include/canlib.h:178: error: expected ‘=’, ‘,’, ‘;’, ‘asmor__attribute__beforecanReadErrorCounters
  25 /usr/include/canlib.h:183: error: expected ‘=’, ‘,’, ‘;’, ‘asmor__attribute__beforecanWrite
  26 /usr/include/canlib.h:187: error: expected ‘=’, ‘,’, ‘;’, ‘asmor__attribute__beforecanWriteWait
  27 /usr/include/canlib.h:191: error: expected ‘=’, ‘,’, ‘;’, ‘asmor__attribute__beforecanWriteSync
  28 /usr/include/canlib.h:194: error: expected ‘=’, ‘,’, ‘;’, ‘asmor__attribute__beforecanReadWait
  29 /usr/include/canlib.h:202: error: expected ‘=’, ‘,’, ‘;’, ‘asmor__attribute__beforecanRead
  30 /usr/include/canlib.h:210: error: expected ‘=’, ‘,’, ‘;’, ‘asmor__attribute__beforecanTranslateBaud
  31 /usr/include/canlib.h:217: error: expected ‘=’, ‘,’, ‘;’, ‘asmor__attribute__beforecanGetErrorText
  32 /usr/include/canlib.h:231: error: expected ‘=’, ‘,’, ‘;’, ‘asmor__attribute__beforecanIoCtl
  33 /usr/include/canlib.h:234: error: expected ‘=’, ‘,’, ‘;’, ‘asmor__attribute__beforecanReadTimer
  34 /usr/include/canlib.h:236: error: expected ‘=’, ‘,’, ‘;’, ‘asmor__attribute__beforecanGetNumberOfChannels
  35 /usr/include/canlib.h:238: error: expected ‘=’, ‘,’, ‘;’, ‘asmor__attribute__beforecanGetChannelData
  36 /usr/include/canlib.h:242: error: expected ‘=’, ‘,’, ‘;’, ‘asmor__attribute__beforecanSetNotify
  37 cc1: warnings being treated as errors
  38 segwaycore.c: In functionsegway_update_status’:
  39 segwaycore.c:49: warning: implicit declaration of functioncanReadWait
  40 segwaycore.c:54: warning: implicit declaration of functioncanBusOn
  41 segwaycore.c: In functionsegway_initialize’:
  42 segwaycore.c:140: warning: implicit declaration of functioncanSetBusParams
  43 segwaycore.c: In functionsegway_free’:
  44 segwaycore.c:158: warning: implicit declaration of functioncanClose
  45 segwaycore.c: In functionsegway_kill’:
  46 segwaycore.c:166: warning: implicit declaration of functioncanWrite
  47 make[6]: *** [segwaycore.o] Error 1
  48 exit: 7: Illegal number: -1
  49 make[5]: *** [libraries] Error 2
  50 make[4]: *** [all] Error 2
  51 make[3]: *** [segway] Error 2
  52 exit: 7: Illegal number: -1
  53 make[2]: *** [binaries] Error 2
  54 make[1]: *** [phase2] Error 2
  55 exit: 1: Illegal number: -1
  56 make: *** [phase2] Error 2


If you cannot make the segway, ./configure again and choose the other robots

   1 /carmen/src# ./configure --nojava 
   2 Using $CC as gcc...
   3 Found processor unknown.
   4 Congratulations. You are running Linux.
   5 Found kernel 2.6.20-16-generic.
   6 This doesn't look like SuSE!
   7 Searching for canlib... Found canlib header at /usr/include/canlib.h
   8 Searching for GTK... found, version 2.10.11
   9 Searching for joystick... found at /usr/include/linux/joystick.h
  10 
  11 It looks like this is a system include, so I won't add it to the standard
  12 include path. Adding partial system include paths is usually a recipe for
  13 disaster. If this is the wrong thing to do, you could add the following
  14 line to Makefile.vars:
  15 JOYSTICK_INCLUDE = -I/usr/include/linux/joystick.h
  16 
  17 Searching for tcpd.h... found
  18 Looks like your system supports access control. Very good.
  19 Searching for jpeglib.h... found
  20 Searching for zlib.h... found
  21 Searching for Wand... not found
  22 Searching for doxygen... found
  23 Searching for SWIG... found
  24 Searching for Python... found
  25 Should Python Bindings be installed: [y/N] N
  26 Should the old laser server be used instead of the new one: [y/N] N
  27 
  28 Type the install prefix to use for public installs, or hit enter to keep the
  29 default as /usr/local. (This prefix is not currently used by any rules.)
  30 
  31 Install path [/usr/local/]: 
  32 
  33 You must have Linux kernel 2.0.20 to compile:
  34 Nomadic Technologies XR4000
  35 
  36 These are the robot types CARMEN currently supports:
  37 1. ActiveMedia Pioneer I
  38 2. ActiveMedia Pioneer II
  39 3. iRobot ATRV
  40 4. iRobot ATRV-JR
  41 5. iRobot B21R
  42 6. Scout
  43 7. OrcBoard v.4 
  44 8. OrcBoard v.5 (Experimental)
  45 8. Segway RMP
  46 9. *
  47 
  48 Please select which robots you wish to compile base modules for.
  49 e.g., 1, 2, 6 would compile support for both Pioneer types and a Scout.
  50 Hit enter to compile them all, or type "none" to compile no base module
  51 support, for example, if you will be working exclusively in simulation.
  52 
  53 Robot numbers [*]: 1,2,3,4,5,6,7,8
  54 
  55 Compiling base support for: pioneer rflex scout orc4 orc5


make again, you might see this error message.

   1 ****************************************************************
   2 * Module  : MAP_EDITOR
   3 * Comment : Provides photoshop-like map editor.
   4 ****************************************************************
   5 
   6   --> Starting make
   7     ---- Compiling map_editor.c to map_editor.o (C)
   8 /bin/sh: gtk-config: not found
   9 map_editor.c:29:21: error: gtk/gtk.h: No such file or directory
  10 In file included from map_editor.c:31:
  11 map_editor.h:37:23: error: gdk_imlib.h: No such file or directory
  12 In file included from map_editor.c:31:

carmen/src# gtk-config The program 'gtk-config' is currently not installed. You can install it by typing: apt-get install libgtk1.2-dev bash: gtk-config: command not found

apt-get install libgtk1.2-dev apt-get install gdk-imlib-dev


This should get you all the way to the Phillips Camera

   1 ****************************************************************
   2 * Module  : QUICKCAM
   3 * Comment : Phillips Camera Module
   4 ****************************************************************
   5 
   6   --> Starting make
   7 ccvt_mmx.S:31:27: error: linux/linkage.h: No such file or directory
   8 make[6]: *** [ccvt_mmx.o] Error 1
   9 exit: 7: Illegal number: -1
  10 make[5]: *** [libraries] Error 2
  11 make[4]: *** [all] Error 2
  12 make[3]: *** [quickcam/libquickcam.a] Error 2
  13 exit: 7: Illegal number: -1
  14 make[2]: *** [binaries] Error 2
  15 make[1]: *** [phase2] Error 2
  16 exit: 1: Illegal number: -1
  17 make: *** [phase2] Error 2

I don't know where it is looking for linkage.h or how to fix this error, but I have the pwc.ko module compiled on another platform so this is not a show stopper at the moment.

   1 carmen/src# locate linkage.h
   2 /usr/src/linux-headers-2.6.20-15-generic/include/linux/linkage.h
   3 /usr/src/linux-headers-2.6.20-16-generic/include/linux/linkage.h
   4 /usr/src/linux-headers-2.6.20-16/include/asm-x86_64/linkage.h
   5 /usr/src/linux-headers-2.6.20-16/include/asm-s390/linkage.h
   6 /usr/src/linux-headers-2.6.20-16/include/asm-sh64/linkage.h
   7 /usr/src/linux-headers-2.6.20-16/include/asm-xtensa/linkage.h
   8 /usr/src/linux-headers-2.6.20-16/include/asm-sh/linkage.h
   9 /usr/src/linux-headers-2.6.20-16/include/asm-i386/linkage.h
  10 /usr/src/linux-headers-2.6.20-16/include/asm-sparc64/linkage.h
  11 /usr/src/linux-headers-2.6.20-16/include/asm-mips/linkage.h
  12 /usr/src/linux-headers-2.6.20-16/include/asm-m68knommu/linkage.h
  13 /usr/src/linux-headers-2.6.20-16/include/asm-m32r/linkage.h
  14 /usr/src/linux-headers-2.6.20-16/include/asm-sparc/linkage.h
  15 /usr/src/linux-headers-2.6.20-16/include/asm-um/linkage.h
  16 /usr/src/linux-headers-2.6.20-16/include/asm-v850/clinkage.h
  17 /usr/src/linux-headers-2.6.20-16/include/asm-v850/linkage.h
  18 /usr/src/linux-headers-2.6.20-16/include/asm-alpha/linkage.h
  19 /usr/src/linux-headers-2.6.20-16/include/asm-avr32/linkage.h
  20 /usr/src/linux-headers-2.6.20-16/include/linux/linkage.h
  21 /usr/src/linux-headers-2.6.20-16/include/asm-h8300/linkage.h
  22 /usr/src/linux-headers-2.6.20-16/include/asm-arm26/linkage.h
  23 /usr/src/linux-headers-2.6.20-16/include/asm-parisc/linkage.h
  24 /usr/src/linux-headers-2.6.20-16/include/asm-frv/linkage.h
  25 /usr/src/linux-headers-2.6.20-16/include/asm-m68k/linkage.h
  26 /usr/src/linux-headers-2.6.20-16/include/asm-ia64/linkage.h
  27 /usr/src/linux-headers-2.6.20-16/include/asm-cris/linkage.h
  28 /usr/src/linux-headers-2.6.20-16/include/asm-powerpc/linkage.h
  29 /usr/src/linux-headers-2.6.20-16/include/asm-arm/linkage.h
  30 /usr/src/linux-headers-2.6.20-15/include/asm-x86_64/linkage.h
  31 /usr/src/linux-headers-2.6.20-15/include/asm-s390/linkage.h
  32 /usr/src/linux-headers-2.6.20-15/include/asm-sh64/linkage.h
  33 /usr/src/linux-headers-2.6.20-15/include/asm-xtensa/linkage.h
  34 /usr/src/linux-headers-2.6.20-15/include/asm-sh/linkage.h
  35 /usr/src/linux-headers-2.6.20-15/include/asm-i386/linkage.h
  36 /usr/src/linux-headers-2.6.20-15/include/asm-sparc64/linkage.h
  37 /usr/src/linux-headers-2.6.20-15/include/asm-mips/linkage.h
  38 /usr/src/linux-headers-2.6.20-15/include/asm-m68knommu/linkage.h
  39 /usr/src/linux-headers-2.6.20-15/include/asm-m32r/linkage.h
  40 /usr/src/linux-headers-2.6.20-15/include/asm-sparc/linkage.h
  41 /usr/src/linux-headers-2.6.20-15/include/asm-um/linkage.h
  42 /usr/src/linux-headers-2.6.20-15/include/asm-v850/clinkage.h
  43 /usr/src/linux-headers-2.6.20-15/include/asm-v850/linkage.h
  44 /usr/src/linux-headers-2.6.20-15/include/asm-alpha/linkage.h
  45 /usr/src/linux-headers-2.6.20-15/include/asm-avr32/linkage.h
  46 /usr/src/linux-headers-2.6.20-15/include/linux/linkage.h
  47 /usr/src/linux-headers-2.6.20-15/include/asm-h8300/linkage.h
  48 /usr/src/linux-headers-2.6.20-15/include/asm-arm26/linkage.h
  49 /usr/src/linux-headers-2.6.20-15/include/asm-parisc/linkage.h
  50 /usr/src/linux-headers-2.6.20-15/include/asm-frv/linkage.h
  51 /usr/src/linux-headers-2.6.20-15/include/asm-m68k/linkage.h
  52 /usr/src/linux-headers-2.6.20-15/include/asm-ia64/linkage.h
  53 /usr/src/linux-headers-2.6.20-15/include/asm-cris/linkage.h
  54 /usr/src/linux-headers-2.6.20-15/include/asm-powerpc/linkage.h
  55 /usr/src/linux-headers-2.6.20-15/include/asm-arm/linkage.h

The quickest way to get around this is to remove the camera package from the Makefile

   1 PACKAGES = ipc global param_daemon base laser robot simulator robotgui \
   2            maptools mapeditor logger logtools hmap \
   3            localize navigator vasco proccontrol \
   4            camera joystick pantilt gps
   5 }
   6 
   7 ----
   8 
   9 Now you should be able to make
  10 
  11 {{{#!cplusplus
  12 carmen/src# make
  13 
  14        ***********
  15        E X P O R T
  16        ***********
  17 
  18 
  19        *****************
  20        L I B R A R I E S
  21        *****************
  22 
  23 
  24 ****************************************************************
  25 * Module  : IPC
  26 * Comment : Flexible communications package written by Reid Simmons
  27 ****************************************************************
  28 
  29   --> Starting make
  30   <-- Make done
  31 
  32 ****************************************************************
  33 * Module  : GLOBAL
  34 * Comment : CARMEN global functions
  35 ****************************************************************
  36 
  37   --> Starting make
  38   <-- Make done
  39 
  40 ****************************************************************
  41 * Module  : PARAMDAEMON
  42 * Comment : Module providing central repository for module parameters
  43 ****************************************************************
  44 
  45   --> Starting make
  46   <-- Make done
  47 
  48 ****************************************************************
  49 * Module  : BASE
  50 * Comment : Generic interface to all robot bases
  51 ****************************************************************
  52 
  53   --> Starting make
  54   <-- Make done
  55 
  56 ****************************************************************
  57 * Module  : LASER
  58 * Comment : The new laser module for SICK and Hokuyo lasers
  59 ****************************************************************
  60 
  61   --> Starting make
  62   <-- Make done
  63 
  64 ****************************************************************
  65 * Module  : ROBOT_DAEMON
  66 * Comment : Module integrating all robot sensors and configuration
  67 ****************************************************************
  68 
  69   --> Starting make
  70   <-- Make done
  71 
  72 ****************************************************************
  73 * Module  : SIMULATOR
  74 * Comment : simulates the readings of a robot on a map
  75 ****************************************************************
  76 
  77   --> Starting make
  78   <-- Make done
  79 
  80 ****************************************************************
  81 * Module  : ROBOTGUI
  82 * Comment : Module for displaying output of robot, lasers and sonars and odometry
  83 ****************************************************************
  84 
  85   --> Starting make
  86   <-- Make done
  87 
  88 ****************************************************************
  89 * Module  : MAPTOOLS
  90 * Comment : Tools for mapping etc.
  91 ****************************************************************
  92 
  93   --> Starting make
  94   <-- Make done
  95 
  96 ****************************************************************
  97 * Module  : MAP_EDITOR
  98 * Comment : Provides photoshop-like map editor.
  99 ****************************************************************
 100 
 101   --> Starting make
 102   <-- Make done
 103 
 104 ****************************************************************
 105 * Module  : LOGGER
 106 * Comment : Modules for logging, displaying, and playing back data.
 107 ****************************************************************
 108 
 109   --> Starting make
 110   <-- Make done
 111 
 112 ****************************************************************
 113 * Module  : LOGTOOLS
 114 * Comment : Log tools, like the famous log2pic
 115 ****************************************************************
 116 
 117   --> Starting make
 118   <-- Make done
 119 
 120 ****************************************************************
 121 * Module  : HMAP
 122 * Comment : mapserver add-on for heirarchical maps (hmaps).
 123 ****************************************************************
 124 
 125   --> Starting make
 126   <-- Make done
 127 
 128 ****************************************************************
 129 * Module  : LOCALIZE
 130 * Comment : Markov Localization Module
 131 ****************************************************************
 132 
 133   --> Starting make
 134   <-- Make done
 135 
 136 ****************************************************************
 137 * Module  : NAVIGATOR
 138 * Comment : The motion planner!
 139 ****************************************************************
 140 
 141   --> Starting make
 142   <-- Make done
 143 
 144 ****************************************************************
 145 * Module  : VASCO
 146 * Comment : Scan-matching mapper by Dirk Haehnel
 147 ****************************************************************
 148 
 149   --> Starting make
 150   <-- Make done
 151 
 152 ****************************************************************
 153 * Module  : PROCCONTROL
 154 * Comment : Process controller for CARMEN
 155 ****************************************************************
 156 
 157   --> Starting make
 158   <-- Make done
 159 
 160 ****************************************************************
 161 * Module  : JOYSTICK
 162 * Comment : Joystick library and control modules
 163 ****************************************************************
 164 
 165   --> Starting make
 166   <-- Make done
 167 
 168 ****************************************************************
 169 * Module  : PANTILT
 170 * Comment : Module for pantilt interface - direct perception
 171 ****************************************************************
 172 
 173   --> Starting make
 174   <-- Make done
 175 
 176 ****************************************************************
 177 * Module  : GPS
 178 * Comment : NMEA GPS Module
 179 ****************************************************************
 180 
 181   --> Starting make
 182   <-- Make done
 183 
 184        ***************
 185        B I N A R I E S
 186        ***************
 187 
 188 
 189 ****************************************************************
 190 * Module  : IPC
 191 * Comment : Flexible communications package written by Reid Simmons
 192 ****************************************************************
 193 
 194   --> Starting make
 195   <-- Make done
 196 
 197 ****************************************************************
 198 * Module  : GLOBAL
 199 * Comment : CARMEN global functions
 200 ****************************************************************
 201 
 202   --> Starting make
 203   <-- Make done
 204 
 205 ****************************************************************
 206 * Module  : PARAMDAEMON
 207 * Comment : Module providing central repository for module parameters
 208 ****************************************************************
 209 
 210   --> Starting make
 211   <-- Make done
 212 
 213 ****************************************************************
 214 * Module  : BASE
 215 * Comment : Generic interface to all robot bases
 216 ****************************************************************
 217 
 218   --> Starting make
 219   <-- Make done
 220 
 221 ****************************************************************
 222 * Module  : LASER
 223 * Comment : The new laser module for SICK and Hokuyo lasers
 224 ****************************************************************
 225 
 226   --> Starting make
 227   <-- Make done
 228 
 229 ****************************************************************
 230 * Module  : ROBOT_DAEMON
 231 * Comment : Module integrating all robot sensors and configuration
 232 ****************************************************************
 233 
 234   --> Starting make
 235   <-- Make done
 236 
 237 ****************************************************************
 238 * Module  : SIMULATOR
 239 * Comment : simulates the readings of a robot on a map
 240 ****************************************************************
 241 
 242   --> Starting make
 243   <-- Make done
 244 
 245 ****************************************************************
 246 * Module  : ROBOTGUI
 247 * Comment : Module for displaying output of robot, lasers and sonars and odometry
 248 ****************************************************************
 249 
 250   --> Starting make
 251   <-- Make done
 252 
 253 ****************************************************************
 254 * Module  : MAPTOOLS
 255 * Comment : Tools for mapping etc.
 256 ****************************************************************
 257 
 258   --> Starting make
 259   <-- Make done
 260 
 261 ****************************************************************
 262 * Module  : MAP_EDITOR
 263 * Comment : Provides photoshop-like map editor.
 264 ****************************************************************
 265 
 266   --> Starting make
 267   <-- Make done
 268 
 269 ****************************************************************
 270 * Module  : LOGGER
 271 * Comment : Modules for logging, displaying, and playing back data.
 272 ****************************************************************
 273 
 274   --> Starting make
 275   <-- Make done
 276 
 277 ****************************************************************
 278 * Module  : LOGTOOLS
 279 * Comment : Log tools, like the famous log2pic
 280 ****************************************************************
 281 
 282   --> Starting make
 283   <-- Make done
 284 
 285 ****************************************************************
 286 * Module  : HMAP
 287 * Comment : mapserver add-on for heirarchical maps (hmaps).
 288 ****************************************************************
 289 
 290   --> Starting make
 291   <-- Make done
 292 
 293 ****************************************************************
 294 * Module  : LOCALIZE
 295 * Comment : Markov Localization Module
 296 ****************************************************************
 297 
 298   --> Starting make
 299   <-- Make done
 300 
 301 ****************************************************************
 302 * Module  : NAVIGATOR
 303 * Comment : The motion planner!
 304 ****************************************************************
 305 
 306   --> Starting make
 307   <-- Make done
 308 
 309 ****************************************************************
 310 * Module  : VASCO
 311 * Comment : Scan-matching mapper by Dirk Haehnel
 312 ****************************************************************
 313 
 314   --> Starting make
 315   <-- Make done
 316 
 317 ****************************************************************
 318 * Module  : PROCCONTROL
 319 * Comment : Process controller for CARMEN
 320 ****************************************************************
 321 
 322   --> Starting make
 323   <-- Make done
 324 
 325 ****************************************************************
 326 * Module  : JOYSTICK
 327 * Comment : Joystick library and control modules
 328 ****************************************************************
 329 
 330   --> Starting make
 331     ---- Compiling wingman_control.c to wingman_control.o (C)
 332     ---- Linking wingman_control.o joyctrl.o to wingman_control (C)
 333     ---- Copying wingman_control to /home/hwilde/carmen/bin
 334   <-- Make done
 335 
 336 ****************************************************************
 337 * Module  : PANTILT
 338 * Comment : Module for pantilt interface - direct perception
 339 ****************************************************************
 340 
 341   --> Starting make
 342     ---- Compiling io.c to io.o (C)
 343     ---- Compiling ipc.c to ipc.o (C)
 344     ---- Compiling utils.c to utils.o (C)
 345     ---- Compiling main.c to main.o (C)
 346     ---- Linking io.o ipc.o utils.o main.o to pantilt (C)
 347     ---- Compiling pantilt-test.c to pantilt-test.o (C)
 348     ---- Linking pantilt-test.o to pantilt-test (C)
 349     ---- Copying pantilt to /home/hwilde/carmen/bin
 350     ---- Copying pantilt-test to /home/hwilde/carmen/bin
 351   <-- Make done
 352 
 353 ****************************************************************
 354 * Module  : GPS
 355 * Comment : NMEA GPS Module
 356 ****************************************************************
 357 
 358   --> Starting make
 359     ---- Compiling gps-io.c to gps-io.o (C)
 360     ---- Compiling gps-ipc.c to gps-ipc.o (C)
 361     ---- Compiling gps-nmea.c to gps-nmea.o (C)
 362     ---- Compiling gps-main.c to gps-main.o (C)
 363     ---- Linking gps-io.o gps-ipc.o gps-nmea.o gps-main.o to gps-nmea (C)
 364     ---- Compiling gps-test.c to gps-test.o (C)
 365     ---- Linking gps-test.o gps_nmea_interface.o to gps-test (C)
 366     ---- Copying gps-nmea to /home/hwilde/carmen/bin
 367   <-- Make done
 368 Done making binaries...


Congratulations you have now downloaded, configured and made Carmen on Ubuntu!

Running instructions are here:

http://carmen.sourceforge.net/using_carmen.html

carmen (last edited 2011-05-19 22:33:24 by dhcp-43-43)