qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Gamble" <pjgam...@gmail.com>
Subject FreeBSD build
Date Tue, 25 Nov 2008 08:28:26 GMT
Hi List

Anyone successfully built c++ M3 (or M2...) on FreeBSD (v7)? I've been
hacking at it (M3 from the source repository) for a day or so since I need
the c++ client API on that platform. I've had some success getting past
various compile and linking errors, but I'm stumped at this point with this
one. Looks like it's related to the poll()/epoll() choice...


/usr/local/bin/bash ../libtool --tag=CXX    --mode=link g++ -Werror
-pedantic -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align
-Wno-long-long -Wvolatile-register-var -Winvalid-pch -Wno-system-headers
-Woverloaded-virtual
-DMODULE_DIR=\"/home/pgamble/mweb/apps/qpid/1-20081105/install/lib/qpid/daemon\"
-DCONF_FILE=\"/home/pgamble/mweb/apps/qpid/1-20081105/install/etc/qpidd.conf\"
-g -O2  -version-info 1:0:1 -L/usr/local/lib -L/usr/lib/openais
-L/usr/lib64/openais -o qpidd qpidd-qpidd.o posix/qpidd-QpiddBroker.o
libqpidbroker.la
libqpidcommon.la-lboost_program_options-gcc42-mt
-lboost_thread-gcc42-mt

libtool: link: warning: `-version-info' is ignored for programs

g++ -Werror -pedantic -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual
-Wcast-align -Wno-long-long -Wvolatile-register-var -Winvalid-pch
-Wno-system-headers -Woverloaded-virtual
-DMODULE_DIR=\"/home/pgamble/mweb/apps/qpid/1-20081105/install/lib/qpid/daemon\"
-DCONF_FILE=\"/home/pgamble/mweb/apps/qpid/1-20081105/install/etc/qpidd.conf\"
-g -O2 -o .libs/qpidd qpidd-qpidd.o posix/qpidd-QpiddBroker.o
-L/usr/local/lib -L/usr/lib/openais -L/usr/lib64/openais
./.libs/libqpidbroker.so
/usr/home/pgamble/mweb/apps/qpid/1-20081105/build/qpid/cpp/src/.libs/libqpidcommon.so
./.libs/libqpidcommon.so -lboost_filesystem-gcc42-mt -luuid
-lboost_program_options-gcc42-mt -lboost_thread-gcc42-mt -Wl,--rpath
-Wl,/home/pgamble/mweb/apps/qpid/1-20081105/install/lib
/usr/home/pgamble/mweb/apps/qpid/1-20081105/build/qpid/cpp/src/.libs/libqpidcommon.so:
undefined reference to `typeinfo for qpid::sys::PollerHandle'

./.libs/libqpidbroker.so: undefined reference to
`qpid::sys::Poller::~Poller()'
./.libs/libqpidbroker.so: undefined reference to
`qpid::sys::Poller::shutdown()'
/usr/home/pgamble/mweb/apps/qpid/1-20081105/build/qpid/cpp/src/.libs/libqpidcommon.so:
undefined reference to `qpid::sys::Poller::wait(qpid::sys::Duration)'
/usr/home/pgamble/mweb/apps/qpid/1-20081105/build/qpid/cpp/src/.libs/libqpidcommon.so:
undefined reference to `qpid::sys::PollerHandle::~PollerHandle()'
./.libs/libqpidbroker.so: undefined reference to
`qpid::sys::Poller::Poller()'
/usr/home/pgamble/mweb/apps/qpid/1-20081105/build/qpid/cpp/src/.libs/libqpidcommon.so:
undefined reference to `qpid::sys::Poller::addFd(qpid::sys::PollerHandle&,
qpid::sys::Poller::Direction)'
/usr/home/pgamble/mweb/apps/qpid/1-20081105/build/qpid/cpp/src/.libs/libqpidcommon.so:
undefined reference to `qpid::sys::Poller::delFd(qpid::sys::PollerHandle&)'
/usr/home/pgamble/mweb/apps/qpid/1-20081105/build/qpid/cpp/src/.libs/libqpidcommon.so:
undefined reference to
`qpid::sys::PollerHandle::PollerHandle(qpid::sys::IOHandle const&)'
/usr/home/pgamble/mweb/apps/qpid/1-20081105/build/qpid/cpp/src/.libs/libqpidcommon.so:
undefined reference to `qpid::sys::Poller::modFd(qpid::sys::PollerHandle&,
qpid::sys::Poller::Direction)'

*** Error code 1
Stop in /usr/home/pgamble/mweb/apps/qpid/1-20081105/build/qpid/cpp/src.

Any pointers would be gratefully accepted!
Paul Gamble

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message