小弟最近在架rsvp,但是發生一個關鍵的問題,好像軟體要支援rsvp,所以小弟去找了一個的程式,但是裝的時候發生問題,請大大幫我解決,謝謝..................
debian:~/rel4.2a1/vic-2.8# ./configure
loading cache ./config.cache
checking host system type... Invalid configuration `i686-unknown-linux': machine `i686-unknown' not recognized
checking target system type... Invalid configuration `i686-unknown-linux': machine `i686-unknown' not recognized
checking build system type... Invalid configuration `i686-unknown-linux': machine `i686-unknown' not recognized
checking for gcc... (cached) gcc
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) c++
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking whether cross-compiling... (cached) no
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking for -lXbsd... (cached) no
checking for -lsocket... (cached) no
checking for -lnsl... (cached) yes
checking for -ldnet_stub... (cached) no
./configure: line 1264: test: =: unary operator expected
checking for X11 header files
checking for X11 library archive
checking for -lX11... (cached) no
checking for libXext.a
checking for -ltcl7.5... (cached) no
checking for libtcl.a
checking for tcl/init.tcl
checking for -ltk4.1... (cached) no
checking for libtk.a
checking for tk/tk.tcl
no dynamic load lib
creating ./config.status
creating Makefile
debian:~/rel4.2a1/vic-2.8# make
rm -f inet.o; gcc -o inet.o -c -O2 -DUSE_SHM -DED_YBITS=4 -DSIGRET=void -I../rsvpd -I./jpeg -I./p64 -I. inet.c
In file included from inet.c:32:
config.h:87: error: conflicting types for `gethostid'
/usr/include/unistd.h:864: error: previous declaration of `gethostid'
In file included from inet.c:33:
inet.h:98: error: redefinition of `struct msghdr'
make: *** [inet.o] Error 1
debian:~/rel4.2a1/vic-2.8#