[icecast] ices 0.3 on FreeBSD

dave dmehler26 at woh.rr.com
Wed Apr 14 16:11:56 UTC 2004



Hello,
    Thanks for the reply. I've compiled via ports, icecast2 so i would
presume all the ports put needed dependencies in. I downloaded ices-0.3 via
the web, and tried a ./configure both with and without the --with-perl
option, and in both cases configure went fine. When i ran make again in both
of the above configure cases i got the following errors, which are near the
bottom of the typescript, but the last line before the blowout was "implicit
declaration of function snprintf"
i don't know if there were other errors avove this, i'm not a programmer,
but everything else looked fine.
    Any help greatly appreciated.
Thanks.
Dave.

<p>Script started on Wed Apr 14 06:21:33 2004
root at wserv:/usr/local/src/ices-0.3#./configure && make
checking for gcc... gcc
checking for C compiler default output... 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 ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking build system type... i386-unknown-freebsd5.2.1
checking host system type... i386-unknown-freebsd5.2.1
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... no
checking for library containing strerror... none required
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sys/signal.h usability... yes
checking sys/signal.h presence... yes
checking for sys/signal.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for pid_t... yes
checking for size_t... yes
checking return type of signal handlers... void
checking for strftime... yes
checking for vsnprintf... yes
checking for setsid... yes
checking for setlinebuf... yes
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
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 whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
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 if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... freebsd5.2.1 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... yes
creating libtool
checking for pkg-config... /usr/local/bin/pkg-config
checking shout/shout.h usability... yes
checking shout/shout.h presence... yes
checking for shout/shout.h... yes
checking for shout_new... yes
checking for xml2-config... xml2-config
checking for python... /usr/local/bin/python
checking Python.h usability... yes
checking Python.h presence... yes
checking for Python.h... yes
checking for Py_Initialize in -lpython2.3... yes
checking for perl_construct... yes
checking lame/lame.h usability... no
checking lame/lame.h presence... no
checking for lame/lame.h... no
checking lame.h usability... no
checking lame.h presence... no
checking for lame.h... no
Could not find a valid LAME library, reencoding disabled
Vorbis is disabled because LAME is not enabled
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/playlist/Makefile
config.status: creating conf/Makefile
config.status: creating conf/ices.conf.dist
config.status: creating doc/Makefile
config.status: creating config.h
config.status: executing depfiles commands
Compiling
with:  -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/includ
e/python2.3  -DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -fno-strict-a
liasing -I/usr/local/include  -I/usr/local/lib/perl5/5.6.1/mach/CORE  -g -O2
 -Wall -I/usr/local/include -D_THREAD_SAFE
Linking
with:  -L/usr/local/lib/python2.3/config  -L/usr/local/lib -lshout -lvorbis 
  -L/usr/local/lib -lxml2 -lz -L/usr/local/lib -liconv -lm -lpython2.3 -luti
l -lm -lutil   -Wl,-E  -L/usr/local/lib
/usr/local/lib/perl5/5.6.1/mach/auto/DynaLoader/DynaLoader.a -L/usr/local/li
b/perl5/5.6.1/mach/CORE -lperl -lm -lc -lcrypt -lutil
Features:
  XML     : yes
  Python  : yes
  Perl    : yes
  LAME    : no
  Vorbis  : no
