On Wed, 2008-12-17 at 11:21 +0100, Tim Niemueller wrote: > Hi Fedora. > > I'm trying to build the player package. It bails out with the following > error message: > /usr/include/linux/serial.h:164: error: '__u32' does not name a type > /usr/include/linux/serial.h:168: error: '__u32' does not name a type > /usr/include/linux/serial.h:169: error: '__u32' does not name a type > make[4]: *** [sicklms200.lo] Error 1 Perhaps simply include linux/types.h before linux/serial.h, e.g. this attached patch. C.
diff -ru player-2.1.1.orig/server/drivers/laser/sicklms200.cc player-2.1.1/server/drivers/laser/sicklms200.cc --- player-2.1.1.orig/server/drivers/laser/sicklms200.cc 2008-12-17 10:41:52.000000000 +0000 +++ player-2.1.1/server/drivers/laser/sicklms200.cc 2008-12-17 10:42:57.000000000 +0000 @@ -203,6 +203,7 @@ #undef HAVE_HI_SPEED_SERIAL #ifdef HAVE_LINUX_SERIAL_H #ifndef DISABLE_HIGHSPEEDSICK + #include <linux/types.h> #include <linux/serial.h> #define HAVE_HI_SPEED_SERIAL #endif diff -ru player-2.1.1.orig/server/drivers/mixed/wbr/914/wbr914.cc player-2.1.1/server/drivers/mixed/wbr/914/wbr914.cc --- player-2.1.1.orig/server/drivers/mixed/wbr/914/wbr914.cc 2008-12-17 10:41:52.000000000 +0000 +++ player-2.1.1/server/drivers/mixed/wbr/914/wbr914.cc 2008-12-17 10:43:10.000000000 +0000 @@ -113,6 +113,7 @@ #include <stdlib.h> /* for abs() */ #include <fcntl.h> +#include <linux/types.h> #include <linux/serial.h> #include <signal.h> #include <sys/stat.h>
-- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list