qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcus Schröder <marcus.schroe...@gmail.com>
Subject Re: Required compilation parameters for using qpid?
Date Mon, 18 May 2009 14:31:09 GMT
Hi Jonathan,

On Mon, May 18, 2009 at 3:38 PM, Jonathan Robie
<jonathan.robie@redhat.com> wrote:

> Sounds like starting with a simpler Makefile would help. Try starting with
> this:
>
> CXX=g++
> CXXFLAGS=-I/usr/include/qpid-boost
> LDFLAGS=-lqpidclient
>
> all: direct_producer listener declare_queues
>
> clean:
>       rm -f direct_producer listener declare_queues
>
> Hope this helps!

Thank you, that seemed like a step in the right direction, but isn't
completely successful, unfortunately.  -lqpidclient is still missing:

mss@marcus-desktop:~/qpidc-0.4/examples/direct$ echo $CPLUS_LIBRARY_PATH
/home/mss/qpidc/lib
mss@marcus-desktop:~/qpidc-0.4/examples/direct$ echo $CPLUS_INCLUDE_PATH
/home/mss/qpidc/include
mss@marcus-desktop:~/qpidc-0.4/examples/direct$ cat Makefile
CXX=g++
CXXFLAGS=-I/usr/include/qpid-boost
LDFLAGS=-lqpidclient

all: direct_producer listener declare_queues

clean:
	rm -f direct_producer listener declare_queues

mss@marcus-desktop:~/qpidc-0.4/examples/direct$ make
cc -lqpidclient  direct_producer.o   -o direct_producer
/usr/bin/ld: cannot find -lqpidclient
collect2: ld returned 1 exit status
make: *** [direct_producer] Error 1

Suggestions?

Marcus

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


Mime
View raw message