List Info

Thread: UDPcast compilation




UDPcast compilation
user name
2006-08-12 04: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


UDPcast compilation
user name
2006-08-12 06:48:48
On Sat, Aug 12, 2006 at 02:17:46PM +1000, Petr Janda wrote:
> 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

Ahh!  You rooted my router! :P

> 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

~> snip <~

> 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.

It looks like you are trying to create a program from
nothing.
There should be some object files as input.  Perhaps you
need
to use gmake or something.

	Jonathan Kollasch
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )