Hi Jonathan,
On Mon, May 18, 2009 at 3:38 PM, Jonathan Robie
<[email protected]> 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:
m...@marcus-desktop:~/qpidc-0.4/examples/direct$ echo $CPLUS_LIBRARY_PATH
/home/mss/qpidc/lib
m...@marcus-desktop:~/qpidc-0.4/examples/direct$ echo $CPLUS_INCLUDE_PATH
/home/mss/qpidc/include
m...@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
m...@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:[email protected]