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

Error on make, install on rockylinux 9 #185

Open
robnoordt opened this issue Aug 18, 2023 · 3 comments
Open

Error on make, install on rockylinux 9 #185

robnoordt opened this issue Aug 18, 2023 · 3 comments

Comments

@robnoordt
Copy link

Hi, is there a way to solve this problem? I hope there is a solution. Do not know an other way to communicate to icecast stream server. Thank you!
==><==
[root@autoradio darkice-1.4]#
[root@autoradio darkice-1.4]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking sys/audio.h usability... no
checking sys/audio.h presence... no
checking for sys/audio.h... no
checking sys/audioio.h usability... no
checking sys/audioio.h presence... no
checking for sys/audioio.h... no
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for pid_t... yes
checking for size_t... yes
checking whether byte ordering is bigendian... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for sched_getscheduler in -lrt... yes
checking for getaddrinfo... yes
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking for pthread-config... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking for lame library at /usr ... configure: WARNING: not found, building without lame
checking for VORBIS... yes
checking for OPUS... no
checking for faac library at /usr ... configure: WARNING: not found, building without faac
checking for AACPLUS... no
checking for TWOLAME... no
checking for ALSA... no
checking for PULSEAUDIO... no
checking for JACK... no
checking for SRC... no
checking for MSG_NOSIGNAL... yes
checking for sched_getscheduler... yes
checking for sched_getparam... yes
not compiling in debug mode
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
[root@autoradio darkice-1.4]# make
Making all in src
make[1]: Entering directory '/home/rocky/darkice-1.4/src'
make all-am
make[2]: Entering directory '/home/rocky/darkice-1.4/src'
g++ -DHAVE_CONFIG_H -I. -O2 -pedantic -Wall -g -O2 -MT darkice-AudioSource.o -MD -MP -MF .deps/darkice-AudioSource.Tpo -c -o darkice-AudioSource.o test -f 'AudioSource.cpp' || echo './'AudioSource.cpp
In file included from Source.h:39,
from AudioSource.h:42,
from AudioSource.cpp:36:
Referable.h:102:57: error: ISO C++17 does not allow dynamic exception specifications
102 | ~Referable ( void ) throw ( Exception )
| ^~~~~
Referable.h:121:57: error: ISO C++17 does not allow dynamic exception specifications
121 | increaseReferenceCount ( void ) throw ( Exception )
| ^~~~~
Referable.h:139:57: error: ISO C++17 does not allow dynamic exception specifications
139 | decreaseReferenceCount ( void ) throw ( Exception )
| ^~~~~
Referable.h: In destructor ‘virtual Referable::~Referable()’:
Referable.h:105:17: warning: ‘throw’ will always call ‘terminate’ [-Wterminate]
105 | throw Exception( FILE, LINE,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
106 | "reference count positive in destructor",
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
107 | referenceCount);
| ~~~~~~~~~~~~~~~
Referable.h:105:17: note: in C++11 destructors default to ‘noexcept’
In file included from AudioSource.h:42,
from AudioSource.cpp:36:
Source.h: At global scope:
Source.h:69:53: error: ISO C++17 does not allow dynamic exception specifications
69 | Source ( void ) throw ( Exception )
| ^~~~~
Source.h:80:53: error: ISO C++17 does not allow dynamic exception specifications
80 | Source ( const Source & source ) throw ( Exception )
| ^~~~~
Source.h:92:53: error: ISO C++17 does not allow dynamic exception specifications
92 | operator= ( const Source & source ) throw ( Exception )
| ^~~~~
Source.h:106:53: error: ISO C++17 does not allow dynamic exception specifications
106 | ~Source ( void ) throw ( Exception )
| ^~~~~
Source.h:117:49: error: ISO C++17 does not allow dynamic exception specifications
117 | open ( void ) throw ( Exception ) = 0;
| ^~~~~
Source.h:139:49: error: ISO C++17 does not allow dynamic exception specifications
139 | unsigned int usec ) throw ( Exception ) = 0;
| ^~~~~
Source.h:151:49: error: ISO C++17 does not allow dynamic exception specifications
151 | unsigned int len ) throw ( Exception ) = 0;
| ^~~~~
Source.h:159:49: error: ISO C++17 does not allow dynamic exception specifications
159 | close ( void ) throw ( Exception ) = 0;
| ^~~~~
In file included from AudioSource.h:43,
from AudioSource.cpp:36:
Reporter.h:132:61: error: ISO C++17 does not allow dynamic exception specifications
132 | ~Reporter ( void ) throw ( Exception )
| ^~~~~
In file included from AudioSource.cpp:36:
AudioSource.h:133:57: error: ISO C++17 does not allow dynamic exception specifications
133 | unsigned int channel ) throw ( Exception )
| ^~~~~
AudioSource.h:146:57: error: ISO C++17 does not allow dynamic exception specifications
146 | strip ( void ) throw ( Exception )
| ^~~~~
AudioSource.h:168:57: error: ISO C++17 does not allow dynamic exception specifications
168 | throw ( Exception )
| ^~~~~
AudioSource.h:180:57: error: ISO C++17 does not allow dynamic exception specifications
180 | AudioSource ( const AudioSource & as ) throw ( Exception )
| ^~~~~
AudioSource.h:194:57: error: ISO C++17 does not allow dynamic exception specifications
194 | operator= ( const AudioSource & as ) throw ( Exception )
| ^~~~~
AudioSource.h:214:57: error: ISO C++17 does not allow dynamic exception specifications
214 | ~AudioSource ( void ) throw ( Exception )
| ^~~~~
AudioSource.h:299:61: error: ISO C++17 does not allow dynamic exception specifications
299 | int channel = 2) throw ( Exception );
| ^~~~~
In file included from AudioSource.h:318,
from AudioSource.cpp:36:
OssDspSource.h:86:53: error: ISO C++17 does not allow dynamic exception specifications
86 | OssDspSource ( void ) throw ( Exception )
| ^~~~~
OssDspSource.h:98:53: error: ISO C++17 does not allow dynamic exception specifications
98 | init ( const char * name ) throw ( Exception );
| ^~~~~
OssDspSource.h:106:53: error: ISO C++17 does not allow dynamic exception specifications
106 | strip ( void ) throw ( Exception );
| ^~~~~
OssDspSource.h:127:57: error: ISO C++17 does not allow dynamic exception specifications
127 | throw ( Exception )
| ^~~~~
OssDspSource.h:141:57: error: ISO C++17 does not allow dynamic exception specifications
141 | OssDspSource ( const OssDspSource & ods ) throw ( Exception )
| ^~~~~
OssDspSource.h:153:57: error: ISO C++17 does not allow dynamic exception specifications
153 | ~OssDspSource ( void ) throw ( Exception )
| ^~~~~
OssDspSource.h:166:57: error: ISO C++17 does not allow dynamic exception specifications
166 | operator= ( const OssDspSource & ds ) throw ( Exception )
| ^~~~~
OssDspSource.h:196:57: error: ISO C++17 does not allow dynamic exception specifications
196 | open ( void ) throw ( Exception );
| ^~~~~
OssDspSource.h:222:57: error: ISO C++17 does not allow dynamic exception specifications
222 | unsigned int usec ) throw ( Exception );
| ^~~~~
OssDspSource.h:235:57: error: ISO C++17 does not allow dynamic exception specifications
235 | unsigned int len ) throw ( Exception );
| ^~~~~
OssDspSource.h:243:57: error: ISO C++17 does not allow dynamic exception specifications
243 | close ( void ) throw ( Exception );
| ^~~~~
In file included from AudioSource.h:330,
from AudioSource.cpp:36:
SerialUlaw.h:87:51: error: ISO C++17 does not allow dynamic exception specifications
87 | SerialUlaw ( void ) throw ( Exception )
| ^~~~~
SerialUlaw.h:99:53: error: ISO C++17 does not allow dynamic exception specifications
99 | init ( const char * name ) throw ( Exception );
| ^~~~~
SerialUlaw.h:107:53: error: ISO C++17 does not allow dynamic exception specifications
107 | strip ( void ) throw ( Exception );
| ^~~~~
SerialUlaw.h:128:57: error: ISO C++17 does not allow dynamic exception specifications
128 | throw ( Exception )
| ^~~~~
SerialUlaw.h:142:53: error: ISO C++17 does not allow dynamic exception specifications
142 | SerialUlaw ( const SerialUlaw & ods ) throw ( Exception )
| ^~~~~
SerialUlaw.h:154:55: error: ISO C++17 does not allow dynamic exception specifications
154 | ~SerialUlaw ( void ) throw ( Exception )
| ^~~~~
SerialUlaw.h:167:55: error: ISO C++17 does not allow dynamic exception specifications
167 | operator= ( const SerialUlaw & ds ) throw ( Exception )
| ^~~~~
SerialUlaw.h:197:57: error: ISO C++17 does not allow dynamic exception specifications
197 | open ( void ) throw ( Exception );
| ^~~~~
SerialUlaw.h:223:57: error: ISO C++17 does not allow dynamic exception specifications
223 | unsigned int usec ) throw ( Exception );
| ^~~~~
SerialUlaw.h:236:57: error: ISO C++17 does not allow dynamic exception specifications
236 | unsigned int len ) throw ( Exception );
| ^~~~~
SerialUlaw.h:244:57: error: ISO C++17 does not allow dynamic exception specifications
244 | close ( void ) throw ( Exception );
| ^~~~~
In file included from AudioSource.cpp:37:
Util.h:83:49: error: ISO C++17 does not allow dynamic exception specifications
83 | Util ( void ) throw ( Exception )
| ^~~~~
Util.h:94:49: error: ISO C++17 does not allow dynamic exception specifications
94 | Util ( const Util & e ) throw ( Exception )
| ^~~~~
Util.h:105:49: error: ISO C++17 does not allow dynamic exception specifications
105 | ~Util ( void ) throw ( Exception )
| ^~~~~
Util.h:117:49: error: ISO C++17 does not allow dynamic exception specifications
117 | operator= ( const Util & u ) throw ( Exception )
| ^~~~~
Util.h:134:53: error: ISO C++17 does not allow dynamic exception specifications
134 | strLen ( const char * str ) throw ( Exception );
| ^~~~~
Util.h:146:53: error: ISO C++17 does not allow dynamic exception specifications
146 | const char * src ) throw ( Exception );
| ^~~~~
Util.h:159:53: error: ISO C++17 does not allow dynamic exception specifications
159 | const char * src ) throw ( Exception );
| ^~~~~
Util.h:169:53: error: ISO C++17 does not allow dynamic exception specifications
169 | strDup ( const char * str ) throw ( Exception );
| ^~~~~
Util.h:184:53: error: ISO C++17 does not allow dynamic exception specifications
184 | unsigned int len = 0 ) throw ( Exception );
| ^~~~~
Util.h:194:39: error: ISO C++17 does not allow dynamic exception specifications
194 | strToL ( const char * str) throw ( Exception );
| ^~~~~
Util.h:204:53: error: ISO C++17 does not allow dynamic exception specifications
204 | strToD ( const char * str ) throw ( Exception );
| ^~~~~
Util.h:218:57: error: ISO C++17 does not allow dynamic exception specifications
218 | throw ( Exception );
| ^~~~~
Util.h:230:53: error: ISO C++17 does not allow dynamic exception specifications
230 | base64Encode ( const char * str ) throw ( Exception );
| ^~~~~
Util.h:250:61: error: ISO C++17 does not allow dynamic exception specifications
250 | bool isBigEndian = true ) throw ( Exception );
| ^~~~~
Util.h:267:61: error: ISO C++17 does not allow dynamic exception specifications
267 | unsigned int channels ) throw ( Exception );
| ^~~~~
Util.h:285:61: error: ISO C++17 does not allow dynamic exception specifications
285 | unsigned int channels ) throw ( Exception );
| ^~~~~
Util.h:305:61: error: ISO C++17 does not allow dynamic exception specifications
305 | bool isBigEndian ) throw ( Exception );
| ^~~~~
Util.h: In destructor ‘Util::~Util()’:
Util.h:107:13: warning: ‘throw’ will always call ‘terminate’ [-Wterminate]
107 | throw Exception( FILE, LINE);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Util.h:107:13: note: in C++11 destructors default to ‘noexcept’
AudioSource.cpp: At global scope:
AudioSource.cpp:68:61: error: ISO C++17 does not allow dynamic exception specifications
68 | throw ( Exception )
| ^~~~~
make[2]: *** [Makefile:655: darkice-AudioSource.o] Error 1
make[2]: Leaving directory '/home/rocky/darkice-1.4/src'
make[1]: *** [Makefile:500: all] Error 2
make[1]: Leaving directory '/home/rocky/darkice-1.4/src'
make: *** [Makefile:431: all-recursive] Error 1
[root@autoradio darkice-1.4]#

@asbestomolesto
Copy link

Same problem here. Devuan GNU/Linux

@titixbrest
Copy link

Hi !
Did you try recently ? A PR has been submitted and already accepted.
Checkout from the dev branch and let me know

@bramton
Copy link
Contributor

bramton commented Apr 3, 2024

Closed by #186

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

4 participants