Sorry, I neglected to attach the output file from the make all in my previous post.
Subsequent to making the changes Chuck suggested which unfortunately did not fix the compile issue, I applied the latest fix pack for the compiler released by IBM on 12/18 hoping that it would correct the issue. Unfortunately, the same error persists. I am still hopeful that a developer in this group with a depth of experience in C++ that far surpasses my limited knowledge will suggest a code workaround as it seems the latest compiler fix pack provided no relief from my AIX induced headache.
Thanks,
Chris Whelan
-----Original Message-----
From: Chris Whelan [mailto:Chris.Whelan [ at ] systemsandsoftware.net]
Sent: Monday, December 29, 2014 12:34 PM
To: users [ at ] qpid.apache.org
Subject: RE: Compiling qpid on aix 7.1 with xlc 13.1.0
Hi Chuck,
I tried what you suggested and unfortunately it appears that the same error occurs. The output of the 'make all' is attached.
Any additional suggestions would be much appreciated.
Thanks,
Chris
-----Original Message-----
From: Chris Whelan [mailto:Chris.Whelan [ at ] systemsandsoftware.net]
Sent: Tuesday, December 23, 2014 3:23 PM
To: users [ at ] qpid.apache.org
Subject: RE: Compiling qpid on aix 7.1 with xlc 13.1.0
Thanks a lot for the information Chuck. We will give this a try and post the results.
Regards,
Chris
-----Original Message-----
From: Chuck Rolke [mailto:crolke [ at ] redhat.com]
Sent: Tuesday, December 23, 2014 3:19 PM
To: users [ at ] qpid.apache.org
Subject: Re: Compiling qpid on aix 7.1 with xlc 13.1.0
Hi Chris,
If the problem is with explicit instantiations of InlineVector as suggested by the stackoverflow article you can try this patch.
It declares to the compiler that InlineVector<> is going to be used with the exact types in the template class statement(s).
-----cut-----
diff --git a/qpid/cpp/src/qpid/framing/FrameSet.h b/qpid/cpp/src/qpid/framing/FrameSet.h
index e234864..c210fed 100644
--- a/qpid/cpp/src/qpid/framing/FrameSet.h
+++ b/qpid/cpp/src/qpid/framing/FrameSet.h
@@ -30,6 +30,8 @@
#include "qpid/CommonImportExport.h"
namespace qpid {
+template class qpid::InlineVector<qpid::framing::AMQFrame, 4>;
namespace framing {
/**
diff --git a/qpid/cpp/src/qpid/framing/SequenceNumberSet.h b/qpid/cpp/src/qpid/framing/SequenceNumberSet.h
index c8356c8..f21e830 100644
--- a/qpid/cpp/src/qpid/framing/SequenceNumberSet.h
+++ b/qpid/cpp/src/qpid/framing/SequenceNumberSet.h
@@ -30,6 +30,8 @@
#include "qpid/CommonImportExport.h"
namespace qpid {
+template class qpid::InlineVector<qpid::framing::SequenceNumber, 2>;
namespace framing {
class SequenceNumberSet : public InlineVector<SequenceNumber, 2> diff --git a/qpid/cpp/src/qpid/framing/SequenceSet.h b/qpid/cpp/src/qpid/framing/SequenceSet.h
index 827c899..410745b 100644
--- a/qpid/cpp/src/qpid/framing/SequenceSet.h
+++ b/qpid/cpp/src/qpid/framing/SequenceSet.h
@@ -26,6 +26,9 @@
#include "qpid/CommonImportExport.h"
namespace qpid {
+template class
+qpid::InlineVector<qpid::RangeSet<qpid::framing::SequenceNumber>, 3>;
namespace framing {
class Buffer;
-----cut-----
Subsequent to making the changes Chuck suggested which unfortunately did not fix the compile issue, I applied the latest fix pack for the compiler released by IBM on 12/18 hoping that it would correct the issue. Unfortunately, the same error persists. I am still hopeful that a developer in this group with a depth of experience in C++ that far surpasses my limited knowledge will suggest a code workaround as it seems the latest compiler fix pack provided no relief from my AIX induced headache.
Thanks,
Chris Whelan
-----Original Message-----
From: Chris Whelan [mailto:Chris.Whelan [ at ] systemsandsoftware.net]
Sent: Monday, December 29, 2014 12:34 PM
To: users [ at ] qpid.apache.org
Subject: RE: Compiling qpid on aix 7.1 with xlc 13.1.0
Hi Chuck,
I tried what you suggested and unfortunately it appears that the same error occurs. The output of the 'make all' is attached.
Any additional suggestions would be much appreciated.
Thanks,
Chris
-----Original Message-----
From: Chris Whelan [mailto:Chris.Whelan [ at ] systemsandsoftware.net]
Sent: Tuesday, December 23, 2014 3:23 PM
To: users [ at ] qpid.apache.org
Subject: RE: Compiling qpid on aix 7.1 with xlc 13.1.0
Thanks a lot for the information Chuck. We will give this a try and post the results.
Regards,
Chris
-----Original Message-----
From: Chuck Rolke [mailto:crolke [ at ] redhat.com]
Sent: Tuesday, December 23, 2014 3:19 PM
To: users [ at ] qpid.apache.org
Subject: Re: Compiling qpid on aix 7.1 with xlc 13.1.0
Hi Chris,
If the problem is with explicit instantiations of InlineVector as suggested by the stackoverflow article you can try this patch.
It declares to the compiler that InlineVector<> is going to be used with the exact types in the template class statement(s).
-----cut-----
diff --git a/qpid/cpp/src/qpid/framing/FrameSet.h b/qpid/cpp/src/qpid/framing/FrameSet.h
index e234864..c210fed 100644
--- a/qpid/cpp/src/qpid/framing/FrameSet.h
+++ b/qpid/cpp/src/qpid/framing/FrameSet.h
@@ -30,6 +30,8 @@
#include "qpid/CommonImportExport.h"
namespace qpid {
+template class qpid::InlineVector<qpid::framing::AMQFrame, 4>;
namespace framing {
/**
diff --git a/qpid/cpp/src/qpid/framing/SequenceNumberSet.h b/qpid/cpp/src/qpid/framing/SequenceNumberSet.h
index c8356c8..f21e830 100644
--- a/qpid/cpp/src/qpid/framing/SequenceNumberSet.h
+++ b/qpid/cpp/src/qpid/framing/SequenceNumberSet.h
@@ -30,6 +30,8 @@
#include "qpid/CommonImportExport.h"
namespace qpid {
+template class qpid::InlineVector<qpid::framing::SequenceNumber, 2>;
namespace framing {
class SequenceNumberSet : public InlineVector<SequenceNumber, 2> diff --git a/qpid/cpp/src/qpid/framing/SequenceSet.h b/qpid/cpp/src/qpid/framing/SequenceSet.h
index 827c899..410745b 100644
--- a/qpid/cpp/src/qpid/framing/SequenceSet.h
+++ b/qpid/cpp/src/qpid/framing/SequenceSet.h
@@ -26,6 +26,9 @@
#include "qpid/CommonImportExport.h"
namespace qpid {
+template class
+qpid::InlineVector<qpid::RangeSet<qpid::framing::SequenceNumber>, 3>;
namespace framing {
class Buffer;
-----cut-----