[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-source-highlight] source-highlight on solaris?
From: |
Stefan Palm |
Subject: |
[Help-source-highlight] source-highlight on solaris? |
Date: |
Tue, 20 Apr 2010 10:29:16 +0200 (CEST) |
Hi folks.
I'm having problems to build source-highlight 3.1.3 on solaris10 (sparc). Using
the sunstudio compiler (12.1) I get the following error quite at the beginning
of the build process:
--- SunStudio ---
/bin/bash ../../libtool --tag=CXX --mode=compile CC -DHAVE_CONFIG_H -I.
-I../.. -I../../src -I../../gl -I../../gl -I/swmtools/include
-I/swmtools/include -I/swmtools/include/boost -c -o langelemsprinter.lo
langelemsprinter.cpp
libtool: compile: CC -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../gl
-I../../gl -I/swmtools/include -I/swmtools/include/boost -c
langelemsprinter.cpp -KPIC -DPIC -o .libs/langelemsprinter.o
"langelemsprinter.cpp", line 64: Error: Could not find a match for
std::set<std::string>::insert(std::list<std::string>::const_iterator,
std::list<std::string>::const_iterator) needed in
srchilite::LangElemsPrinter::collect(const srchilite::NamedSubExpsLangElem*).
1 Error(s) detected.
gmake[4]: *** [langelemsprinter.lo] Error 1
gmake[4]: Leaving directory
`/home/spalm0/work/source-highlight-3.1.3/lib/srchilite'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory
`/home/spalm0/work/source-highlight-3.1.3/lib/srchilite'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/spalm0/work/source-highlight-3.1.3/lib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/spalm0/work/source-highlight-3.1.3'
gmake: *** [all] Error 2
--- END ---
"Falling back" to gcc seemed to help in the first place but after a few minutes
I get this error:
--- GCC ---
/bin/bash ../libtool --tag=CXX --mode=link g++ -I/swmtools/include
-I/swmtools/include/boost -L/swmtools/lib -o check-regexp check-regexp_cmd.o
check-regexp.o -lboost_regex ../gl/libgnu.la
libtool: link: g++ -I/swmtools/include -I/swmtools/include/boost -o
check-regexp check-regexp_cmd.o check-regexp.o -L/swmtools/lib -lboost_regex
../gl/.libs/libgnu.a
Undefined first referenced
symbol in file
boost::basic_regex<char, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::do_assign(char const*, char const*, unsigned
int)check-regexp.o
boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator<char const*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > >,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >,
boost::regex_traits<char, boost::cpp_regex_traits<char> >
>::construct_init(boost::basic_regex<char, boost::regex_traits<char,
boost::cpp_regex_traits<char> > > const&,
boost::regex_constants::_match_flags)check-regexp.o
boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator<char const*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > >,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >,
boost::regex_traits<char, boost::cpp_regex_traits<char> >
>::find()check-regexp.o
ld: fatal: Symbol referencing errors. No output written to check-regexp
collect2: ld returned 1 exit status
gmake[2]: *** [check-regexp] Error 1
gmake[2]: Leaving directory `/home/spalm0/work/source-highlight-3.1.3/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/spalm0/work/source-highlight-3.1.3'
gmake: *** [all] Error 2
--- END ---
Any suggestions/ideas what's going on here?
Thanks,
Stefan
- [Help-source-highlight] source-highlight on solaris?,
Stefan Palm <=