Subject: Compile Errors...
To: None <port-sparc@NetBSD.ORG>
From: Joachim Thiemann <joachim@colba.net>
List: port-sparc
Date: 09/25/1997 12:04:38
(sorry if you see this message twice - small typo which may or may not have
prevented the message from cgoing through first time around...)

Hello,

  I have a problem with the make build (last update yesterday)

  in sys/arch/sparc/stand/boot I get:

ld -o boot -N -T 0x340000 -e start srt0.o promdev.o dvma.o boot.o net.o netif_sun.o conf.o  vers.o /usr/src/sys/arch/sparc/stand/boot/lib/sa/libsa.a /usr/src/sys/arch/sparc/stand/boot/lib/z/libz.a /usr/src/sys/arch/sparc/stand/boot/lib/kern/libkern.a
ld: /usr/src/sys/arch/sparc/stand/boot/lib/kern/libkern.a(__main.o): non-native input file

  And it stops right there.
  Is my ld out of date?

  On a possibly related note (though this may belong in current-users) I get
  "warning: return type of `main' is not `int'" when compiling kern/init_main.c,
  and sbin/routed/rtquery/rtquery.c. At this point, I am simply compiling
  those two files without -Werror...

  Any help appreciated.
  Joe.