You are not logged in.

#1 2009-07-21 02:13:25

mrcold
Member
Registered: 2008-01-24
Posts: 150

compiling darkice

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

#2 2009-07-21 02:25:31

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: compiling darkice

Do you have base-devel installed?


neutral

Offline

#3 2009-07-21 02:43:08

mrcold
Member
Registered: 2008-01-24
Posts: 150

Re: compiling darkice

yes i do.

thanks

Offline

#4 2009-07-21 03:33:03

mrcold
Member
Registered: 2008-01-24
Posts: 150

Re: compiling darkice

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

#5 2009-07-21 03:41:37

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: compiling darkice

Do you have -pendantic in your CFLAGS?
That would cause it I think.


neutral

Offline

Board footer

Powered by FluxBB