error when running on Ubuntu

77 views
Skip to first unread message

Circu Virtu

unread,
Sep 6, 2016, 6:22:00 AM9/6/16
to Extempore
I tried to run extempore on a new Ubuntu 14.04.
Used the precompiled stuff but get the following error:
./extempore
./extempore: relocation error: ./extempore: symbol _ZNKSt3_V214error_category10_M_messageB5cxx11Ei, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference

Anything else I need to install, confgure to get it to work?

Tnx
-cv

Ben Swift

unread,
Sep 8, 2016, 2:34:50 AM9/8/16
to extemp...@googlegroups.com
Hi CV

This is a messy libc binary issue - upgrading to a more recent Ubuntu
should fix it, but I guess that's not a very palatable option. I don't
have an older Ubuntu box to re-build the binary on, either.

So, probably the easiest solution is to build from source - it's pretty
easy these days. Are you able to give that a try?

Cheers,
Ben

Circu Virtu

unread,
Sep 10, 2016, 5:21:03 AM9/10/16
to Extempore
I tried to build it from source.
But that's were the pain starts.
Got a lit of errors, mainly due to stuff not installed.
But finally I got this and now I have now clue what's wrong.
Any idea, tnx

[ 50%] Building CXX object CMakeFiles/extempore.dir/src/TaskScheduler.cpp.o
[ 50%] Building CXX object CMakeFiles/extempore.dir/src/UNIV.cpp.o
Linking CXX executable extempore
CMakeFiles/extempore.dir/src/SchemeFFI.cpp.o: In Funktion `extemp::SchemeFFI::jitCompile(std::string const&)':
SchemeFFI.cpp:(.text+0xa943): Nicht definierter Verweis auf `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator()'
SchemeFFI.cpp:(.text+0xa9ba): Nicht definierter Verweis auf `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator(__gnu_cxx::__normal_iterator<char const*, std::string>, __gnu_cxx::__normal_iterator<char const*, std::string>, std::basic_regex<char, std::regex_traits<char> > const&, int, std::bitset<11ul>)'
SchemeFFI.cpp:(.text+0xab0f): Nicht definierter Verweis auf `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator()'
SchemeFFI.cpp:(.text+0xab87): Nicht definierter Verweis auf `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator(__gnu_cxx::__normal_iterator<char const*, std::string>, __gnu_cxx::__normal_iterator<char const*, std::string>, std::basic_regex<char, std::regex_traits<char> > const&, int, std::bitset<11ul>)'
SchemeFFI.cpp:(.text+0xb892): Nicht definierter Verweis auf `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator()'
SchemeFFI.cpp:(.text+0xb8f3): Nicht definierter Verweis auf `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator(__gnu_cxx::__normal_iterator<char const*, std::string>, __gnu_cxx::__normal_iterator<char const*, std::string>, std::basic_regex<char, std::regex_traits<char> > const&, int, std::bitset<11ul>)'
SchemeFFI.cpp:(.text+0xb99c): Nicht definierter Verweis auf `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator()'
SchemeFFI.cpp:(.text+0xb9f0): Nicht definierter Verweis auf `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator(__gnu_cxx::__normal_iterator<char const*, std::string>, __gnu_cxx::__normal_iterator<char const*, std::string>, std::basic_regex<char, std::regex_traits<char> > const&, int, std::bitset<11ul>)'
CMakeFiles/extempore.dir/src/SchemeFFI.cpp.o: In Funktion `std::insert_iterator<std::vector<std::string, std::allocator<std::string> > > std::copy<std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >, std::insert_iterator<std::vector<std::string, std::allocator<std::string> > > >(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >, std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >, std::insert_iterator<std::vector<std::string, std::allocator<std::string> > >)':
SchemeFFI.cpp:(.text._ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt6vectorISsSaISsEEEET0_T_SF_SE_[_ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt6vectorISsSaISsEEEET0_T_SF_SE_]+0x36): Nicht definierter Verweis auf `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)'
SchemeFFI.cpp:(.text._ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt6vectorISsSaISsEEEET0_T_SF_SE_[_ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt6vectorISsSaISsEEEET0_T_SF_SE_]+0x41): Nicht definierter Verweis auf `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)'
SchemeFFI.cpp:(.text._ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt6vectorISsSaISsEEEET0_T_SF_SE_[_ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt6vectorISsSaISsEEEET0_T_SF_SE_]+0x59): Nicht definierter Verweis auf `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)'
SchemeFFI.cpp:(.text._ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt6vectorISsSaISsEEEET0_T_SF_SE_[_ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt6vectorISsSaISsEEEET0_T_SF_SE_]+0x79): Nicht definierter Verweis auf `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)'
SchemeFFI.cpp:(.text._ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt6vectorISsSaISsEEEET0_T_SF_SE_[_ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt6vectorISsSaISsEEEET0_T_SF_SE_]+0x8e): Nicht definierter Verweis auf `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)'
CMakeFiles/extempore.dir/src/SchemeFFI.cpp.o:SchemeFFI.cpp:(.text._ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt6vectorISsSaISsEEEET0_T_SF_SE_[_ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt6vectorISsSaISsEEEET0_T_SF_SE_]+0xa9): Weitere nicht definierte Verweise auf `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)' folgen
CMakeFiles/extempore.dir/src/SchemeFFI.cpp.o: In Funktion `std::insert_iterator<std::vector<std::string, std::allocator<std::string> > > std::copy<std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >, std::insert_iterator<std::vector<std::string, std::allocator<std::string> > > >(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >, std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >, std::insert_iterator<std::vector<std::string, std::allocator<std::string> > >)':
SchemeFFI.cpp:(.text._ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt6vectorISsSaISsEEEET0_T_SF_SE_[_ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt6vectorISsSaISsEEEET0_T_SF_SE_]+0x1fd): Nicht definierter Verweis auf `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::operator++()'
SchemeFFI.cpp:(.text._ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt6vectorISsSaISsEEEET0_T_SF_SE_[_ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt6vectorISsSaISsEEEET0_T_SF_SE_]+0x208): Nicht definierter Verweis auf `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::operator!=(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)'
SchemeFFI.cpp:(.text._ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt6vectorISsSaISsEEEET0_T_SF_SE_[_ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt6vectorISsSaISsEEEET0_T_SF_SE_]+0x218): Nicht definierter Verweis auf `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::operator*()'
CMakeFiles/extempore.dir/src/SchemeFFI.cpp.o: In Funktion `std::insert_iterator<std::unordered_set<std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::string> > > std::copy<std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >, std::insert_iterator<std::unordered_set<std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::string> > > >(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >, std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >, std::insert_iterator<std::unordered_set<std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::string> > >)':
SchemeFFI.cpp:(.text._ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt13unordered_setISsSt4hashISsESt8equal_toISsESaISsEEEET0_T_SJ_SI_[_ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt13unordered_setISsSt4hashISsESt8equal_toISsESaISsEEEET0_T_SJ_SI_]+0x36): Nicht definierter Verweis auf `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)'
SchemeFFI.cpp:(.text._ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt13unordered_setISsSt4hashISsESt8equal_toISsESaISsEEEET0_T_SJ_SI_[_ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt13unordered_setISsSt4hashISsESt8equal_toISsESaISsEEEET0_T_SJ_SI_]+0x41): Nicht definierter Verweis auf `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)'
SchemeFFI.cpp:(.text._ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt13unordered_setISsSt4hashISsESt8equal_toISsESaISsEEEET0_T_SJ_SI_[_ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt13unordered_setISsSt4hashISsESt8equal_toISsESaISsEEEET0_T_SJ_SI_]+0x59): Nicht definierter Verweis auf `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)'
SchemeFFI.cpp:(.text._ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt13unordered_setISsSt4hashISsESt8equal_toISsESaISsEEEET0_T_SJ_SI_[_ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt13unordered_setISsSt4hashISsESt8equal_toISsESaISsEEEET0_T_SJ_SI_]+0x79): Nicht definierter Verweis auf `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)'
SchemeFFI.cpp:(.text._ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt13unordered_setISsSt4hashISsESt8equal_toISsESaISsEEEET0_T_SJ_SI_[_ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt13unordered_setISsSt4hashISsESt8equal_toISsESaISsEEEET0_T_SJ_SI_]+0x8e): Nicht definierter Verweis auf `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)'
CMakeFiles/extempore.dir/src/SchemeFFI.cpp.o:SchemeFFI.cpp:(.text._ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt13unordered_setISsSt4hashISsESt8equal_toISsESaISsEEEET0_T_SJ_SI_[_ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt13unordered_setISsSt4hashISsESt8equal_toISsESaISsEEEET0_T_SJ_SI_]+0xa9): Weitere nicht definierte Verweise auf `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)' folgen
CMakeFiles/extempore.dir/src/SchemeFFI.cpp.o: In Funktion `std::insert_iterator<std::unordered_set<std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::string> > > std::copy<std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >, std::insert_iterator<std::unordered_set<std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::string> > > >(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >, std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >, std::insert_iterator<std::unordered_set<std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::string> > >)':
SchemeFFI.cpp:(.text._ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt13unordered_setISsSt4hashISsESt8equal_toISsESaISsEEEET0_T_SJ_SI_[_ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt13unordered_setISsSt4hashISsESt8equal_toISsESaISsEEEET0_T_SJ_SI_]+0x216): Nicht definierter Verweis auf `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::operator++()'
SchemeFFI.cpp:(.text._ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt13unordered_setISsSt4hashISsESt8equal_toISsESaISsEEEET0_T_SJ_SI_[_ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt13unordered_setISsSt4hashISsESt8equal_toISsESaISsEEEET0_T_SJ_SI_]+0x223): Nicht definierter Verweis auf `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::operator!=(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)'
SchemeFFI.cpp:(.text._ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt13unordered_setISsSt4hashISsESt8equal_toISsESaISsEEEET0_T_SJ_SI_[_ZSt4copyISt20regex_token_iteratorIN9__gnu_cxx17__normal_iteratorIPKcSsEEcSt12regex_traitsIcEESt15insert_iteratorISt13unordered_setISsSt4hashISsESt8equal_toISsESaISsEEEET0_T_SJ_SI_]+0x233): Nicht definierter Verweis auf `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::operator*()'
collect2: error: ld returned 1 exit status
make[2]: *** [extempore] Fehler 1
make[1]: *** [CMakeFiles/extempore.dir/all] Fehler 2
make: *** [all] Fehler 2

Ben Swift

unread,
Sep 13, 2016, 8:38:13 PM9/13/16
to extemp...@googlegroups.com
Ah, it does look like it might be libc++ versioning pains - although my
german's a bit dusty. What version of gcc are you using?

Is anyone else on the list building/running Extempore on Ubuntu 14.04 or
older?

Cheers

Circu Virtu

unread,
Sep 16, 2016, 6:21:40 AM9/16/16
to Extempore
Hi Ben,

thank you for trying to solve the puzzle.
Sry about those German bits in the error messages.

gcc version 4.8.5 (Ubuntu 4.8.5-2ubuntu1~14.04.1)

--cv

Ben Swift

unread,
Sep 17, 2016, 9:03:23 PM9/17/16
to extemp...@googlegroups.com
Hi CV

It looks like support for std::regex doesn't happen till gcc 4.9. Is
there any chance you can upgrade your gcc?

Cheers,
Ben

Circu Virtu <circu...@gmail.com> writes:

> Hi Ben,
>
> thank you for trying to solve the puzzle.
> Sry about those German bits in the error messages.
>
> gcc version 4.8.5 (Ubuntu 4.8.5-2ubuntu1~14.04.1)
>
> --cv
>
> Am Mittwoch, 14. September 2016 02:38:13 UTC+2 schrieb ben:
>>
>> Ah, it does look like it might be libc++ versioning pains - although my
>> german's a bit dusty. What version of gcc are you using?
>>
>> Is anyone else on the list building/running Extempore on Ubuntu 14.04 or
>> older?
>>
>> Cheers
>> Ben
>>

Circu Virtu

unread,
Sep 18, 2016, 6:54:45 AM9/18/16
to Extempore
Now have

gcc version 4.9.4 (Ubuntu 4.9.4-2ubuntu1~14.04.1)


but still the error:

[ 60%] Building CXX object CMakeFiles/extempore.dir/src/UNIV.cpp.o

Ben Swift

unread,
Sep 19, 2016, 9:55:36 PM9/19/16
to extemp...@googlegroups.com
That's strange - std::regex is supposed to be supported in from 4.9 onwards:

https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.200x

Did you do a make clean first?

Cheers
Ben

Circu Virtu

unread,
Sep 22, 2016, 7:08:13 AM9/22/16
to Extempore
Yes, I did a make clean before.
Do I have to upgrade the other compiler (g++) as well, or some libs?
I just had to switch back to the original of gcc because soem of my other stuff was not
working with the new gcc version.
Having extempore on linux would be nice, but is not essential to me. I have it running on Mac and even
on Win7 :)

Tnx
--cv

Ben Swift

unread,
Sep 22, 2016, 7:00:04 PM9/22/16
to extemp...@googlegroups.com
It seems like it's an issue with the libstdc++, ultimately. Can you try
adding this line to your CMakeLists.txt:

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

And see if that helps?

Cheers
Ben

Circu Virtu <circu...@gmail.com> writes:

> Yes, I did a make clean before.
> Do I have to upgrade the other compiler (g++) as well, or some libs?
> I just had to switch back to the original of gcc because soem of my other
> stuff was not
> working with the new gcc version.
> Having extempore on linux would be nice, but is not essential to me. I have
> it running on Mac and even
> on Win7 :)
>
> Tnx
> --cv
>
> Am Dienstag, 20. September 2016 03:55:36 UTC+2 schrieb ben:
>>
>> That's strange - std::regex is supposed to be supported in from 4.9
>> onwards:
>>
>> https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.200x
>>
>> Did you do a make clean first?
>>
>> Cheers
>> Ben
>>

Circu Virtu

unread,
Sep 23, 2016, 9:04:38 AM9/23/16
to Extempore
Added that, but unfortunately the same error as before.

Ben Swift

unread,
Sep 27, 2016, 3:57:59 AM9/27/16
to extemp...@googlegroups.com
Hi cv

Unfortunately I don't have an old ubuntu box handy, so I can't really
say much more on this point. Sorry about that. If anyone else on the
list knows how to get std::regex and gcc playing nice on ubuntu 14.04
then maybe they can chime in.

Cheers,
Ben

Circu Virtu <circu...@gmail.com> writes:

> Added that, but unfortunately the same error as before.
>
>
> Am Freitag, 23. September 2016 01:00:04 UTC+2 schrieb ben:
>>
>> It seems like it's an issue with the libstdc++, ultimately. Can you try
>> adding this line to your CMakeLists.txt:
>>
>> set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
>>
>> And see if that helps?
>>
>> Cheers
>> Ben
>>
Reply all
Reply to author
Forward
0 new messages