activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomas Lebovic (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQCPP-111) Unable to ./configure under Suse Linux 64 bit
Date Sat, 28 Apr 2007 06:50:35 GMT

    [ https://issues.apache.org/activemq/browse/AMQCPP-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39064
] 

Tomas Lebovic commented on AMQCPP-111:
--------------------------------------

Thanks for the tips ... I managed to get passed the initial configuration but now its failing
in compile with the following:

if g++ -DHAVE_CONFIG_H -I. -I. -I../..     -ansi -pedantic  -g -O2 -W -Wall -fstrict-aliasing
-Wno-long-long -MT ActiveMQConsumer.o -MD -MP -MF ".deps/ActiveMQConsumer.Tpo" -c -o ActiveMQConsumer.o
`test -f 'activemq/core/ActiveMQConsumer.cpp' || echo './'`activemq/core/ActiveMQConsumer.cpp;
\
then mv -f ".deps/ActiveMQConsumer.Tpo" ".deps/ActiveMQConsumer.Po"; else rm -f ".deps/ActiveMQConsumer.Tpo";
exit 1; fi
activemq/core/ActiveMQConsumer.cpp:365: error: syntax error before `
   __attribute__'
activemq/core/ActiveMQConsumer.cpp:365: error: prototype for `void
   activemq::core::ActiveMQConsumer::afterMessageIsConsumed(...)' does not
   match any in class `activemq::core::ActiveMQConsumer'
activemq/core/ActiveMQConsumer.h:216: error: candidate is: virtual void
   activemq::core::ActiveMQConsumer::afterMessageIsConsumed(activemq::core::ActiveMQMessage*,
   bool)
activemq/core/ActiveMQConsumer.cpp: In member function `void
   activemq::core::ActiveMQConsumer::afterMessageIsConsumed(...)':
activemq/core/ActiveMQConsumer.cpp:377: error: `message' undeclared (first use
   this function)
activemq/core/ActiveMQConsumer.cpp:377: error: (Each undeclared identifier is
   reported only once for each function it appears in.)
activemq/core/ActiveMQConsumer.cpp:377: error: ISO C++ forbids declaration of `
   destroyMessage' with no type
activemq/core/ActiveMQConsumer.cpp:378: error: syntax error before `}' token
activemq/core/ActiveMQConsumer.cpp:386: error: extra qualification `
   activemq::core::ActiveMQConsumer::' on member `acknowledgeMessage' ignored
activemq/core/ActiveMQConsumer.cpp: In member function `virtual void
   activemq::core::ActiveMQConsumer::acknowledgeMessage(const
   activemq::core::ActiveMQMessage*)':
activemq/core/ActiveMQConsumer.cpp:407: error: extra qualification `
   activemq::core::ActiveMQConsumer::' on member `dispatch' ignored
activemq/core/ActiveMQConsumer.cpp: In member function `virtual void
   activemq::core::ActiveMQConsumer::dispatch(activemq::core::DispatchData&)':
activemq/core/ActiveMQConsumer.cpp:449: error: extra qualification `
   activemq::core::ActiveMQConsumer::' on member `purgeMessages' ignored
activemq/core/ActiveMQConsumer.cpp: In member function `virtual void
   activemq::core::ActiveMQConsumer::purgeMessages()':
activemq/core/ActiveMQConsumer.cpp:470: error: extra qualification `
   activemq::core::ActiveMQConsumer::' on member `destroyMessage' ignored
activemq/core/ActiveMQConsumer.cpp: In member function `virtual void
   activemq::core::ActiveMQConsumer::destroyMessage(activemq::core::ActiveMQMessage*)
   ':
activemq/core/ActiveMQConsumer.cpp:489: error: extra qualification `
   activemq::core::ActiveMQConsumer::' on member `onConnectorResourceClosed'
   ignored
make[2]: *** [ActiveMQConsumer.o] Error 1
make[2]: Leaving directory `/home/lebovic/activemq-cpp/activemq-cpp/src/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lebovic/activemq-cpp/activemq-cpp'
make: *** [all] Error 2

> Unable to ./configure under Suse Linux 64 bit
> ---------------------------------------------
>
>                 Key: AMQCPP-111
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-111
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 2.0
>         Environment: Suse Linux 64 Bit
>            Reporter: Tomas Lebovic
>         Assigned To: Nathan Mittler
>
> I ran ./autogen.sh which produced the following errors:
> Makefile.am:21: directory should not contain `/'
> src/examples/Makefile.am: installing `config/depcomp'
> src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override
it;
> src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
> src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
> src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
> Makefile.am:21: directory should not contain `/'
> src/test-integration/Makefile.am:44: `CXXFLAGS' is a user variable, you should not override
it;
> src/test-integration/Makefile.am:44: use `AM_CXXFLAGS' instead.
> src/test/Makefile.am:106: `CXXFLAGS' is a user variable, you should not override it;
> src/test/Makefile.am:106: use `AM_CXXFLAGS' instead.
> autoreconf: automake failed with exit status: 1
> But as i understand it these can be safely ignored so i went to the next step ./configure
which dies with the following:
> checking pthread.h presence... yes
> checking for pthread.h... yes
> checking for ioctl... yes
> checking for select... yes
> checking for gettimeofday... yes
> checking for time... yes
> checking for ftime... yes
> checking for cppunit-config... /usr/local/bin/cppunit-config
> checking for Cppunit - version >= 1.10.2... 1.12.0
> checking for pthread_create in -lpthread... no
> configure: error: libpthread not found!
> I have used -lpthread in compilation of my programs so i know that library is present
on the system. I am unsure how to circumvent this error any help would be greatly appreciated


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


Mime
View raw message