Subject: Compiling tip failed on amd64
To: None <current-users@netbsd.org>
From: Kurt Schreiner <ks@ub.uni-mainz.de>
List: current-users
Date: 04/03/2006 14:50:57
Hi,
subject says it all:
dependall ===> usr.bin/tip
compile tip/cmds.o
/u/NetBSD/src/usr.bin/tip/cmds.c: In function `transmit':
/u/NetBSD/src/usr.bin/tip/cmds.c:356: warning: cast from pointer to integer of different size
/u/NetBSD/src/usr.bin/tip/cmds.c: In function `sendchar':
/u/NetBSD/src/usr.bin/tip/cmds.c:447: warning: cast from pointer to integer of different size
*** Failed target: cmds.o
*** Failed command: /u/NetBSD/arch/amd64/TOOLS/bin/x86_64--netbsd-gcc -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-packed -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -std=gnu99 -Werror -I/u/NetBSD/src/usr.bin/tip -DDEFBR=9600 -DDEFFS=BUFSIZ -DHAYES -nostdinc -isystem /u/NetBSD/arch/amd64/dest/usr/include -c /u/NetBSD/src/usr.bin/tip/cmds.c
*** Error code 1
Stop.
nbmake: stopped in /u/NetBSD/src/usr.bin/tip
Casting "void *" to "unsinged int" seems not to be the right thing on amd64?
Kurt