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
|