You are not logged in.

#1 2008-08-07 23:06:23

progrock
Member
Registered: 2008-07-19
Posts: 33

Build Fails for Alsaplayer in ABS

Hi all,
I couldn't get alsaplayer to run in GUI mode, but I found this thread that had the answer: http://bbs.archlinux.org/viewtopic.php?id=42168.  So I followed the ABS wiki's directions for setting up ABS and I tried to run for alsaplayer (with the one line change in the PKGBUILD) , but the build fails after configuring.  Here's the full console output:

aclocal.m4:14: error: this file was generated for autoconf 2.61.
You have another version of autoconf.  If you want to use that,
you should regenerate the build system entirely.
aclocal.m4:14: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
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 a BSD-compatible install... /bin/install -c
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether we are using the GNU C Library 2 or newer... yes
checking for ranlib... ranlib
checking for simple visibility declarations... yes
checking for inline... inline
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 for size_t... yes
checking for stdint.h... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for unsigned long long int... yes
checking for inttypes.h... (cached) yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether imported symbols can be declared weak... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_kill in -lpthread... yes
checking for pthread_rwlock_t... yes
checking for multithread API to use... posix
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for argz_count... yes
checking for argz_stringify... yes
checking for argz_next... yes
checking for __fsetlocking... yes
checking whether feof_unlocked is declared... yes
checking whether fgets_unlocked is declared... yes
checking for iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for NL_LOCALE_NAME macro... yes
checking for bison... bison
checking version of bison... 2.3, ok
checking for long long int... yes
checking for long double... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for intmax_t... yes
checking whether printf() supports POSIX/XSI format strings... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for stdint.h... (cached) yes
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for ptrdiff_t... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for asprintf... yes
checking for fwprintf... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for snprintf... yes
checking for wcslen... yes
checking whether _snprintf is declared... no
checking whether _snwprintf is declared... no
checking whether getc_unlocked is declared... yes
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for CFPreferencesCopyAppValue... (cached) no
checking for CFLocaleCopyCurrent... (cached) no
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for correct ltmain.sh version... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... yes
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether gcc and cc understand -c and -o together... yes
checking whether make sets $(MAKE)... (cached) yes
checking for libmikmod-config... /usr/bin/libmikmod-config
checking for libmikmod - version >= 3.1.7... yes, `/usr/bin/libmikmod-config --version`
checking for Ogg... yes
checking for Vorbis... yes
checking for audiofile-config... /usr/bin/audiofile-config
checking for Audio File Library - version >= 0.1.7... yes
checking for afOpenFile in -laudiofile... yes
checking for ANSI C header files... (cached) yes
*** Disabling OpenGL plugins per user request ***
checking for FLAC__stream_decoder_new in -lFLAC... yes
checking for FLAC__stream_decoder_init_ogg_stream in -lFLAC... yes
checking for mad_stream_init in -lmad... yes
checking for id3_file_open in -lid3tag... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for JACK... yes
checking for xosd_create in -lxosd... no
checking for GLIB2... yes
checking for GTK2... yes
checking for SNDFILE... yes
checking for pthread_create in -lpthread... yes
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking linux/cdrom.h usability... yes
checking linux/cdrom.h presence... yes
checking for linux/cdrom.h... yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking sys/audioio.h usability... no
checking sys/audioio.h presence... no
checking for sys/audioio.h... no
checking audio/audiolib.h usability... no
checking audio/audiolib.h presence... no
checking for audio/audiolib.h... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking mad.h usability... yes
checking mad.h presence... yes
checking for mad.h... yes
checking id3tag.h usability... yes
checking id3tag.h presence... yes
checking for id3tag.h... yes
checking FLAC/stream_decoder.h usability... yes
checking FLAC/stream_decoder.h presence... yes
checking for FLAC/stream_decoder.h... yes
checking OggFLAC/stream_decoder.h usability... no
checking OggFLAC/stream_decoder.h presence... no
checking for OggFLAC/stream_decoder.h... no
checking for alsa version... found latest
checking for esd-config... /usr/bin/esd-config
checking for ESD - version >= 0.2.4... yes
checking for alOpenPort in -laudio... no
checking for AuStartFlow in -laudio... no
checking for doxygen... false
configure: WARNING: *** doxygen not found, docs will not be built
checking machine architecture... i686
checking for gcc optimization flags... -O2 -fexpensive-optimizations -funroll-loops -finline-functions -ffast-math -Wall
checking for an ANSI C-conforming const... yes
checking for size_t... (cached) yes
checking whether gcc needs -traditional... no
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for madvise... yes
checking for strdup... (cached) yes
checking for strstr... yes
configure: creating ./config.status
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating Makefile
config.status: creating alsaplayer.1
config.status: creating alsaplayer.pc
config.status: creating alsaplayer.spec
config.status: creating app/Makefile
config.status: creating interface/Makefile
config.status: creating interface/gtk2/Makefile
config.status: creating interface/gtk2/pixmaps/Makefile
config.status: creating interface/text/Makefile
config.status: creating interface/daemon/Makefile
config.status: creating interface/xosd/Makefile
config.status: creating scopes2/Makefile
config.status: creating scopes2/monoscope/Makefile
config.status: creating scopes2/levelmeter/Makefile
config.status: creating scopes2/spacescope/Makefile
config.status: creating scopes2/logbarfft/Makefile
config.status: creating scopes2/synaescope/Makefile
config.status: creating scopes2/blurscope/Makefile
config.status: creating scopes2/opengl_spectrum/Makefile
config.status: creating output/Makefile
config.status: creating output/alsa-0.5.x/Makefile
config.status: creating output/alsa-final/Makefile
config.status: creating output/jack/Makefile
config.status: creating output/oss/Makefile
config.status: creating output/esound/Makefile
config.status: creating output/sgi/Makefile
config.status: creating output/sparc/Makefile
config.status: creating output/null/Makefile
config.status: creating output/nas/Makefile
config.status: creating input/Makefile
config.status: creating input/mad/Makefile
config.status: creating input/cdda/Makefile
config.status: creating input/mikmod/Makefile
config.status: creating input/wav/Makefile
config.status: creating input/vorbis/Makefile
config.status: creating input/audiofile/Makefile
config.status: creating input/flac/Makefile
config.status: creating input/sndfile/Makefile
config.status: creating reader/Makefile
config.status: creating reader/file/Makefile
config.status: creating reader/http/Makefile
config.status: creating alsaplayer/Makefile
config.status: creating libalsaplayer/Makefile
config.status: creating extra/Makefile
config.status: creating examples/Makefile
config.status: creating m4/Makefile
config.status: creating docs/Makefile
config.status: creating docs/reference.doxygen
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

