Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation Error in Fedora 17 #24

Closed
blebon opened this issue Apr 16, 2013 · 2 comments
Closed

Compilation Error in Fedora 17 #24

blebon opened this issue Apr 16, 2013 · 2 comments

Comments

@blebon
Copy link

blebon commented Apr 16, 2013

I have successfully compiled bitcoin, litecoin, and ppcoin on my Fedora installation. However, I get the following error with namecoin:

g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -DNOPCH -DFOURWAYSSE2 -DUSE_SSL -o obj/nogui/util.o util.cpp
In file included from util.cpp:6:0:
/usr/include/boost/program_options/detail/config_file.hpp: In instantiation of ‘bool boost::program_options::detail::basic_config_file_iterator<charT>::getline(std::string&) [with charT = char; std::string = std::basic_string<char>]’:
util.cpp:906:1:   required from here
/usr/include/boost/program_options/detail/config_file.hpp:163:13: error: ‘to_internal’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from /usr/include/boost/program_options/detail/parsers.hpp:9:0,
             from /usr/include/boost/program_options/parsers.hpp:265,
             from util.cpp:7:
/usr/include/boost/program_options/detail/convert.hpp:75:34: note: ‘template<class T> std::vector<std::basic_string<char> > boost::program_options::to_internal(const std::vector<T>&)’ declared here, later in the translation unit
make: *** [obj/nogui/util.o] Error 1

Any help to get this working please?

@m0Ray
Copy link

m0Ray commented Mar 7, 2014

The same in openSuSE 12.2, 12.3, 13.1 and Factory:

g++ -c -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -o obj/nogui/util.o util.cpp
In file included from headers.h:97:0,
                 from util.cpp:4:
util.h: In function 'void ExitThread(unsigned int)':
util.h:742:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
In file included from util.cpp:6:0:
/usr/include/boost/program_options/detail/config_file.hpp: In instantiation of 'bool boost::program_options::detail::basic_config_file_iterator<charT>::getline(std::string&) [with charT = char; std::string = std::basic_string<char>]':
util.cpp:1103:1:   required from here
/usr/include/boost/program_options/detail/config_file.hpp:163:13: error: 'to_internal' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from /usr/include/boost/program_options/detail/parsers.hpp:9:0,
                 from /usr/include/boost/program_options/parsers.hpp:265,
                 from util.cpp:7:
/usr/include/boost/program_options/detail/convert.hpp:75:34: note: 'template<class T> std::vector<std::basic_string<char> > boost::program_options::to_internal(const std::vector<T>&)' declared here, later in the translation unit
make: *** [obj/nogui/util.o] Error 1

@phelixbtc
Copy link
Contributor

About to close for being outdated...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants