Subject: Re: UDPcast compilation
To: Petr Janda <petr@punchyouremployer.com>
From: Jonathan A. Kollasch <jakllsch@kollasch.net>
List: netbsd-help
Date: 08/12/2006 01:48:48
--H1spWtNR+x+ondvy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=20
> patch-ab) from pkgsrc and this is what i get:
>=20
> 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=3D64
> -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB  -c udp-receiver.c

~> snip <~

> cc -Wall -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=3D64
> -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 -DNO_BB  -c console.c
> cc -Wall -Wshadow -DBB_FEATURE_UDPCAST_FEC -D_FILE_OFFSET_BITS=3D64
> -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
>=20
>=20
> 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

--H1spWtNR+x+ondvy
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)

iD8DBQFE3XnPOjx1ye3hmokRArR5AJ40vP4zb2WB5umFm3xmESCnkaOyowCghJsN
WUqtzJek9ksfcSfqyQzfKzA=
=ENGE
-----END PGP SIGNATURE-----

--H1spWtNR+x+ondvy--