Udpcast make fail on ubuntu 13.04 (fog 0.32)



  • So i ran the install script with the following settings:

    [QUOTE]
    Here are the settings FOG will use:
    Distro: Ubuntu
    Installation Type: Normal Server
    Server IP Address: 192.168.137.5
    DHCP router Address: 192.168.137.1
    DHCP DNS Address: 8.8.8.8
    Interface: eth0
    Using FOG DHCP: 1
    Internationalization: 0[/QUOTE]

    Then everything passes/installs correctly except UDPCast.

    I went into the /tmp/udpcast-20071228 Directory and ran:

    [QUOTE]./configure; make; make install[/QUOTE]

    and i get:

    [QUOTE]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 ISO C89… none needed
    checking how to run the C preprocessor… gcc -E
    checking for grep that handles long lines and -e… /bin/grep
    checking for egrep… /bin/grep -E
    checking whether gcc needs -traditional… no
    checking for a BSD-compatible install… /usr/bin/install -c
    checking build system type… x86_64-unknown-linux-gnu
    checking host system type… x86_64-unknown-linux-gnu
    checking target system type… x86_64-unknown-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 netdb.h usability… yes
    checking netdb.h presence… yes
    checking for netdb.h… yes
    checking sys/select.h usability… yes
    checking sys/select.h presence… yes
    checking for sys/select.h… yes
    checking sys/sockio.h usability… no
    checking sys/sockio.h presence… no
    checking for sys/sockio.h… no
    checking sys/socket.h usability… yes
    checking sys/socket.h presence… yes
    checking for sys/socket.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 net/if.h usability… yes
    checking net/if.h presence… yes
    checking for net/if.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 sys/uio.h usability… yes
    checking sys/uio.h presence… yes
    checking for sys/uio.h… yes
    checking termios.h usability… yes
    checking termios.h presence… yes
    checking for termios.h… yes
    checking for struct ip_mreqn.imr_ifindex… yes
    checking for in_addr_t… 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 for inline… (cached) inline
    checking for size_t… yes
    checking whether time.h and sys/time.h may both be included… 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 inet_pton… yes
    checking for inet_aton… yes
    checking for 64-bit off_t… yes
    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: WARNING: Makefile.in seems to ignore the --datarootdir setting
    config.status: creating config.h
    config.status: config.h is unchanged
    gcc -g -O2 -Wall -Wall -Wstrict-prototypes -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o console.o console.c
    In file included from console.c:7:0:
    console.h:25:9: error: unknown type name ‘fd_set’
    make: *** [console.o] Error 1
    gcc -g -O2 -Wall -Wall -Wstrict-prototypes -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o udp-sender.o udp-sender.c
    gcc -g -O2 -Wall -Wall -Wstrict-prototypes -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o rate-limit.o rate-limit.c
    gcc -g -O2 -Wall -Wall -Wstrict-prototypes -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o sender-diskio.o sender-diskio.c
    gcc -g -O2 -Wall -Wall -Wstrict-prototypes -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o senddata.o senddata.c
    senddata.c: In function ‘freeSlice’:
    senddata.c:135:9: warning: variable ‘i’ set but not used [-Wunused-but-set-variable]
    gcc -g -O2 -Wall -Wall -Wstrict-prototypes -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o udps-negotiate.o udps-negotiate.c
    udps-negotiate.c: In function ‘doTransfer’:
    udps-negotiate.c:423:9: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
    gcc -g -O2 -Wall -Wall -Wstrict-prototypes -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o participants.o participants.c
    gcc -g -O2 -Wall -Wall -Wstrict-prototypes -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o console.o console.c
    In file included from console.c:7:0:
    console.h:25:9: error: unknown type name ‘fd_set’
    make: *** [console.o] Error 1 [/QUOTE]



  • Was able to fix the udpcast glitch, using Timeloard83’s post. However now i cannot access the web interface, it redirects me to “[url]http://192.168.137.5/fog/commons/schemaupdater/index.php?redir=1[/url]


Log in to reply
 

458
Online

38957
Users

10706
Topics

101581
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.