Subject: Re: linking prob
To: Patrick Welche <prlw1@newn.cam.ac.uk>
From: Luke Mewburn <lukem@NetBSD.org>
List: current-users
Date: 08/18/2004 02:42:55
--4ickEXl+ukcSQ/3E
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Aug 17, 2004 at 05:09:48PM +0100, Patrick Welche wrote:
  | I have some code I last compiled in July 2000. I just tried with
  | yesterday's CVS code and got at the linking stage:
  |=20
  | ...
  | f77 -O -g -c /home/prlw1/minp/gulp1.2/angle.f
  | ...
  | cc -O2 -g -pipe   -Werror   -Wno-error -DLINUX    -c    /home/prlw1/min=
p/gulp1.2/cfree.c
  | ...
  | #      link  gulp1.2/gulp
  | cc  -lg2c -lm   -o gulp  -Wl,-rpath-link,/lib:/usr/lib  -L/lib defopt.o=
 fit.o
  | ...
  | /usr/lib/crt0.o(.text+0x86): In function `___start':
  | : undefined reference to `main'

Please submit a toolchain PR with details.

Thanks,
Luke.

--4ickEXl+ukcSQ/3E
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFBIjWPpBhtmn8zJHIRAjDzAKCfndG9ApxzNhPNH/1cnIX/dHqtJACeK6mL
2GWYrpeuXT8ygInz0jIiKiA=
=v+0Z
-----END PGP SIGNATURE-----

--4ickEXl+ukcSQ/3E--