LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-04-2013, 11:17 AM   #1
cecillord
LQ Newbie
 
Registered: Aug 2012
Posts: 9

Rep: Reputation: Disabled
Error installing due to boost lib


Hi all
I am getting the following error while installing hornet1.0 simulator (hornetuser manual : http://csg.csail.mit.edu/hornet/). Please help me to install this tool. I have installed boost 1.54, gcc 4.7, python 2.7

Making install in sim
make[2]: Entering directory `/home/loly/hornet-1.0/src/sim'
g++ -DHAVE_CONFIG_H -I. -I../../src/common -I../../src/boost.task-0.4.2 -I../../src/power -I../../src/net -I../../src/pe -I../../src/cpu -I../../src/inject -I../../src/sys -pthread -I/usr/include -Wall -Werror -g -O2 -MT sim.o -MD -MP -MF .deps/sim.Tpo -c -o sim.o sim.cpp
In file included from /usr/include/boost/system/config.hpp:14:0,
from /usr/include/boost/system/error_code.hpp:14,
from /usr/include/boost/system/system_error.hpp:14,
from ../../src/boost.task-0.4.2/boost/task/detail/bind_processor_linux.hpp:18,
from ../../src/boost.task-0.4.2/boost/task/detail/bind_processor.hpp:17,
from sim.cpp:9:
/usr/include/boost/system/api_config.hpp:28:5: error: #error user defined BOOST_POSIX_API or BOOST_WINDOWS_API not supported
In file included from ../../src/boost.task-0.4.2/boost/task/detail/bind_processor.hpp:17:0,
from sim.cpp:9:
../../src/boost.task-0.4.2/boost/task/detail/bind_processor_linux.hpp: In function ‘void boost::this_thread::bind_to_processor(unsigned int)’:
../../src/boost.task-0.4.2/boost/task/detail/bind_processor_linux.hpp:41:36: error: no matching function for call to ‘boost::system::error_code::error_code(int&, const boost::system::error_category& (&)())’
../../src/boost.task-0.4.2/boost/task/detail/bind_processor_linux.hpp:41:36: note: candidates are:
In file included from /usr/include/boost/system/system_error.hpp:14:0,
from ../../src/boost.task-0.4.2/boost/task/detail/bind_processor_linux.hpp:18,
from ../../src/boost.task-0.4.2/boost/task/detail/bind_processor.hpp:17,
from sim.cpp:9:
/usr/include/boost/system/error_code.hpp:319:9: note: template<class ErrorCodeEnum> boost::system::error_code::error_code(ErrorCodeEnum, typename boost::enable_if<boost::system::is_error_code_enum<ErrorCodeEnum> >::type*)
/usr/include/boost/system/error_code.hpp:319:9: note: template argument deduction/substitution failed:
/usr/include/boost/system/error_code.hpp: In substitution of ‘template<class ErrorCodeEnum> boost::system::error_code::error_code(ErrorCodeEnum, typename boost::enable_if<boost::system::is_error_code_enum<ErrorCodeEnum> >::type*) [with ErrorCodeEnum = int]’:
../../src/boost.task-0.4.2/boost/task/detail/bind_processor_linux.hpp:41:36: required from here
/usr/include/boost/system/error_code.hpp:319:9: error: no type named ‘type’ in ‘struct boost::enable_if<boost::system::is_error_code_enum<int>, void>’
/usr/include/boost/system/error_code.hpp:316:7: note: boost::system::error_code::error_code(int, const boost::system::error_category&)
/usr/include/boost/system/error_code.hpp:316:7: note: no known conversion for argument 2 from ‘const boost::system::error_category&()’ to ‘const boost::system::error_category&’
/usr/include/boost/system/error_code.hpp:315:7: note: boost::system::error_code::error_code()
/usr/include/boost/system/error_code.hpp:315:7: note: candidate expects 0 arguments, 2 provided
/usr/include/boost/system/error_code.hpp:310:11: note: boost::system::error_code::error_code(const boost::system::error_code&)
/usr/include/boost/system/error_code.hpp:310:11: note: candidate expects 1 argument, 2 provided
In file included from ../../src/boost.task-0.4.2/boost/task/detail/bind_processor.hpp:17:0,
from sim.cpp:9:
../../src/boost.task-0.4.2/boost/task/detail/bind_processor_linux.hpp: In function ‘void boost::this_thread::bind_to_any_processor()’:
../../src/boost.task-0.4.2/boost/task/detail/bind_processor_linux.hpp:59:36: error: no matching function for call to ‘boost::system::error_code::error_code(int&, const boost::system::error_category& (&)())’
../../src/boost.task-0.4.2/boost/task/detail/bind_processor_linux.hpp:59:36: note: candidates are:
In file included from /usr/include/boost/system/system_error.hpp:14:0,
from ../../src/boost.task-0.4.2/boost/task/detail/bind_processor_linux.hpp:18,
from ../../src/boost.task-0.4.2/boost/task/detail/bind_processor.hpp:17,
from sim.cpp:9:
/usr/include/boost/system/error_code.hpp:319:9: note: template<class ErrorCodeEnum> boost::system::error_code::error_code(ErrorCodeEnum, typename boost::enable_if<boost::system::is_error_code_enum<ErrorCodeEnum> >::type*)
/usr/include/boost/system/error_code.hpp:319:9: note: template argument deduction/substitution failed:
/usr/include/boost/system/error_code.hpp: In substitution of ‘template<class ErrorCodeEnum> boost::system::error_code::error_code(ErrorCodeEnum, typename boost::enable_if<boost::system::is_error_code_enum<ErrorCodeEnum> >::type*) [with ErrorCodeEnum = int]’:
../../src/boost.task-0.4.2/boost/task/detail/bind_processor_linux.hpp:59:36: required from here
/usr/include/boost/system/error_code.hpp:319:9: error: no type named ‘type’ in ‘struct boost::enable_if<boost::system::is_error_code_enum<int>, void>’
/usr/include/boost/system/error_code.hpp:316:7: note: boost::system::error_code::error_code(int, const boost::system::error_category&)
/usr/include/boost/system/error_code.hpp:316:7: note: no known conversion for argument 2 from ‘const boost::system::error_category&()’ to ‘const boost::system::error_category&’
/usr/include/boost/system/error_code.hpp:315:7: note: boost::system::error_code::error_code()
/usr/include/boost/system/error_code.hpp:315:7: note: candidate expects 0 arguments, 2 provided
/usr/include/boost/system/error_code.hpp:310:11: note: boost::system::error_code::error_code(const boost::system::error_code&)
/usr/include/boost/system/error_code.hpp:310:11: note: candidate expects 1 argument, 2 provided
make[2]: *** [sim.o] Error 1
make[2]: Leaving directory `/home/loly/hornet-1.0/src/sim'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/loly/hornet-1.0/src'
make: *** [install-recursive] Error 1
linuxmint hornet-1.0 #


Thanks in advance
 
Old 09-05-2013, 04:13 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
"hornet-1.0.tbz" > hornet-1.0/ compiles OK on the 64bits Debian 6 Squeeze :
http://www.linuxquestions.org/questi...-4175425075/#7
→ No go, Ubuntu 11.04 - 64, 32bits Debian Squeeze and Wheezy,
any Fedora version , CentOS 6 / Scientific SL6 - 64.

I tried a few more yesterday :
1) Ubuntu 12.04, 32bits
2) Ubuntu 12.10, 64 bits
3) Ubuntu 12.04, 64 bits
... No luck.

