Senaka,

Maybe someone else has an idea -- I can build on Fedora 8

g++ (GCC) 4.1.2 20070925 (Red Hat 4.1.2-33)
Copyright (C) 2006 Free Software Foundation, Inc.

I also kicked a Fedora 9 build which is later than your compiler and is clean.

What seems to be happening is that it is not correctly picking up #include "qpid/framing/AMQP_ServerOperations.h"
from the src/gen/ directory.

Can you just hack the path on that include to prove that -- if so we will need to work out
why your compiler is behaving differently picking up these includes.

One last thought -- as these are gen files -- the autoconf might be the is-behaving. can you also do a 'make clean' or deleted the gen dir to force them to be regenerated.

let me know the results
Carl.


Senaka Fernando wrote:
Hi again,

These are my compiler details.

g++ (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

And I have an Ubuntu 7.10 (Gusty)

Regards,
Senaka

On Sun, Apr 27, 2008 at 3:14 PM, Senaka Fernando <[EMAIL PROTECTED]>
wrote:

Hi again,

The culprit is revision 651423. I believe this is due to some files not
being committed perhaps?

Regards,
Senaka


On Sun, Apr 27, 2008 at 12:46 PM, Senaka Fernando <[EMAIL PROTECTED]>
wrote:

Hi all,

When building Qpid C++ with the latest checkout, rev 651531, I get this
error.

 g++ -DHAVE_CONFIG_H -I. -Igen -I./gen -Werror -pedantic -Wall -Wextra
-Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long
-Wvolatile-register-var -Winvalid-pch -Wno-system-headers
-Woverloaded-virtual -g -O2 -MT qpid/amqp_0_10/Connection.lo -MD -MP -MF
qpid/amqp_0_10/.deps/Connection.Tpo -c qpid/amqp_0_10/Connection.cpp  -fPIC
-DPIC -o qpid/amqp_0_10/.libs/Connection.o
./qpid/broker/ConnectionHandler.h:44: error: expected class-name before
',' token
./qpid/broker/ConnectionHandler.h:46: error: expected class-name before
'{' token
./qpid/broker/SessionHandler.h:49: error: expected class-name before ','
token


Regards,
Senaka



Reply via email to