[Udpcast] Unable to make udpcast in gcc 3.2.2

Steven Shiau steven at nchc.org.tw
Thu Sep 21 07:38:46 CEST 2006


Just noticed that 20060920 was released, so as usual, I compiled it in
my RedHat 9 Linux with gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5).
I can not compile it successfully. However, udpcast-20060619 works.
Here is my procedure to compile version 20060920:
--------
~/tmp/udpcast/udpcast-20060920>./configure
checking for gcc... gcc
checking for C compiler default output file name... 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 how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for pthread_create in -lpthread... yes
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... 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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for memory.h... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking whether llseek declared in unistd.h... no
checking whether lseek64 declared in unistd.h... yes
checking for htons... yes
checking for an ANSI C-conforming const... (cached) yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking return type of signal handlers... void
checking for atexit... yes
checking for on_exit... yes
checking for tcsetattr... yes
checking for lseek64... yes
checking for snprintf... yes
checking for 64-bit off_t... no
checking whether gcc supports loff_t type... yes
checking whether gcc supports offset_t type... no
checking whether gcc supports long long type... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
~/tmp/udpcast/udpcast-20060920>make
gcc -g -O2 -Wall -Wall -Wshadow -DBB_FEATURE_UDPCAST_FEC
-D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I.  -I.
  -c -o udp-receiver.o udp-receiver.c
gcc -g -O2 -Wall -Wall -Wshadow -DBB_FEATURE_UDPCAST_FEC
-D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I.  -I.
  -c -o socklib.o socklib.c
gcc -g -O2 -Wall -Wall -Wshadow -DBB_FEATURE_UDPCAST_FEC
-D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I.  -I.
  -c -o udpcast.o udpcast.c
gcc -g -O2 -Wall -Wall -Wshadow -DBB_FEATURE_UDPCAST_FEC
-D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I.  -I.
  -c -o receiver-diskio.o receiver-diskio.c
gcc -g -O2 -Wall -Wall -Wshadow -DBB_FEATURE_UDPCAST_FEC
-D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I.  -I.
  -c -o receivedata.o receivedata.c
receivedata.c:80: field `data_iov' has incomplete type
receivedata.c:134: confused by earlier errors, bailing out
make: *** [receivedata.o] Error 1

Anyone has same error ?
Thanks in advance.

-- 
Steven Shiau




More information about the Udpcast mailing list