configure command:
root@ariel> ./configure --prefix=/usr/local/streamripper/
....
root@ariel> make check
....
In file included from lib/inet.c:25:
lib/socklib.h:32: error: syntax error before "u_int32_t"
*** Error code 1
make: Fatal error: Command failed for target `inet.o'
Current working directory /data/software/streamripper-1.61.4
*** Error code 1
The following command caused the error:
set fnord $MAKEFLAGS; amf=$2; \
dot_seen=no; \
target=`echo check-recursive | sed s/-recursive//`; \
list='libmad-0.15.1b '; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `check-recursive'
thanks.
> i try to install streamripper (version 1.61.4) on solaris 10(sparc) but
> at the make check/make command get the following error.
> or what is an equivalent mp3 streamripper for solaris?
> i tested the code on a suse 9.0 version and work without any errors.
> why do not work it on solaris plattform? they say that the code is
> plattform independent. on x86 or solaris 9 the same error message.
>
> lib/socklib.h:32: error: syntax error before "u_int32_t"
In this file, add these 3 lines after the first #include:
#include "net/ppp_defs.h"
#include "sys/sockio.h"
#define INADDR_NONE 0xffffffffU
You will also need to set LDFLAGS='-lsocket -lnsl -lrt' before running
configure.
Notice that this is just what a grep and a RNG say I should do to force
it to compile. It does not mean it is the right thing to do, that would
require thinking.
Marc schrieb:
> ld: fatal: Symbol referencing errors. No output written to streamripper
> collect2: ld returned 1 exit status
Well, you did not show the error message that ld gave (it lists the
symbols, when there is a referencing error). Your problem seems to be
with libmad (I had one already installed when I tested). Maybe you could
try to install it independantly.
(sorry, I won't be able to answer anymore, but someone else might)
Marc schrieb: