| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Tue Feb 13, 2007 1:57 pm Post subject: Compilation problem - Solaris 10 |
|
|
Hello,
I am trying to compile Icecast 2.3.1 on Solaris 10 (using gcc 3.4.3, GNU make, as, ld etc.)
./configure --prefix=/usr/local/icecastdev
finishes fine, but when I do the make:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/icecastdev/include -D_REENTRANT -I/usr/local/include -pthreads -g -O2 -c `test -f 'sighandler.c' || echo './'`sighandler.c
source='connection.c' object='connection.o' libtool=no \
depfile='.deps/connection.Po' tmpdepfile='.deps/connection.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/icecastdev/include -D_REENTRANT -I/usr/local/include -pthreads -g -O2 -c `test -f 'connection.c' || echo './'`connection.c
In file included from connection.c:40:
avl/avl.h:115: error: conflicting types for 'avl_insert'
/usr/include/sys/avl.h:154: error: previous declaration of 'avl_insert' was here
avl/avl.h:115: error: conflicting types for 'avl_insert'
/usr/include/sys/avl.h:154: error: previous declaration of 'avl_insert' was here
*** Error code 1
make: Fatal error: Command failed for target `connection.o'
Current working directory /home/dan/icecast-2.3.1/src
*** Error code 1
The following command caused the error:
set fnord $MAKEFLAGS; amf=$2; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='avl thread httpp net log timing'; 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 `all-recursive'
Current working directory /home/dan/icecast-2.3.1/src
*** Error code 1
The following command caused the error:
set fnord $MAKEFLAGS; amf=$2; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='src conf debian doc web admin win32 examples'; 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 `all-recursive'
Current working directory /home/dan/icecast-2.3.1
*** Error code 1
make: Fatal error: Command failed for target `all'
I'm pretty sure I have all the prerequisites. Any help greatly appreciated.
Thanks. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Tue Feb 13, 2007 2:02 pm Post subject: |
|
|
Got it:
add CFLAGS="-D_AVL_H" to the configure line e.g.
CFLAGS="-D_AVL_H" ./configure --prefix=/path/to/icecastdir
I guess this thread will remain here for posterity... |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group subRebel style by ktauber
|