Hey C++ fokes,

I've been following the README but I've hit a sumbling block in
building the C++ broker

to summerize steps to this points

Building on Dual Core Xeon under Fedora 6.

Installed updates apr etc via yum.

and used the autotools install script to download tools to ~/qpid-tools.

then
[EMAIL PROTECTED] cpp]$ ./bootstrap
docs/api/Makefile.am:9: wildcard $(top_srcdir: non-POSIX variable name
docs/api/Makefile.am:9: (probably a GNU make extension)

Is this ok?

and ./configure was quite happy

but make gets upset about the file format of /usr/lib/libapr-1.so ..
this is a sym-link to libapr-1.so.0.2.7

I'm a bit rusty on the building of C++, Linux apps.

Any thoughts? Do you need more info?

g++ -shared -nostdlib
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../lib64/crti.o
/usr/lib/gcc/x
86_64-redhat-linux/4.1.1/crtbeginS.o  .libs/APRAcceptor.o
.libs/APRBase.o .libs/APRPool.o .libs/APRS
ocket.o .libs/LFProcessor.o .libs/LFSessionContext.o .libs/Socket.o
.libs/Thread.o .libs/AMQBody.o .
libs/AMQContentBody.o .libs/AMQFrame.o .libs/AMQHeaderBody.o
.libs/AMQHeartbeatBody.o .libs/AMQMetho
dBody.o .libs/BasicHeaderProperties.o .libs/BodyHandler.o
.libs/Buffer.o .libs/FieldTable.o .libs/Fr
amingContent.o .libs/InitiationHandler.o .libs/ProtocolInitiation.o
.libs/ProtocolVersion.o .libs/Pr
otocolVersionException.o .libs/Value.o .libs/AMQP_ClientProxy.o
.libs/AMQP_MethodVersionMap.o .libs/
AMQP_ServerProxy.o .libs/Exception.o .libs/ExceptionHolder.o
.libs/QpidError.o .libs/CommonOptions.o
.libs/Runnable.o .libs/Time.o  /usr/lib/libapr-1.so -luuid -lcrypt
-lpthread -ldl -lrt -lboost_prog
ram_options -L/usr/lib/gcc/x86_64-redhat-linux/4.1.1
-L/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../
../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -lstdc++ -lm -lc
-lgcc_s /usr/lib/gcc/x86_64-redhat-
linux/4.1.1/crtendS.o
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../lib64/crtn.o
-Wl,-soname -
Wl,libqpidcommon.so.0 -o .libs/libqpidcommon.so.0.1.0
/usr/lib/libapr-1.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[3]: *** [libqpidcommon.la] Error 1
make[3]: Leaving directory `/qpid/home/qpid/JPMC/M2/qpid/cpp/lib/common'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/qpid/home/qpid/JPMC/M2/qpid/cpp/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/qpid/home/qpid/JPMC/M2/qpid/cpp'
make: *** [all] Error 2
--
Martin Ritchie

Reply via email to