Configuration:

  Install path:                       /usr
  Use libmad shared library:          yes
  Enable libid3tag support:           yes
  Build GTK2 interface:               yes
  Build XOSD interface:               no
  Build OpenGL based visual plugins:  no
  Build alsa 0.5.x output plugin:     no
  Build alsa 0.9.x output plugin:     yes
  Build jack output plugin:           yes
  Build oss output plugin:            yes
  Build esound output plugin:         yes
  Build sparc output plugin:          no
  Build sgi output plugin:            no
  Build nas output plugin:            no
  Build vorbis input plugin:          yes
  Build cdda input plugin:            yes
  Build mikmod input plugin:          yes
  Build audiofile input plugin:       yes
  Build FLAC input plugin:            yes
  Included OggFLAC input plugin:      yes
  Separated OggFLAC input plugin:     no
  Build sndfile input plugin:         yes

Now type 'make' to build AlsaPlayer.
make  all-recursive
make[1]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80'
Making all in intl
make[2]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/intl'
Making all in po
make[2]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/po'
Making all in interface
make[2]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface'
Making all in gtk2
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/gtk2'
Making all in pixmaps
make[4]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/gtk2/pixmaps'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/gtk2/pixmaps'
make[4]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/gtk2'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/gtk2'
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/gtk2'
Making all in text
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/text'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/text'
Making all in daemon
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/daemon'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/daemon'
Making all in xosd
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/xosd'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/xosd'
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface'
make[2]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface'
Making all in output
make[2]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output'
Making all in alsa-0.5.x
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/alsa-0.5.x'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/alsa-0.5.x'
Making all in alsa-final
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/alsa-final'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/alsa-final'
Making all in oss
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/oss'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/oss'
Making all in esound
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/esound'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/esound'
Making all in sgi
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/sgi'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/sgi'
Making all in sparc
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/sparc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/sparc'
Making all in nas
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/nas'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/nas'
Making all in null
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/null'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/null'
Making all in jack
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/jack'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/jack'
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output'
make[2]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output'
Making all in input
make[2]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input'
Making all in cdda
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/cdda'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/cdda'
Making all in audiofile
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/audiofile'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/audiofile'
Making all in mikmod
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/mikmod'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/mikmod'
Making all in wav
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/wav'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/wav'
Making all in vorbis
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/vorbis'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/vorbis'
Making all in mad
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/mad'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/mad'
Making all in flac
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/flac'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/flac'
Making all in sndfile
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/sndfile'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/sndfile'
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input'
make[2]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input'
Making all in app
make[2]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/app'
g++ -DHAVE_CONFIG_H -I. -I.. -I../alsaplayer -I../libalsaplayer -DLOCALEDIR=\"/usr/share/locale\"  -D_REENTRANT -DADDON_DIR=\"/usr/lib/alsaplayer\" -O2 -fexpensive-optimizations -funroll-loops -finline-functions -ffast-math -Wall -march=i686 -mtune=generic -O2 -pipe  -march=i686 -mtune=generic -O2 -pipe -MT alsaplayer-ControlSocket.o -MD -MP -MF .deps/alsaplayer-ControlSocket.Tpo -c -o alsaplayer-ControlSocket.o `test -f 'ControlSocket.cpp' || echo './'`ControlSocket.cpp
ControlSocket.cpp: In function 'void socket_looper(void*)':
ControlSocket.cpp:150: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:151: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:154: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:158: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:161: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:164: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:167: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:170: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:173: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:176: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:184: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:188: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:192: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:196: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:201: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:206: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:209: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:212: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:214: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:219: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:223: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:229: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:235: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:239: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:243: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:245: error: 'PATH_MAX' was not declared in this scope
ControlSocket.cpp:246: error: 'save_path' was not declared in this scope
ControlSocket.cpp:248: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:257: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:261: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:267: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:268: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:272: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:273: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:277: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:278: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:282: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:283: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:286: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:292: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:298: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:319: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:322: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:323: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:326: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:332: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:337: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:339: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:345: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:346: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:351: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:353: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:359: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:360: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:366: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:367: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:373: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:374: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:380: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:381: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:387: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:388: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:394: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:395: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:400: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:401: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:407: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:408: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:414: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:415: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:421: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:422: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:428: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:429: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:435: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:436: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:441: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:444: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:446: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:451: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:452: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:457: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:471: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:475: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:486: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:489: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:490: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:495: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:496: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:501: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:502: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:507: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:508: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:513: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:515: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:520: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:521: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:524: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:526: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:527: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:530: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:535: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:537: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:539: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:542: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:547: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:550: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:553: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:558: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:561: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:564: warning: deprecated conversion from string constant to 'char*'
make[2]: *** [alsaplayer-ControlSocket.o] Error 1
make[2]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/app'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80'
make: *** [all] Error 2

