Subject: UDPcast compilation
To: None <netbsd-help@netbsd.org>
From: Petr Janda <petr@punchyouremployer.com>
List: netbsd-help
Date: 08/12/2006 14:17:46
Hi,
Im trying to compile udpcast manually with patches(patch-aa and
patch-ab) from pkgsrc and this is what i get:
neptune# make clean
rm -f *.o udp-sender udp-receiver udp-sender.1 udp-receiver.1 *~
neptune# make
cc -Wall -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64
-DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -c udp-receiver.c
cc -Wall -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64
-DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -c socklib.c
cc -Wall -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64
-DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -c udpcast.c
cc -Wall -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64
-DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -c receiver-diskio.c
cc -Wall -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64
-DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -c receivedata.c
cc -Wall -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64
-DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -c udpr-negotiate.c
cc -Wall -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64
-DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -c produconsum.c
cc -Wall -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64
-DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -c fifo.c
cc -Wall -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64
-DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -c log.c
cc -Wall -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64
-DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -c statistics.c
cc -c -Wall -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64
-DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -fno-inline fec.c
cc -Wall -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64
-DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -c udpc_version.c
cc -Wall -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64
-DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -c console.c
cc -Wall -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=64
-DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB -c process.c
cc -s -Wl,-warn-common -lpthread -o udp-receiver
/usr/lib/crt0.o(.text+0x86): In function `___start':
: undefined reference to `main'
*** Error code 1
Any clues about whats the problem? Running netbsd 3.0 here.
Cheers,
Petr