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

cannot build on debian buster #2

Open
ftoledo opened this issue Jul 12, 2021 · 2 comments
Open

cannot build on debian buster #2

ftoledo opened this issue Jul 12, 2021 · 2 comments

Comments

@ftoledo
Copy link

ftoledo commented Jul 12, 2021

ragnarok@ragnarok-pc33:/tmp/transcriber-ag/source/build$ cmake ..
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29") 
-- Looking for gettext
-- Looking for gettext - found
-- Checking for module 'x11'
--   Found x11, version 1.6.7
-- Checking for module 'glibmm-2.4'
--   Found glibmm-2.4, version 2.58.0
-- Checking for module 'xerces-c'
--   Found xerces-c, version 3.2.2
-- Checking for module 'gtkmm-2.4'
--   Found gtkmm-2.4, version 2.24.5
-- Checking for module 'sndfile'
--   Found sndfile, version 1.0.28
-- Checking for module 'portaudio-2.0'
--   Found portaudio-2.0, version 19
-- Checking for module 'libavcodec'
--   Found libavcodec, version 58.35.100
-- Checking for module 'libavformat'
--   Found libavformat, version 58.20.100
-- Checking for module 'libavutil'
--   Found libavutil, version 56.22.100
-- Checking for module 'libavdevice'
--   Found libavdevice, version 58.5.100
-- Checking for module 'libswscale'
--   Found libswscale, version 5.3.100
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") 
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/transcriber-ag/source/build
ragnarok@ragnarok-pc33:/tmp/transcriber-ag/source/build$ make
Scanning dependencies of target ag
[  0%] Building CXX object libs/aglib-2.0.1/src/ag/CMakeFiles/ag.dir/AG.cc.o
In file included from /usr/include/c++/8/ext/hash_map:60,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/Hash.h:20,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/Identifiers.h:19,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/AG.h:15,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/AG.cc:9:
/usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
 #warning \
  ^~~~~~~
In file included from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/Identifiers.h:19,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/AG.h:15,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/AG.cc:9:
/tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/Hash.h: In member function ‘size_t hashString::operator()(const string&) const’:
/tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/Hash.h:51:7: error: reference to ‘hash’ is ambiguous
       hash<char const *> h;
       ^~~~
In file included from /usr/include/c++/8/backward/hashtable.h:66,
                 from /usr/include/c++/8/ext/hash_map:64,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/Hash.h:20,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/Identifiers.h:19,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/AG.h:15,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/AG.cc:9:
/usr/include/c++/8/backward/hash_fun.h:68:12: note: candidates are: ‘template<class _Key> struct __gnu_cxx::hash’
     struct hash { };
            ^~~~
In file included from /usr/include/c++/8/bits/basic_string.h:6626,
                 from /usr/include/c++/8/string:52,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/AGTypes.h:12,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/AG.h:14,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/AG.cc:9:
/usr/include/c++/8/bits/functional_hash.h:58:12: note:                 ‘template<class _Tp> struct std::hash’
     struct hash;
            ^~~~
In file included from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/Identifiers.h:19,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/AG.h:15,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/AG.cc:9:
/tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/Hash.h:51:12: error: expected primary-expression before ‘char’
       hash<char const *> h;
            ^~~~
/tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/Hash.h:52:15: error: ‘h’ was not declared in this scope
       return (h(str.c_str()));
               ^
/tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/Hash.h: In member function ‘size_t hashStringPair::operator()(const std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >&) const’:
/tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/Hash.h:75:7: error: reference to ‘hash’ is ambiguous
       hash<char const *> h;
       ^~~~
In file included from /usr/include/c++/8/backward/hashtable.h:66,
                 from /usr/include/c++/8/ext/hash_map:64,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/Hash.h:20,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/Identifiers.h:19,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/AG.h:15,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/AG.cc:9:
/usr/include/c++/8/backward/hash_fun.h:68:12: note: candidates are: ‘template<class _Key> struct __gnu_cxx::hash’
     struct hash { };
            ^~~~
In file included from /usr/include/c++/8/bits/basic_string.h:6626,
                 from /usr/include/c++/8/string:52,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/AGTypes.h:12,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/AG.h:14,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/AG.cc:9:
/usr/include/c++/8/bits/functional_hash.h:58:12: note:                 ‘template<class _Tp> struct std::hash’
     struct hash;
            ^~~~
In file included from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/Identifiers.h:19,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/AG.h:15,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/AG.cc:9:
/tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/Hash.h:75:12: error: expected primary-expression before ‘char’
       hash<char const *> h;
            ^~~~
/tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/Hash.h:76:15: error: ‘h’ was not declared in this scope
       return (h((sp.first+sp.second).c_str()));
               ^
In file included from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/AG.h:15,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/AG.cc:9:
/tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/Identifiers.h: At global scope:
/tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/Identifiers.h:93:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
   const Id new_id(const Id& id) throw (AGException);
                                 ^~~~~
In file included from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/Metadata.h:15,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/Signal.h:13,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/Anchor.h:13,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/AG.h:16,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/AG.cc:9:
/tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/FeatureMap.h:29:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     throw (AGException);
     ^~~~~
In file included from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/AG.h:19,
                 from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/AG.cc:9:
/tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/Timeline.h:67:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
    string track) throw (AGException);
                  ^~~~~
In file included from /tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/AG.cc:9:
/tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/AG.h:78:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
   void deleteAnchor(Anchor* a) throw (AGException);
                                ^~~~~
/tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/AG.h:105:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
         AnnotationType annotationType) throw(AGException);
                                        ^~~~~
/tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/AG.h:276:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
   Annotation* getById(const Id& id) throw (AGException);
                                     ^~~~~
/tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/ag/AG.h:279:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
   Anchor* getAnchorById(const Id& id) throw (AGException);
                                       ^~~~~
/tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/AG.cc:48:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 void AG::deleteAnchor(Anchor* a) throw (AGException) {
                                  ^~~~~
/tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/AG.cc:98:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
    AnnotationType annotationType) throw(AGException) {
                                   ^~~~~
/tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/AG.cc:356:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 Anchor* AG::getAnchorById(const Id& id) throw (AGException) {
                                         ^~~~~
/tmp/transcriber-ag/source/libs/aglib-2.0.1/src/ag/AG.cc:363:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
 Annotation* AG::getById(const Id& id) throw (AGException) {
                                       ^~~~~
make[2]: *** [libs/aglib-2.0.1/src/ag/CMakeFiles/ag.dir/build.make:63: libs/aglib-2.0.1/src/ag/CMakeFiles/ag.dir/AG.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:154: libs/aglib-2.0.1/src/ag/CMakeFiles/ag.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
@Lguyogiro
Copy link

Having same issue. any resolution?

@cjcfojc
Copy link

cjcfojc commented Mar 5, 2023

same issue, Ubuntu 22.04

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

No branches or pull requests

3 participants