Subject: snapshot 981017 kernel compile error
To: None <amiga@NetBSD.ORG>
From: Berndt Josef Wulf <>
List: amiga
Date: 10/21/1995 10:27:11
Hi all,

I am trying to upgrapde from 950930 to 951017 snapshot and came across some odd

1.) When compiling the lib files the compiler complains about the definition of 
    the tputs function being not compatible with the previous definition.
    This happens when compiling tputs.c in the libterm library. 

    /usr/include/curses.h         : int  tputs __P((char *, int, void (*) (int)));
    /usr/src/lib/libterm/tputs.c  : void tputs (cp, affcnt,outc);
    Up until now I have set the function to int type in order to get pass this
    error and keeping the compiler happy ;-)

    My question here: What is the story on this?

2.) When compiling the kernel I can't get pass this one:

cc1: warnings being treated as errors
../../../../arch/amiga/dev/ite.c: In function `ite_sifilter':
../../../../arch/amiga/dev/ite.c:833: warning: cast from pointer to integer of different size
../../../../arch/amiga/dev/ite.c: In function `repeat_handler':
../../../../arch/amiga/dev/ite.c:844: warning: cast to pointer from integer of different size
../../../../arch/amiga/dev/ite.c: In function `ite_filter':
../../../../arch/amiga/dev/ite.c:872: warning: passing arg 1 of `rem_sicallback' from incompatible pointer type
*** Error code 1


    What do I need to do in order to get the kernel sources compiled? This is the first
    time that I am seeing this problem. This one got me beat :-(

    Any hints?

Is there an FAQ which explains how to compile a whole contribution the correct way.
Typing 'make build' doesn't seem to get the right result all the time.

Thanks in advance

cheerio Berndt

Name    : Berndt Josef Wulf        | Amiga 4000/40-25, 16MB, NetBSD-1.0-950930
E-Mail  : |       Cybervision64 4MB , Retina-Z2 4MB,
Phone   : ++61 411 245170          |       Z3-Fastlane, A2065 Ethernet