Fog wont install
-
Link is now slightly adjusted for Fedora 19:
[url]https://mastacontrola.com/fog_0.33b.FEDORA19.tar.bz2[/url] -
If UDPCast still fails to make: run:
yum -y install perl-podlators
Then retry the install, you should be good to go after this.
-
how to start rpcbind service manually
-
service rpcbind restart
But I’ve added this to the installation script as well.
Is it working for you now?
-
no
-
What is the error it’s giving you?
-
the same thing
- Setting up and building UDPCast…Failed!
make failed!
i installed perl-podlators -
okay
Run these commands and tell me the output:cd /tmp/udpcast-20120424; make
-
gcc -s udp-receiver.o socklib.o udpcast.o receiver-diskio.o receivedata.o udpr-negotiate.o produconsum.o fifo.o log.o statistics.o fec.o udpc_version.o console.o process.o -ldl -lpthread -ldl -lpthread -o udp-receiver
/usr/bin/ld: i386 architecture of input fileudp-receiver.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file
socklib.o’ is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input fileudpcast.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file
receiver-diskio.o’ is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input filereceivedata.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file
udpr-negotiate.o’ is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input fileproduconsum.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file
fifo.o’ is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input filelog.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file
statistics.o’ is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input filefec.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file
udpc_version.o’ is incompatible with i386:x86-64 output
log.o: In functionudpc_printLongNum': /tmp/udpcast-20120424/log.c:121: undefined reference to
__udivdi3’
/tmp/udpcast-20120424/log.c:121: undefined reference to__umoddi3' /tmp/udpcast-20120424/log.c:135: undefined reference to
__divdi3’
/tmp/udpcast-20120424/log.c:121: undefined reference to__udivdi3' /tmp/udpcast-20120424/log.c:121: undefined reference to
__umoddi3’
statistics.o: In functionudpc_displayReceiverStats': /tmp/udpcast-20120424/statistics.c:172: undefined reference to
__divdi3’
statistics.o: In functionudpc_displaySenderStats': /tmp/udpcast-20120424/statistics.c:252: undefined reference to
__udivdi3’
/tmp/udpcast-20120424/statistics.c:256: undefined reference to `__udivdi3’
collect2: error: ld returned 1 exit status
make: *** [udp-receiver] Error 1 -
okay Try running these commands:
yum -y groupinstall ‘Development Tools’; make
And show me the output. This will take a couple minutes.
-
Then you may need:
yum -y install glibc-devel.i686
as well.
-
No packages in any requested group available to install or update
gcc -s udp-receiver.o socklib.o udpcast.o receiver-diskio.o receivedata.o udpr-negotiate.o produconsum.o fifo.o log.o statistics.o fec.o udpc_version.o console.o process.o -ldl -lpthread -ldl -lpthread -o udp-receiver
/usr/bin/ld: i386 architecture of input fileudp-receiver.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file
socklib.o’ is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input fileudpcast.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file
receiver-diskio.o’ is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input filereceivedata.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file
udpr-negotiate.o’ is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input fileproduconsum.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file
fifo.o’ is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input filelog.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file
statistics.o’ is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input filefec.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file
udpc_version.o’ is incompatible with i386:x86-64 output
log.o: In functionudpc_printLongNum': /tmp/udpcast-20120424/log.c:121: undefined reference to
__udivdi3’
/tmp/udpcast-20120424/log.c:121: undefined reference to__umoddi3' /tmp/udpcast-20120424/log.c:135: undefined reference to
__divdi3’
/tmp/udpcast-20120424/log.c:121: undefined reference to__udivdi3' /tmp/udpcast-20120424/log.c:121: undefined reference to
__umoddi3’
statistics.o: In functionudpc_displayReceiverStats': /tmp/udpcast-20120424/statistics.c:172: undefined reference to
__divdi3’
statistics.o: In functionudpc_displaySenderStats': /tmp/udpcast-20120424/statistics.c:252: undefined reference to
__udivdi3’
/tmp/udpcast-20120424/statistics.c:256: undefined reference to `__udivdi3’
collect2: error: ld returned 1 exit status
make: *** [udp-receiver] Error 1 -
try running:
yum -y install glibc-devel.i686; make
And post again.
-
Package glibc-devel-2.17-14.fc19.i686 already installed and latest version
Nothing to do
gcc -s udp-receiver.o socklib.o udpcast.o receiver-diskio.o receivedata.o udpr-negotiate.o produconsum.o fifo.o log.o statistics.o fec.o udpc_version.o console.o process.o -ldl -lpthread -ldl -lpthread -o udp-receiver
/usr/bin/ld: i386 architecture of input fileudp-receiver.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file
socklib.o’ is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input fileudpcast.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file
receiver-diskio.o’ is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input filereceivedata.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file
udpr-negotiate.o’ is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input fileproduconsum.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file
fifo.o’ is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input filelog.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file
statistics.o’ is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input filefec.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file
udpc_version.o’ is incompatible with i386:x86-64 output
log.o: In functionudpc_printLongNum': /tmp/udpcast-20120424/log.c:121: undefined reference to
__udivdi3’
/tmp/udpcast-20120424/log.c:121: undefined reference to__umoddi3' /tmp/udpcast-20120424/log.c:135: undefined reference to
__divdi3’
/tmp/udpcast-20120424/log.c:121: undefined reference to__udivdi3' /tmp/udpcast-20120424/log.c:121: undefined reference to
__umoddi3’
statistics.o: In functionudpc_displayReceiverStats': /tmp/udpcast-20120424/statistics.c:172: undefined reference to
__divdi3’
statistics.o: In functionudpc_displaySenderStats': /tmp/udpcast-20120424/statistics.c:252: undefined reference to
__udivdi3’
/tmp/udpcast-20120424/statistics.c:256: undefined reference to `__udivdi3’
collect2: error: ld returned 1 exit status
make: *** [udp-receiver] Error 1 -
Try
make install
And show output.
-
gcc -s udp-sender.o socklib.o udpcast.o rateGovernor.o rate-limit.o auto-rate.o sender-diskio.o senddata.o udps-negotiate.o fifo.o produconsum.o participants.o log.o statistics.o fec.o udpc_version.o console.o process.o -ldl -lpthread -ldl -lpthread -o udp-sender
/usr/bin/ld: i386 architecture of input filesocklib.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file
udpcast.o’ is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input filefifo.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file
produconsum.o’ is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input filelog.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file
statistics.o’ is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input filefec.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file
udpc_version.o’ is incompatible with i386:x86-64 output
log.o: In functionudpc_printLongNum': /tmp/udpcast-20120424/log.c:121: undefined reference to
__udivdi3’
/tmp/udpcast-20120424/log.c:121: undefined reference to__umoddi3' /tmp/udpcast-20120424/log.c:135: undefined reference to
__divdi3’
/tmp/udpcast-20120424/log.c:121: undefined reference to__udivdi3' /tmp/udpcast-20120424/log.c:121: undefined reference to
__umoddi3’
statistics.o: In functionudpc_displayReceiverStats': /tmp/udpcast-20120424/statistics.c:172: undefined reference to
__divdi3’
statistics.o: In functionudpc_displaySenderStats': /tmp/udpcast-20120424/statistics.c:252: undefined reference to
__udivdi3’
/tmp/udpcast-20120424/statistics.c:256: undefined reference to `__udivdi3’
collect2: error: ld returned 1 exit status
make: *** [udp-sender] Error 1 -
Try this:
make clean; ./configure; make; make install
And show output again, sorry.
-
rm -f *.o udp-sender udp-receiver
udp-sender.1 udp-receiver.1 *~
checking for gcc… gcc
checking whether the C compiler works… yes
checking for C compiler default output file name… a.out
checking for suffix of executables…
checking whether we are cross compiling… no
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… /usr/bin/grep
checking for egrep… /usr/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 dlsym in -ldl… 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 getopt.h usability… yes
checking getopt.h presence… yes
checking for getopt.h… yes
checking dlfcn.h usability… yes
checking dlfcn.h presence… yes
checking for dlfcn.h… yes
checking for string.h… (cached) 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 kill… yes
checking for daemon… 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 getopt_long… yes
checking for dlsym… 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: creating config.h
config.status: config.h is unchanged
gcc -g -O2 -Wall -Wall -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 -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 -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 -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 -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o receivedata.o receivedata.c
gcc -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o udpr-negotiate.o udpr-negotiate.c
gcc -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o produconsum.o produconsum.c
gcc -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o fifo.o fifo.c
gcc -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o log.o log.c
gcc -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o statistics.o statistics.c
gcc -c -I. -I. -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -fno-inline fec.c
gcc -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o udpc_version.o udpc_version.c
gcc -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o console.o console.c
gcc -g -O2 -Wall -Wall -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o process.o process.c
gcc -s udp-receiver.o socklib.o udpcast.o receiver-diskio.o receivedata.o udpr-negotiate.o produconsum.o fifo.o log.o statistics.o fec.o udpc_version.o console.o process.o -ldl -lpthread -ldl -lpthread -o udp-receiver
gcc -g -O2 -Wall -Wall -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 -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o rateGovernor.o rateGovernor.c
gcc -g -O2 -Wall -Wall -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 -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o auto-rate.o auto-rate.c
gcc -g -O2 -Wall -Wall -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 -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64 -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -I. -I. -c -o senddata.o senddata.c
gcc -g -O2 -Wall -Wall -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
gcc -g -O2 -Wall -Wall -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 -s udp-sender.o socklib.o udpcast.o rateGovernor.o rate-limit.o auto-rate.o sender-diskio.o senddata.o udps-negotiate.o fifo.o produconsum.o participants.o log.o statistics.o fec.o udpc_version.o console.o process.o -ldl -lpthread -ldl -lpthread -o udp-sender
cat udp-receiver.txt udp-sender.txt cmd.html | m4 >cmd.html.man
perl html2man.pl cmd.html.man
install -d /usr/local/sbin
install -m 755 udp-sender udp-receiver /usr/local/sbin
install -d /usr/local/share/man/man1
install -m 644 udp-sender.1 udp-receiver.1 /usr/local/share/man/man1
install -d /usr/local/include/udpcast
install -m 644 rateGovernor.h /usr/local/include/udpcast -
There you go it installed finally.
Now go back and run your fog install stuff.
-
I’m also fixing the udpcast file so we don’t have that issue. I’ll repost the FEDORA19 file again once complete.