Which Ubuntu are you using ? a) $ uname -m
b) $ cat /etc/issue


-

Last edited by knudfl; 09-05-2013 at 04:20 AM.
 
Old 09-06-2013, 12:58 AM   #3
cecillord
LQ Newbie
 
Registered: Aug 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
hi knudfl,

i am working with linuxmint 32bit.
 
Old 09-08-2013, 11:00 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 3 .

Which Linux Mint are you using ? ? $ cat /etc/issue <Enter>
 
Old 09-09-2013, 01:20 AM   #5
cecillord
LQ Newbie
 
Registered: Aug 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
@ knudfl

Linux Mint 15 Olivia \n \l
 
Old 09-27-2013, 09:12 PM   #6
cecillord
LQ Newbie
 
Registered: Aug 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Installed debin 6.06 squeez

hi i hve installed autoconf,automake and libtool still it is giving error
root@debian:/home/lord/hornet-1.0# ./bootstrap
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'.
libtoolize: copying file `build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `.'
 
Old 10-02-2013, 11:24 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 6 .

! No errors shown in post #6 !




-

Last edited by knudfl; 10-03-2013 at 09:38 AM.
 
  


Reply

Tags
hornet


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems installing gtk+ due to missing/outdated gettext-lib Bloehdian Linux - Software 1 12-14-2012 10:17 AM
boost lib problem biocc Linux - Newbie 8 09-17-2010 07:52 AM
Can´t start xorg in ubuntu 8.10 due to fatal error caused by /lib/modules DeepSeaNautilus Linux - Software 2 05-25-2009 10:36 PM
Compiling libtorrent-0.12 failing on boost lib that does exist agentc0re Slackware 4 01-12-2008 01:36 PM
Installing RHEL3 Error due to RAID only system Codefire Linux - Hardware 0 10-28-2005 11:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration