You are not logged in.
Pages: 1
i can't seem to get anything to compile...
anyway.. I am trying to compile 'darkice' http://code.google.com/p/darkice/downloads/list
./configure seems to have worked, but 'make' does not. This is what i get:
Making all in src
make[1]: Entering directory `/home/cody/downloads/darkice-0.19/src'
make all-am
make[2]: Entering directory `/home/cody/downloads/darkice-0.19/src'
g++ -DHAVE_CONFIG_H -I. -O2 -pedantic -Wall -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 -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 -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 -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 -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 -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 -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 -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 -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 -g -O2 -MT IceCast2.o -MD -MP -MF .deps/IceCast2.Tpo -c -o IceCast2.o IceCast2.cpp
IceCast2.cpp: In member function 'virtual bool IceCast2::sendLogin()':
IceCast2.cpp:176: warning: deprecated conversion from string constant to 'char*'
mv -f .deps/IceCast2.Tpo .deps/IceCast2.Po
g++ -DHAVE_CONFIG_H -I. -O2 -pedantic -Wall -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 -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 -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 -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 -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 -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 -g -O2 -MT aflibDebug.o -MD -MP -MF .deps/aflibDebug.Tpo -c -o aflibDebug.o aflibDebug.cc
mv -f .deps/aflibDebug.Tpo .deps/aflibDebug.Po
g++ -DHAVE_CONFIG_H -I. -O2 -pedantic -Wall -g -O2 -MT aflibConverter.o -MD -MP -MF .deps/aflibConverter.Tpo -c -o aflibConverter.o aflibConverter.cc
aflibConverter.cc: In member function 'int aflibConverter::resampleFast(int&, int, short int*, short int*)':
aflibConverter.cc:525: warning: deprecated conversion from string constant to 'char*'
aflibConverter.cc: In member function 'int aflibConverter::resampleWithFilter(int&, int, short int*, short int*, short int*, short int*, short unsigned int, short unsigned int, short unsigned int)':
aflibConverter.cc:571: warning: deprecated conversion from string constant to 'char*'
aflibConverter.cc:639: warning: deprecated conversion from string constant to 'char*'
mv -f .deps/aflibConverter.Tpo .deps/aflibConverter.Po
g++ -DHAVE_CONFIG_H -I. -O2 -pedantic -Wall -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 -g -O2 -MT SerialUlaw.o -MD -MP -MF .deps/SerialUlaw.Tpo -c -o SerialUlaw.o SerialUlaw.cpp
mv -f .deps/SerialUlaw.Tpo .deps/SerialUlaw.Po
g++ -DHAVE_CONFIG_H -I. -O2 -pedantic -Wall -g -O2 -MT SolarisDspSource.o -MD -MP -MF .deps/SolarisDspSource.Tpo -c -o SolarisDspSource.o SolarisDspSource.cpp
mv -f .deps/SolarisDspSource.Tpo .deps/SolarisDspSource.Po
g++ -DHAVE_CONFIG_H -I. -O2 -pedantic -Wall -g -O2 -MT TcpSocket.o -MD -MP -MF .deps/TcpSocket.Tpo -c -o TcpSocket.o TcpSocket.cpp
mv -f .deps/TcpSocket.Tpo .deps/TcpSocket.Po
g++ -DHAVE_CONFIG_H -I. -O2 -pedantic -Wall -g -O2 -MT Util.o -MD -MP -MF .deps/Util.Tpo -c -o Util.o Util.cpp
Util.cpp: In static member function 'static char* Util::fileAddDate(const char*, const char*)':
Util.cpp:311: error: invalid conversion from 'const char*' to 'char*'
make[2]: *** [Util.o] Error 1
make[2]: Leaving directory `/home/cody/downloads/darkice-0.19/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/cody/downloads/darkice-0.19/src'
make: *** [all-recursive] Error 1
does anyone know what is going on here? I seem to get errors like this on most things i try to compile.. perhaps it is something in my system? I don't know.
thanks alot
Offline
Do you have base-devel installed?
Offline
yes i do.
thanks
Offline
i just tried installing something from AUR using yaourt.. during the compile i got this:
deprecated conversion from string constant to 'char*'
which is the same thing as above... what would cause that?
Offline
Do you have -pendantic in your CFLAGS?
That would cause it I think.
Offline
Pages: 1