I figure it's those 2 errors in the middle of make that are holding it up, but I don't have a clue how to fix it. 

thanks,
progrock

Offline

#2 2008-08-07 23:22:19

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Build Fails for Alsaplayer in ABS

app/ControlSocket.cpp in the source directory needs to be patched in order to add this line:

#include <climits>

Last edited by skottish (2008-08-07 23:42:56)

Offline

#3 2008-08-08 00:56:51

progrock
Member
Registered: 2008-07-19
Posts: 33

Re: Build Fails for Alsaplayer in ABS

Excellent, thank you.  I'd love to report a bug or submit a patch or something (whatever would be appropriate), but I'm not sure what would need to be done.  If somebody would provide somewhere to start, I'd love to get something going on this.

progrock

Offline

#4 2008-08-08 04:03:00

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Build Fails for Alsaplayer in ABS

If you know how to write a patch or feel like learning, put one together, file a bug report, and submit the patch with it. If you don't feel like writing a patch, just submit a bug report that says that app/ContolSocket.cpp needs "include <climits>" to build. Either way is good.

Last edited by skottish (2008-08-08 04:03:17)

Offline

#5 2009-01-31 17:18:17

sfauzia
Member
Registered: 2009-01-11
Posts: 88

Re: Build Fails for Alsaplayer in ABS

I want to add, in case someone (like myself), is not familiar with building packages with ABS, you'll need to do

makepkg -e

in order for your edit to the app/ControlSocket.cpp file to take effect. Otherwise, this is the perfect fix!

Offline

Board footer

Powered by FluxBB