Subject: port-macppc/13227: macofcons will not build
To: None <gnats-bugs@gnats.netbsd.org>
From: Martin J. Laubach <mjl@emsi.priv.at>
List: netbsd-bugs
Date: 06/17/2001 01:50:22
>Number: 13227
>Category: port-macppc
>Synopsis: macofcons will not build
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: port-macppc-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jun 16 16:48:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Martin J. Laubach
>Release: NetBSD-current 2001-06-17
>Organization:
>Environment:
System: NetBSD celery.emsi.priv.at 1.5V NetBSD 1.5V (TELERY) #0: Fri May 11 20:18:10 CEST 2001 mjl@celery.emsi.priv.at:/home/users/mjl/netbsd/current/basesrc/sys/arch/macppc/compile/TELERY macppc
>Description:
Trying to compile a kernel that has
macofcons0 at pci? dev ? function ? # OpenFirmware console (for debugging)
enabled stops at
cc -g -O2 -pipe -Werror -Wall -Wpointer-arith -Wmissing-prototypes -Wno-uninitialized -Wno-main -msoft-float -I. -I../../../../arch -I../../../.. -nostdinc -DDIAGNOSTIC -DTRAP_PANICWAIT -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -Dmacppc -c ../../../../arch/macppc/dev/ofcons.c
cc1: warnings being treated as errors
../../../../arch/macppc/dev/ofcons.c:113: warning: no previous prototype for `ofcopen'
../../../../arch/macppc/dev/ofcons.c:149: warning: no previous prototype for `ofcclose'
../../../../arch/macppc/dev/ofcons.c:163: warning: no previous prototype for `ofcread'
../../../../arch/macppc/dev/ofcons.c:175: warning: no previous prototype for `ofcwrite'
../../../../arch/macppc/dev/ofcons.c:187: warning: no previous prototype for `ofcpoll'
../../../../arch/macppc/dev/ofcons.c:199: warning: no previous prototype for `ofcioctl'
../../../../arch/macppc/dev/ofcons.c:218: warning: no previous prototype for `ofctty'
../../../../arch/macppc/dev/ofcons.c:227: warning: no previous prototype for `ofcstop'
../../../../arch/macppc/dev/ofcons.c:300: warning: no previous prototype for `ofccnprobe'
../../../../arch/macppc/dev/ofcons.c:318: warning: no previous prototype for `ofccninit'
../../../../arch/macppc/dev/ofcons.c:324: warning: no previous prototype for `ofccngetc'
../../../../arch/macppc/dev/ofcons.c: In function `ofccngetc':
../../../../arch/macppc/dev/ofcons.c:335: warning: implicit declaration of function `adb_intr_cuda'
../../../../arch/macppc/dev/ofcons.c:327: warning: unused variable `intbits'
../../../../arch/macppc/dev/ofcons.c: At top level:
../../../../arch/macppc/dev/ofcons.c:354: warning: no previous prototype for `ofccnputc'
../../../../arch/macppc/dev/ofcons.c:364: warning: no previous prototype for `ofccnpollc'
../../../../arch/macppc/dev/ofcons.c: In function `kbd_intr':
../../../../arch/macppc/dev/ofcons.c:388: argument `event' doesn't match prototype
machine/autoconf.h:78: prototype declaration
*** Error code 1
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: