help-source-highlight
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-source-highlight] source-highlight on solaris?


From: Lorenzo Bettini
Subject: Re: [Help-source-highlight] source-highlight on solaris?
Date: Tue, 20 Apr 2010 23:53:56 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4

On 04/20/2010 10:29 AM, Stefan Palm wrote:
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 ---


Hi Stefan

is the Sparc compiler a recent one?

"Falling back" to gcc seemed to help in the first place but after a few minutes 
I get this error:


as for the gcc compiler, which version is it?
However this one seems to be related to a symbol not found in the boost library... it looks like the boost headers do not correspond to the boost library... do you have more than one version of boost library installed?

cheers
        Lorenzo

--- 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 mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-source-highlight


--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134     (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]