activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Parikh (JIRA)" <>
Subject [jira] Created: (AMQCPP-187) Link error for Example
Date Thu, 03 Jul 2008 23:03:00 GMT
Link error for Example

                 Key: AMQCPP-187
             Project: ActiveMQ C++ Client
          Issue Type: Bug
          Components: Example Code
    Affects Versions: 2.2
         Environment: CentOS 5.2
            Reporter: Amit Parikh
            Assignee: Nathan Mittler

On running Makefile I am getting following error
/bin/sh ../../libtool --tag=CXX --mode=link g++  -g -O2   -o example  example-main.o ../main/
 /usr/local/apr/lib/ -luuid -lrt -lcrypt  -lpthread -ldl    /usr/local/apr/lib/
g++ -g -O2 -o .libs/example example-main.o  ../main/.libs/ -lexpat /usr/local/apr/lib/
/usr/local/apr/lib/ /usr/local/apr/lib/ -luuid -lrt -lcrypt -lpthread
-ldl  -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/apr/lib
/usr/bin/ld: cannot find -lexpat
collect2: ld returned 1 exit status
make: *** [example] Error 1

Everything under src/main is correctly compiled and linked. Issue is only with linking of
Example files

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message