Eh, I forgot every time something important : http://openports.se/audio/lame
On Mon, Mar 28, 2011 at 9:55 PM, Evgeniy Sudyr <eject.in...@gmail.com> wrote: > Hello, I'm trying to build darkice with mp3 support and getting error during > compile process. I have no idea if it's openbsd specific and need your guys > help. > > My steps: > > 1) build lame http://sourceforge.net/projects/lame > > tar zxf cd lame-3.98.4.tar.gz > > cd lame-3.98.4/ > ./configure > make > make install > > 2) trying to compile darkice http://code.google.com/p/darkice/ > cd /usr/src > wget http://darkice.googlecode.com/files/darkice-1.0.tar.gz > tar zxf darkice-1.0.tar.gz > cd darkice-1.0 > > ./configure --with-lame-path=/usr/local --with-lame > > > # make > Making all in src > make B all-am > g++ -DHAVE_CONFIG_H -I. -I/usr/local/include B B -O2 -pedantic -Wall > B -pthread -g -O2 -MT AudioSource.o -MD -MP -MF .deps/AudioSource.Tpo -c -o > AudioSource.o AudioSource.cpp > In file included from /usr/include/g++/memory:60, > B B B B B B B B from /usr/include/g++/string:48, > B B B B B B B B from /usr/include/g++/bits/locale_classes.h:47, > B B B B B B B B from /usr/include/g++/bits/ios_base.h:47, > B B B B B B B B from /usr/include/g++/ios:48, > B B B B B B B B from /usr/include/g++/ostream:45, > B B B B B B B B from /usr/include/g++/iostream:45, > B B B B B B B B from Exception.h:39, > B B B B B B B B from Referable.h:39, > B B B B B B B B from Source.h:39, > B B B B B B B B from AudioSource.h:42, > B B B B B B B B from AudioSource.cpp:36: > /usr/include/g++/limits: In static member function 'static char > std::numeric_limits<char>::min()': > /usr/include/g++/limits:375: warning: overflow in implicit constant > conversion > /usr/include/g++/limits: In static member function 'static wchar_t > std::numeric_limits<wchar_t>::max()': > /usr/include/g++/limits:530: warning: overflow in implicit constant > conversion > In file included from /usr/include/g++/bits/locale_facets.h:47, > B B B B B B B B from /usr/include/g++/bits/basic_ios.h:44, > B B B B B B B B from /usr/include/g++/ios:50, > B B B B B B B B from /usr/include/g++/ostream:45, > B B B B B B B B from /usr/include/g++/iostream:45, > B B B B B B B B from Exception.h:39, > B B B B B B B B from Referable.h:39, > B B B B B B B B from Source.h:39, > B B B B B B B B from AudioSource.h:42, > B B B B B B B B from AudioSource.cpp:36: > /usr/include/g++/i386-unknown-openbsd4.9/bits/ctype_base.h: At global scope: > /usr/include/g++/i386-unknown-openbsd4.9/bits/ctype_base.h:55: warning: > overflow in implicit constant conversion > mv -f .deps/AudioSource.Tpo .deps/AudioSource.Po > g++ -DHAVE_CONFIG_H -I. -I/usr/local/include B B -O2 -pedantic -Wall > B -pthread -g -O2 -MT BufferedSink.o -MD -MP -MF .deps/BufferedSink.Tpo -c -o > BufferedSink.o BufferedSink.cpp > In file included from /usr/include/g++/memory:60, > B B B B B B B B from /usr/include/g++/string:48, > B B B B B B B B from /usr/include/g++/bits/locale_classes.h:47, > B B B B B B B B from /usr/include/g++/bits/ios_base.h:47, > B B B B B B B B from /usr/include/g++/ios:48, > B B B B B B B B from /usr/include/g++/ostream:45, > B B B B B B B B from /usr/include/g++/iostream:45, > B B B B B B B B from Exception.h:39, > B B B B B B B B from BufferedSink.cpp:59: > /usr/include/g++/limits: In static member function 'static char > std::numeric_limits<char>::min()': > /usr/include/g++/limits:375: warning: overflow in implicit constant > conversion > /usr/include/g++/limits: In static member function 'static wchar_t > std::numeric_limits<wchar_t>::max()': > /usr/include/g++/limits:530: warning: overflow in implicit constant > conversion > In file included from /usr/include/g++/bits/locale_facets.h:47, > B B B B B B B B from /usr/include/g++/bits/basic_ios.h:44, > B B B B B B B B from /usr/include/g++/ios:50, > B B B B B B B B from /usr/include/g++/ostream:45, > B B B B B B B B from /usr/include/g++/iostream:45, > B B B B B B B B from Exception.h:39, > B B B B B B B B from BufferedSink.cpp:59: > /usr/include/g++/i386-unknown-openbsd4.9/bits/ctype_base.h: At global scope: > /usr/include/g++/i386-unknown-openbsd4.9/bits/ctype_base.h:55: warning: > overflow in implicit constant conversion > mv -f .deps/BufferedSink.Tpo .deps/BufferedSink.Po > g++ -DHAVE_CONFIG_H -I. -I/usr/local/include B B -O2 -pedantic -Wall > B -pthread -g -O2 -MT CastSink.o -MD -MP -MF .deps/CastSink.Tpo -c -o > CastSink.o CastSink.cpp > In file included from /usr/include/g++/memory:60, > B B B B B B B B from /usr/include/g++/string:48, > B B B B B B B B from /usr/include/g++/bits/locale_classes.h:47, > B B B B B B B B from /usr/include/g++/bits/ios_base.h:47, > B B B B B B B B from /usr/include/g++/ios:48, > B B B B B B B B from /usr/include/g++/ostream:45, > B B B B B B B B from /usr/include/g++/iostream:45, > B B B B B B B B from Exception.h:39, > B B B B B B B B from Util.h:39, > B B B B B B B B from CastSink.cpp:32: > /usr/include/g++/limits: In static member function 'static char > std::numeric_limits<char>::min()': > /usr/include/g++/limits:375: warning: overflow in implicit constant > conversion > /usr/include/g++/limits: In static member function 'static wchar_t > std::numeric_limits<wchar_t>::max()': > /usr/include/g++/limits:530: warning: overflow in implicit constant > conversion > In file included from /usr/include/g++/bits/locale_facets.h:47, > B B B B B B B B from /usr/include/g++/bits/basic_ios.h:44, > B B B B B B B B from /usr/include/g++/ios:50, > B B B B B B B B from /usr/include/g++/ostream:45, > B B B B B B B B from /usr/include/g++/iostream:45, > B B B B B B B B from Exception.h:39, > B B B B B B B B from Util.h:39, > B B B B B B B B from CastSink.cpp:32: > /usr/include/g++/i386-unknown-openbsd4.9/bits/ctype_base.h: At global scope: > /usr/include/g++/i386-unknown-openbsd4.9/bits/ctype_base.h:55: warning: > overflow in implicit constant conversion > mv -f .deps/CastSink.Tpo .deps/CastSink.Po > g++ -DHAVE_CONFIG_H -I. -I/usr/local/include B B -O2 -pedantic -Wall > B -pthread -g -O2 -MT FileSink.o -MD -MP -MF .deps/FileSink.Tpo -c -o > FileSink.o FileSink.cpp > In file included from /usr/include/g++/memory:60, > B B B B B B B B from /usr/include/g++/string:48, > B B B B B B B B from /usr/include/g++/bits/locale_classes.h:47, > B B B B B B B B from /usr/include/g++/bits/ios_base.h:47, > B B B B B B B B from /usr/include/g++/ios:48, > B B B B B B B B from /usr/include/g++/ostream:45, > B B B B B B B B from /usr/include/g++/iostream:45, > B B B B B B B B from FileSink.cpp:91: > /usr/include/g++/limits: In static member function 'static char > std::numeric_limits<char>::min()': > /usr/include/g++/limits:375: warning: overflow in implicit constant > conversion > /usr/include/g++/limits: In static member function 'static wchar_t > std::numeric_limits<wchar_t>::max()': > /usr/include/g++/limits:530: warning: overflow in implicit constant > conversion > In file included from /usr/include/g++/bits/locale_facets.h:47, > B B B B B B B B from /usr/include/g++/bits/basic_ios.h:44, > B B B B B B B B from /usr/include/g++/ios:50, > B B B B B B B B from /usr/include/g++/ostream:45, > B B B B B B B B from /usr/include/g++/iostream:45, > B B B B B B B B from FileSink.cpp:91: > /usr/include/g++/i386-unknown-openbsd4.9/bits/ctype_base.h: At global scope: > /usr/include/g++/i386-unknown-openbsd4.9/bits/ctype_base.h:55: warning: > overflow in implicit constant conversion > FileSink.cpp: In member function 'virtual bool FileSink::canWrite(unsigned > int, unsigned int)': > FileSink.cpp:276: error: 'pselect' was not declared in this scope > *** Error code 1 > > Stop in /usr/src/darkice-1.0/src (line 437 of Makefile). > *** Error code 1 > > Stop in /usr/src/darkice-1.0/src (line 308 of Makefile). > *** Error code 1 > > Stop in /usr/src/darkice-1.0 (line 293 of Makefile). > > > I'm appreciate any help on this problem. > -- > -- > With regards, > Eugene Sudyr