make  all-recursive
Making all in src
Making all in playlist
source='playlist.c' object='playlist.o' libtool=no
depfile='.deps/playlist.Po' tmpdepfile='.deps/playlist.TPo'  depmode=gcc3
/usr/local/bin/bash ../../depcomp

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DICES_MODULEDIR=\"/usr/local/etc/module
s\" -I../../src   -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/l
ocal/include/python2.3  -DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -f
no-strict-aliasing -I/usr/local/include  -I/usr/local/lib/perl5/5.6.1/mach/C
ORE  -g -O2 -Wall -I/usr/local/include -D_THREAD_SAFE -c `test -f
'playlist.c' || echo './'`playlist.c
source='pm_builtin.c' object='pm_builtin.o' libtool=no
depfile='.deps/pm_builtin.Po' tmpdepfile='.deps/pm_builtin.TPo'
depmode=gcc3 /usr/local/bin/bash ../../depcomp

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DICES_MODULEDIR=\"/usr/local/etc/module
s\" -I../../src   -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/l
ocal/include/python2.3  -DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -f
no-strict-aliasing -I/usr/local/include  -I/usr/local/lib/perl5/5.6.1/mach/C
ORE  -g -O2 -Wall -I/usr/local/include -D_THREAD_SAFE -c `test -f
'pm_builtin.c' || echo './'`pm_builtin.c
pm_builtin.c: In function `playlist_builtin_shuffle_playlist':
pm_builtin.c:145: warning: implicit declaration of function `snprintf'
source='rand.c' object='rand.o' libtool=no  depfile='.deps/rand.Po'
tmpdepfile='.deps/rand.TPo'  depmode=gcc3 /usr/local/bin/bash ../../depcomp
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DICES_MODULEDIR=\"/usr/local/etc/module
s\" -I../../src   -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/l
ocal/include/python2.3  -DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -f
no-strict-aliasing -I/usr/local/include  -I/usr/local/lib/perl5/5.6.1/mach/C
ORE  -g -O2 -Wall -I/usr/local/include -D_THREAD_SAFE -c `test -f 'rand.c'
|| echo './'`rand.c
source='pm_python.c' object='pm_python.o' libtool=no
depfile='.deps/pm_python.Po' tmpdepfile='.deps/pm_python.TPo'  depmode=gcc3
/usr/local/bin/bash ../../depcomp

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DICES_MODULEDIR=\"/usr/local/etc/module
s\" -I../../src   -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/l
ocal/include/python2.3  -DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -f
no-strict-aliasing -I/usr/local/include  -I/usr/local/lib/perl5/5.6.1/mach/C
ORE  -g -O2 -Wall -I/usr/local/include -D_THREAD_SAFE -c `test -f
'pm_python.c' || echo './'`pm_python.c
In file included from /usr/local/include/python2.3/Python.h:8,
                 from pm_python.c:26:
/usr/local/include/python2.3/pyconfig.h:828:1: warning: "_GNU_SOURCE"
redefined
In file included from pm_python.c:22:
../../src/definitions.h:49:1: warning: this is the location of the previous
definition
In file included from /usr/local/include/python2.3/Python.h:8,
                 from pm_python.c:26:
/usr/local/include/python2.3/pyconfig.h:847:1: warning: "_POSIX_C_SOURCE"
redefined
In file included from pm_python.c:22:
../../src/definitions.h:57:1: warning: this is the location of the previous
definition
pm_python.c: In function `python_setup_path':
pm_python.c:227: warning: implicit declaration of function `putenv'
source='pm_perl.c' object='pm_perl.o' libtool=no  depfile='.deps/pm_perl.Po'
tmpdepfile='.deps/pm_perl.TPo'  depmode=gcc3 /usr/local/bin/bash
../../depcomp

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DICES_MODULEDIR=\"/usr/local/etc/module
s\" -I../../src   -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/l
ocal/include/python2.3  -DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -f
no-strict-aliasing -I/usr/local/include  -I/usr/local/lib/perl5/5.6.1/mach/C
ORE  -g -O2 -Wall -I/usr/local/include -D_THREAD_SAFE -c `test -f

'pm_perl.c' || echo './'`pm_perl.c
In file included from /usr/local/lib/perl5/5.6.1/mach/CORE/perl.h:3385,
                 from pm_perl.c:30:
/usr/include/sys/file.h:156: error: syntax error before "u_int"
pm_perl.c: In function `pl_perl_init_perl':
pm_perl.c:165: warning: implicit declaration of function `snprintf'
*** Error code 1

Stop in /usr/local/src/ices-0.3/src/playlist.
*** Error code 1

Stop in /usr/local/src/ices-0.3/src.
*** Error code 1

Stop in /usr/local/src/ices-0.3.
*** Error code 1

Stop in /usr/local/src/ices-0.3.

--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Icecast mailing list