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 during "make" #49

Closed
GoogleCodeExporter opened this issue May 13, 2015 · 2 comments
Closed

Error during "make" #49

GoogleCodeExporter opened this issue May 13, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link


What steps will reproduce the problem?
1. ./configure
2. make
3. g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT 
SerialUlaw.o -MD -MP -MF .deps/SerialUlaw.Tpo -c -o SerialUlaw.o SerialUlaw.cpp
SerialUlaw.cpp: In Elementfunktion »virtual unsigned int 
SerialUlaw::read(void*, unsigned int)«:
SerialUlaw.cpp:296:26: Fehler: »perror« wurde in diesem Gültigkeitsbereich 
nicht definiert


What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Hello together,
I'm trying to build Version 1.0 of darkice on a Fedora 14 System, in order to 
use Pulseaudio support. 
So I downloaded the source, made "./configure" and went on with "make". Here 
comes the problem. 

Here the make process:

[root@Sven-Notebook darkice-1.0]# make
Making all in src
make[1]: Entering directory `/home/sven/darkice-1.0/src'
make  all-am
make[2]: Entering directory `/home/sven/darkice-1.0/src'
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT 
AudioSource.o -MD -MP -MF .deps/AudioSource.Tpo -c -o AudioSource.o 
AudioSource.cpp
mv -f .deps/AudioSource.Tpo .deps/AudioSource.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT 
BufferedSink.o -MD -MP -MF .deps/BufferedSink.Tpo -c -o BufferedSink.o 
BufferedSink.cpp
mv -f .deps/BufferedSink.Tpo .deps/BufferedSink.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT CastSink.o 
-MD -MP -MF .deps/CastSink.Tpo -c -o CastSink.o CastSink.cpp
mv -f .deps/CastSink.Tpo .deps/CastSink.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT FileSink.o 
-MD -MP -MF .deps/FileSink.Tpo -c -o FileSink.o FileSink.cpp
mv -f .deps/FileSink.Tpo .deps/FileSink.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT Connector.o 
-MD -MP -MF .deps/Connector.Tpo -c -o Connector.o Connector.cpp
mv -f .deps/Connector.Tpo .deps/Connector.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT 
MultiThreadedConnector.o -MD -MP -MF .deps/MultiThreadedConnector.Tpo -c -o 
MultiThreadedConnector.o MultiThreadedConnector.cpp
mv -f .deps/MultiThreadedConnector.Tpo .deps/MultiThreadedConnector.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT DarkIce.o 
-MD -MP -MF .deps/DarkIce.Tpo -c -o DarkIce.o DarkIce.cpp
mv -f .deps/DarkIce.Tpo .deps/DarkIce.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT Exception.o 
-MD -MP -MF .deps/Exception.Tpo -c -o Exception.o Exception.cpp
mv -f .deps/Exception.Tpo .deps/Exception.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT IceCast.o 
-MD -MP -MF .deps/IceCast.Tpo -c -o IceCast.o IceCast.cpp
mv -f .deps/IceCast.Tpo .deps/IceCast.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT IceCast2.o 
-MD -MP -MF .deps/IceCast2.Tpo -c -o IceCast2.o IceCast2.cpp
IceCast2.cpp: In Elementfunktion »virtual bool IceCast2::sendLogin()«:
IceCast2.cpp:180:32: Warnung: veraltete Konvertierung von 
Zeichenkettenkonstante in »char*«
mv -f .deps/IceCast2.Tpo .deps/IceCast2.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT ShoutCast.o 
-MD -MP -MF .deps/ShoutCast.Tpo -c -o ShoutCast.o ShoutCast.cpp
mv -f .deps/ShoutCast.Tpo .deps/ShoutCast.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT FileCast.o 
-MD -MP -MF .deps/FileCast.Tpo -c -o FileCast.o FileCast.cpp
mv -f .deps/FileCast.Tpo .deps/FileCast.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT 
LameLibEncoder.o -MD -MP -MF .deps/LameLibEncoder.Tpo -c -o LameLibEncoder.o 
LameLibEncoder.cpp
mv -f .deps/LameLibEncoder.Tpo .deps/LameLibEncoder.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT 
TwoLameLibEncoder.o -MD -MP -MF .deps/TwoLameLibEncoder.Tpo -c -o 
TwoLameLibEncoder.o TwoLameLibEncoder.cpp
mv -f .deps/TwoLameLibEncoder.Tpo .deps/TwoLameLibEncoder.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT 
VorbisLibEncoder.o -MD -MP -MF .deps/VorbisLibEncoder.Tpo -c -o 
VorbisLibEncoder.o VorbisLibEncoder.cpp
mv -f .deps/VorbisLibEncoder.Tpo .deps/VorbisLibEncoder.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT 
FaacEncoder.o -MD -MP -MF .deps/FaacEncoder.Tpo -c -o FaacEncoder.o 
FaacEncoder.cpp
mv -f .deps/FaacEncoder.Tpo .deps/FaacEncoder.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT 
aacPlusEncoder.o -MD -MP -MF .deps/aacPlusEncoder.Tpo -c -o aacPlusEncoder.o 
aacPlusEncoder.cpp
mv -f .deps/aacPlusEncoder.Tpo .deps/aacPlusEncoder.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT 
OssDspSource.o -MD -MP -MF .deps/OssDspSource.Tpo -c -o OssDspSource.o 
OssDspSource.cpp
mv -f .deps/OssDspSource.Tpo .deps/OssDspSource.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT 
SerialUlaw.o -MD -MP -MF .deps/SerialUlaw.Tpo -c -o SerialUlaw.o SerialUlaw.cpp
SerialUlaw.cpp: In Elementfunktion »virtual unsigned int 
SerialUlaw::read(void*, unsigned int)«:
SerialUlaw.cpp:296:26: Fehler: »perror« wurde in diesem Gültigkeitsbereich 
nicht definiert
make[2]: *** [SerialUlaw.o] Fehler 1
make[2]: Leaving directory `/home/sven/darkice-1.0/src'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/home/sven/darkice-1.0/src'
make: *** [all-recursive] Fehler 1

What should I do? I didn't find help :(.
Greets from germany

Original issue reported on code.google.com by s.bau...@gmx.net on 25 Jun 2011 at 12:43

@GoogleCodeExporter
Copy link
Author

I found out, that this is an error because of missing dependencies.
Just installed alsa-libs-devel, twolame-devel and liblame-devel.

Original comment by s.bau...@gmx.net on 1 Jul 2011 at 10:41

@GoogleCodeExporter
Copy link
Author

Original comment by rafael2k...@gmail.com on 16 Jan 2012 at 9:27

  • Changed state: Done

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

No branches or pull requests

1 participant