Hi,
When I try to build libaws I get: /tmp/NT8OOpZt0c/libaws-0.9.2/include/libaws/sqsresponse.h:124:9: error: ‘uint64_t’ does not name a type
This is on Ubuntu 11.04, GCC 4.5.2
Hey, I actually ran in to this problem as well. It's just a standards compliance issue. I'm attaching the patch that fixed things for me.
You seem to have CSS turned off. Please don't fill out this field.
Hmm, couldn't add an attachment, so I'm going to post inline.
--- libaws-0.9.2/include/libaws/sqsresponse.h 2009-04-09 02:22:54.000000000 -0700 +++ libaws-0.9.2-fixed/include/libaws/sqsresponse.h 2012-01-04 07:03:18.003311793 -0800 @@ -20,6 +20,7 @@ #include <map> #include <string> #include <libaws/common.h> +#include <stdint.h>
namespace aws {
diff -u -r libaws-0.9.2/src/logging/logger.cc libaws-0.9.2-fixed/src/logging/logger.cc --- libaws-0.9.2/src/logging/logger.cc 2009-04-09 02:22:54.000000000 -0700 +++ libaws-0.9.2-fixed/src/logging/logger.cc 2012-01-04 07:04:22.047484023 -0800 @@ -4,6 +4,7 @@ #include <cassert> #include "logging/loggermanager.hh" #include "logging/loggerconfig.hh" +#include <stdint.h>
namespace logging { diff -u -r libaws-0.9.2/src/logging/logger.hh libaws-0.9.2-fixed/src/logging/logger.hh --- libaws-0.9.2/src/logging/logger.hh 2009-04-09 02:22:54.000000000 -0700 +++ libaws-0.9.2-fixed/src/logging/logger.hh 2012-01-04 07:04:26.983971042 -0800 @@ -2,6 +2,7 @@ #define AWS_LOGGER_H
#include <string> +#include <stdint.h>
namespace logging {
Log in to post a comment.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Hey, I actually ran in to this problem as well. It's just a standards compliance issue. I'm attaching the patch that fixed things for me.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Hmm, couldn't add an attachment, so I'm going to post inline.
--- libaws-0.9.2/include/libaws/sqsresponse.h 2009-04-09 02:22:54.000000000 -0700
+++ libaws-0.9.2-fixed/include/libaws/sqsresponse.h 2012-01-04 07:03:18.003311793 -0800
@@ -20,6 +20,7 @@
#include <map>
#include <string>
#include <libaws/common.h>
+#include <stdint.h>
namespace aws {
diff -u -r libaws-0.9.2/src/logging/logger.cc libaws-0.9.2-fixed/src/logging/logger.cc
--- libaws-0.9.2/src/logging/logger.cc 2009-04-09 02:22:54.000000000 -0700
+++ libaws-0.9.2-fixed/src/logging/logger.cc 2012-01-04 07:04:22.047484023 -0800
@@ -4,6 +4,7 @@
#include <cassert>
#include "logging/loggermanager.hh"
#include "logging/loggerconfig.hh"
+#include <stdint.h>
namespace logging {
diff -u -r libaws-0.9.2/src/logging/logger.hh libaws-0.9.2-fixed/src/logging/logger.hh
--- libaws-0.9.2/src/logging/logger.hh 2009-04-09 02:22:54.000000000 -0700
+++ libaws-0.9.2-fixed/src/logging/logger.hh 2012-01-04 07:04:26.983971042 -0800
@@ -2,6 +2,7 @@
#define AWS_LOGGER_H
#include <string>
+#include <stdint.h>
namespace logging {
Last edit: Anonymous 2013-10-11