[openamq-dev] porting to Ubuntu
Nick Levine
ndl at ravenbrook.com
Wed Aug 22 12:15:20 CEST 2007
Hi Martin,
I'd like to understand better what's special about this case that's
causing WireAPI to hang.
I don't know whether the following is relevant. The system I'm working
with can only link with shared libraries. After building OpenAMQ, I
went on to link the archives in ibase/lib thus:
ld -shared -o libamq.so -luuid -lm -whole-archive libamq_common.a \
libamq_operate.a libamq_server.a libamq_wireapi.a libapr.a \
libaprutil.a libasl.a libicl.a libipr.a libpcre.a libsfl.a libsmt3.a \
libsmt.a libzip.a /usr/lib/libexpat.so.1 /usr/lib/libcrypt.a
A couple of questions:
1) What version of Ubuntu is this? What platform? (uname -m)
uname -m => "i686"
uname -r => "2.6.20-15-generic"
2) Is this a multiprocessor or multicore system? If yes, how many
cores?
I don't know. Machine isn't mine, it's remote to me (I access it via
ssh). What's the incantation for finding out?
3) What version of GCC are you using? Also the output of
"amq_server -v" might be helpful just to check that the build
system hasn't done something silly.
gcc --version => 4.1.2
amq_server -v =>
OpenAMQ/1.2c1 - revision 10266
Debug release for internal use only
Copyright (c) 2007 iMatix Corporation
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Build model:Debug release for internal use only
Memory model: fat
Threading model: multithreaded
Compiler: gcc -c -I/home/nick/wiinz/openamq-src/OpenAMQ-1.2c1/OpenAMQ-1.2c1/_install/include -g -DDEBUG -O -Wall -pthread -D_REENTRANT -DICL_MEM_DEFAULT_DIRE\
CT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DBASE_THREADSAFE -I/home/nick/wiinz/include amq_server.c
4) Does our standard client code work correctly? e.g. Can you run
"amq_server" and "amq_client" with no parameters against it?
Yes, and amq_shell
5) Since you previously asked about the thread safety of WireAPI, are
you accessing WireAPI from more than one application thread?
Not at present.
- nick
More information about the openamq-dev
mailing list