【紧急】我的cdrtools在cygwin内为什么编译不了,有做过的高手帮下忙啊?
编译到最后出现一大堆错误
In file included from avoffset.c:36:
../include/schily.h:190: error: conflicting types for ‘getline’
/usr/include/sys/stdio.h:37: error: previous declaration of ‘getline’ was here
smake: Operation not permitted. *** Code 1 from command line for target 'avoffse
t.o'.
smake: The following command caused the error:
echo " ==> COMPILING \"avoffset.o\""; gcc -O -I. -IOBJ/i686-cygwin_nt-6.1-g
cc -I../incs/i686-cygwin_nt-6.1-gcc -I../include -DUSE_SCANSTACK -D__OPRINTF__
-c -o OBJ/i686-cygwin_nt-6.1-gcc/avoffset.o avoffset.c
smake: Couldn't make 'all'.
smake: Leaving 'smake'[2] from directory '/cygdrive/f/xyh project/source/cdr/cd
rtools-2.01/inc'
smake: Default commandline target: 'all'
smake: Doing exit(1)
smake: Operation not permitted. *** Code 1 from command line for target 'all'.
smake: The following command caused the error:
for MK in align_test.mk avoffset.mk ; \
do \
( \
if [ -r ./$MK ] ; then \
echo " ==> MAKING \"all\" ON SUBCOMPONENT \"SRCROOT/inc
/$MK\""; "smake" -f $MK XARCH=i686-cygwin_nt-6.1-gcc all;\
else \
echo "NOTICE: Partial source (SRCROOT/inc/$MK) missing";
\
fi \
); \
done
smake: Couldn't make 'all'.
smake: Leaving 'smake'[1] from directory '/cygdrive/f/xyh project/source/cdr/cd
rtools-2.01/inc'
smake: Default commandline target: 'all'
smake: Doing exit(1)
smake: Operation not permitted. *** Code 1 from command line for target 'all'.
smake: The following command caused the error:
list=""; \
[ -d TARGETS -a -f TARGETS/__slot ] && \
list=`echo TARGETS/[0-9][0-9]* | sed -e 's;TARGETS/[0-9][0-9];;g
' | sed -e 's;!@!;/;g'`;\
for DIR in ${list} ; \
do \
( \
echo " ==> MAKING \"all\" ON SUBDIRECTORY \"SRCROOT/$DIR\"";\
if [ -d ./$DIR -a -r ./$DIR/Makefile ] ; then \
cd ./$DIR;"smake" XARCH=i686-cygwin_nt-6.1-gcc DIRNAME=
SRCROOT/$DIR all; \
else \
echo "NOTICE: Partial source (SRCROOT/$DIR) missing";\
fi \
); \
done
smake: Couldn't make 'all'.