You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Manuel Teira <mt...@tid.es> on 2008/06/04 18:38:56 UTC
Progress of the Solaris port and some other compiler oddities
Hello again.
Sorry for disturbing you again with Sun CC habits. But I'm not brave
enough to decipher these witched template errors.
Once that I was able to compile and link the broker itself, I went for
the tests to have some idea about how mature is the port. After some
minor changes related with name ambiguities and missing includes, I hit
this one, while compiling ISList.cpp:
bash-3.00$ make check
make libshlibtest.la libdlclose_noop.la unit_test perftest txtest
latencytest client_test topic_listener topic_publisher publish consume
`libshlibtest.la' is up to date.
`libdlclose_noop.la' is up to date.
source='ISList.cpp' object='ISList.o' libtool=no \
DEPDIR=.deps depmode=none /bin/bash ../../build-aux/depcomp \
CC -g -m64 -DHAVE_CONFIG_H -I. -I../../src -I./.. -I./../gen
-I../../src/gen -g -DBOOST_TEST_DYN_LINK
-I/opt/dslap/contrib/include -library=stlport4 -mt +w -c -o ISList.o
ISList.cpp
"../../src/qpid/ISList.h", line 142: Error: Multiple declaration for
Iterator.
"ISList.cpp", line 66: Where: While specializing
"qpid::ISList<ISListTestSuite::Fixture::Node>".
"ISList.cpp", line 66: Where: Specialized in non-template code.
"../../src/qpid/ISList.h", line 144: Error: T is not defined.
"../../src/qpid/ISList.h", line 173: Where: While specializing
"qpid::ISList<ISListTestSuite::Fixture::Node>::Iterator<ISListTestSuite::Fixture::Node>".
"../../src/qpid/ISList.h", line 173: Where: Specialized in
qpid::ISList<ISListTestSuite::Fixture::Node>.
"ISList.cpp", line 66: Where: Specialized in non-template code.
"../../src/qpid/ISList.h", line 144: Error: T is not defined.
"../../src/qpid/ISList.h", line 173: Where: While specializing
"qpid::ISList<ISListTestSuite::Fixture::Node>::Iterator<ISListTestSuite::Fixture::Node>".
"../../src/qpid/ISList.h", line 173: Where: Specialized in
qpid::ISList<ISListTestSuite::Fixture::Node>.
"ISList.cpp", line 66: Where: Specialized in non-template code.
"../../src/qpid/ISList.h", line 150: Error: No direct declarator
preceding "(".
"../../src/qpid/ISList.h", line 173: Where: While specializing
"qpid::ISList<ISListTestSuite::Fixture::Node>::Iterator<ISListTestSuite::Fixture::Node>".
"../../src/qpid/ISList.h", line 173: Where: Specialized in
qpid::ISList<ISListTestSuite::Fixture::Node>.
"ISList.cpp", line 66: Where: Specialized in non-template code.
"ISList.cpp", line 73: Error: The operation
"qpid::ISList<ISListTestSuite::Fixture::Node>::Iterator<ISListTestSuite::Fixture::Node>
==
qpid::ISList<ISListTestSuite::Fixture::Node>::Iterator<ISListTestSuite::Fixture::Node>"
is illegal.
"ISList.cpp", line 102: Error: The operation
"qpid::ISList<ISListTestSuite::Fixture::Node>::Iterator<ISListTestSuite::Fixture::Node>
==
qpid::ISList<ISListTestSuite::Fixture::Node>::Iterator<ISListTestSuite::Fixture::Node>"
is illegal.
"ISList.cpp", line 106: Error: The operation
"qpid::ISList<ISListTestSuite::Fixture::Node>::Iterator<ISListTestSuite::Fixture::Node>
==
qpid::ISList<ISListTestSuite::Fixture::Node>::Iterator<ISListTestSuite::Fixture::Node>"
is illegal.
"ISList.cpp", line 108: Error: The operation "++
qpid::ISList<ISListTestSuite::Fixture::Node>::Iterator<ISListTestSuite::Fixture::Node>"
is illegal.
"ISList.cpp", line 109: Error: The operation "*
qpid::ISList<ISListTestSuite::Fixture::Node>::Iterator<ISListTestSuite::Fixture::Node>"
is illegal.
"ISList.cpp", line 112: Error: The operation "*
qpid::ISList<ISListTestSuite::Fixture::Node>::Iterator<ISListTestSuite::Fixture::Node>"
is illegal.
"ISList.cpp", line 116: Error: The operation "*
qpid::ISList<ISListTestSuite::Fixture::Node>::Iterator<ISListTestSuite::Fixture::Node>"
is illegal.
"ISList.cpp", line 125: Error: The operation "*
qpid::ISList<ISListTestSuite::Fixture::Node>::Iterator<ISListTestSuite::Fixture::Node>"
is illegal.
"ISList.cpp", line 126: Error: Using static_cast to convert from
qpid::ISList<ISListTestSuite::Fixture::Node>::Iterator<ISListTestSuite::Fixture::Node>
to ISListTestSuite::Fixture::Node* not allowed.
"../../src/qpid/ISList.h", line 144: Error: T is not defined.
"ISList.cpp", line 127: Where: While specializing
"qpid::ISList<ISListTestSuite::Fixture::Node>::Iterator<const
ISListTestSuite::Fixture::Node>".
"ISList.cpp", line 127: Where: Specialized in non-template code.
"../../src/qpid/ISList.h", line 144: Error: T is not defined.
"ISList.cpp", line 127: Where: While specializing
"qpid::ISList<ISListTestSuite::Fixture::Node>::Iterator<const
ISListTestSuite::Fixture::Node>".
"ISList.cpp", line 127: Where: Specialized in non-template code.
"../../src/qpid/ISList.h", line 150: Error: No direct declarator
preceding "(".
"ISList.cpp", line 127: Where: While specializing
"qpid::ISList<ISListTestSuite::Fixture::Node>::Iterator<const
ISListTestSuite::Fixture::Node>".
"ISList.cpp", line 127: Where: Specialized in non-template code.
"ISList.cpp", line 128: Error: Using static_cast to convert from
qpid::ISList<ISListTestSuite::Fixture::Node>::Iterator<const
ISListTestSuite::Fixture::Node> to const ISListTestSuite::Fixture::Node*
not allowed.
"ISList.cpp", line 130: Error: The operation "++
qpid::ISList<ISListTestSuite::Fixture::Node>::Iterator<ISListTestSuite::Fixture::Node>"
is illegal.
"ISList.cpp", line 131: Error: The operation "*
qpid::ISList<ISListTestSuite::Fixture::Node>::Iterator<ISListTestSuite::Fixture::Node>"
is illegal.
"ISList.cpp", line 132: Error: Using static_cast to convert from
qpid::ISList<ISListTestSuite::Fixture::Node>::Iterator<ISListTestSuite::Fixture::Node>
to ISListTestSuite::Fixture::Node* not allowed.
"ISList.cpp", line 133: Error: The operation "++
qpid::ISList<ISListTestSuite::Fixture::Node>::Iterator<ISListTestSuite::Fixture::Node>"
is illegal.
"ISList.cpp", line 134: Error: The operation
"qpid::ISList<ISListTestSuite::Fixture::Node>::Iterator<ISListTestSuite::Fixture::Node>
==
qpid::ISList<ISListTestSuite::Fixture::Node>::Iterator<ISListTestSuite::Fixture::Node>"
is illegal.
"ISList.cpp", line 154: Error: The operation "++
qpid::ISList<ISListTestSuite::Fixture::Node>::Iterator<ISListTestSuite::Fixture::Node>"
is illegal.
"ISList.cpp", line 159: Error: The operation "++
qpid::ISList<ISListTestSuite::Fixture::Node>::Iterator<ISListTestSuite::Fixture::Node>"
is illegal.
24 Error(s) detected.
*** Error code 24
make: Fatal error: Command failed for target `ISList.o'
I tried to make some changes myself, but shamely blindly, to get only
more and more errors (sigh!).
Out of curiosity, ISList is used in any other place than in tests ?
Your help, as always, is hopefully awaited.
On the nice side. I was able to compile examples/direct/declare_queues
and it seems it was able to interact properly with the broker, getting
this first qpidd-solaris log:
2008-jun-04 18:25:14 debug RECV [127.0.0.1:42211] INIT(0-10)
2008-jun-04 18:25:14 warning SASL: No Authentication Performed
2008-jun-04 18:25:14 debug SessionState::SessionState
ab1f39af-92d2-c900-dab3-f0df7f500673@guest: 0x00000001001b61c0
2008-jun-04 18:25:14 debug ab1f39af-92d2-c900-dab3-f0df7f500673@guest:
attached on broker.
2008-jun-04 18:25:14 debug Attached channel 1 to
ab1f39af-92d2-c900-dab3-f0df7f500673@guest
2008-jun-04 18:25:14 debug ab1f39af-92d2-c900-dab3-f0df7f500673@guest:
ready to send, activating output.
2008-jun-04 18:25:14 debug ab1f39af-92d2-c900-dab3-f0df7f500673@guest:
receiver command-point set to: (0+0)
2008-jun-04 18:25:14 debug ab1f39af-92d2-c900-dab3-f0df7f500673@guest:
recv cmd 0: {QueueDeclareBody: queue=message_queue; alternate-exchange=;
arguments={}; }
2008-jun-04 18:25:14 debug Configured queue with no-local=0
2008-jun-04 18:25:14 debug Configured queue message_queue with
qpid.trace.id='' and qpid.trace.exclude='' i.e. 0 elements
2008-jun-04 18:25:14 debug ab1f39af-92d2-c900-dab3-f0df7f500673@guest:
receiver marked completed: 0 incomplete: { } unknown-completed: { [0,0] }
2008-jun-04 18:25:14 debug ab1f39af-92d2-c900-dab3-f0df7f500673@guest:
recv cmd 1: {ExchangeBindBody: queue=message_queue; exchange=amq.direct;
binding-key=routing_key; arguments={}; }
2008-jun-04 18:25:14 debug ab1f39af-92d2-c900-dab3-f0df7f500673@guest:
receiver marked completed: 1 incomplete: { } unknown-completed: { [0,1] }
2008-jun-04 18:25:14 debug ab1f39af-92d2-c900-dab3-f0df7f500673@guest:
detached on broker.
It seems that the Event Completion Framework based poller is doing
something.
Best regards.
--
Manuel.
Re: Progress of the Solaris port and some other compiler oddities
Posted by Manuel Teira <mt...@tid.es>.
Alan Conway escribió:
> Manuel Teira wrote:
>
>> Hello again.
>> Sorry for disturbing you again with Sun CC habits. But I'm not brave
>> enough to decipher these witched template errors.
>>
>
> Few are.
>
>
>> Once that I was able to compile and link the broker itself, I went for
>> the tests to have some idea about how mature is the port. After some
>> minor changes related with name ambiguities and missing includes, I hit
>> this one, while compiling ISList.cpp:
>>
>
> That class isn't currently used anywhere, I'll remove it until it is needed at
> which time I may decide to change it anyway. I got over-excited about
> boost::iterator_facade and just had to write an iterator.
>
I know the feeling. The
lets-use-this-exciting-new-feature-anyway-just-because-it's-cool. A
great feeling, anyway. ;-)
> Sorry about the glitch!
>
No problem. I felt a little weak to fight the template-error attach. Now
that the file is gone, I feel better.
Thanks a lot!
> Alan.
>
>
Re: Progress of the Solaris port and some other compiler oddities
Posted by Alan Conway <ac...@redhat.com>.
Manuel Teira wrote:
> Hello again.
> Sorry for disturbing you again with Sun CC habits. But I'm not brave
> enough to decipher these witched template errors.
Few are.
> Once that I was able to compile and link the broker itself, I went for
> the tests to have some idea about how mature is the port. After some
> minor changes related with name ambiguities and missing includes, I hit
> this one, while compiling ISList.cpp:
That class isn't currently used anywhere, I'll remove it until it is needed at
which time I may decide to change it anyway. I got over-excited about
boost::iterator_facade and just had to write an iterator.
Sorry about the glitch!
Alan.