[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#323315: FTBFS: Conflicting declarations of cn_tab



Package: gnumach
Version: 20050501-4
Severity: serious

gnumach fails to build because it contains conflicting declarations of
cn_tab:

> i486-linux-gnu-gcc -Wall -g -pipe -O2 -nostdinc -DMACH -DCMU -DMACH_KERNEL -DKERNEL -DPACKAGE_NAME=\"GNU\ Mach\" -DPACKAGE_TARNAME=\"gnumach\" -DPACKAGE_VERSION=\"1.3\" -DPACKAGE_STRING=\"GNU\ Mach\ 1.3\" -DPACKAGE_BUGREPORT=\"bug-hurd@gnu.org\" -DMACH_KMSG=  -DCONTINUATIONS -D__ELF__ -Di386 -DLINUX_DEV -I../i386/i386at -I../i386/i386 -I../i386/include -I../i386/include/mach/sa -I../i386/bogus -I../i386 -I. -I.. -I../include -I../bogus -I../util -I../kern -I../device  -c -o cons.o ../device/cons.c
> In file included from ../vm/vm_page.h:48,
>                  from ../device/io_req.h:40,
>                  from ../device/cons.c:41:
> ../kern/sched_prim.h:126: warning: type qualifiers ignored on function return type
> ../device/cons.c:46: error: static declaration of 'cn_tab' follows non-static declaration
> ../device/cons.h:49: error: previous declaration of 'cn_tab' was here
> ../device/cons.c:74: warning: return type defaults to 'int'
> ../device/cons.c: In function 'cninit':
> ../device/cons.c:82: warning: 'return' with no value, in function returning non-void
> ../device/cons.c:98: warning: suggest parentheses around assignment used as truth value
> ../device/cons.c:108: warning: implicit declaration of function 'dev_name_lookup'
> ../device/cons.c:109: warning: implicit declaration of function 'panic'
> ../device/cons.c:110: warning: implicit declaration of function 'dev_set_indirection'
> ../device/cons.c:121: warning: implicit declaration of function 'cnputc'
> ../device/cons.c:129: warning: 'return' with no value, in function returning non-void
> ../device/cons.c: At top level:
> ../device/cons.c:227: warning: return type defaults to 'int'
> ../device/cons.c:237: warning: return type defaults to 'int'
> ../device/cons.c:247: warning: return type defaults to 'int'
> ../device/cons.c: In function 'cnputc':
> ../device/cons.c:250: warning: 'return' with no value, in function returning non-void
> ../device/cons.c:271: warning: implicit declaration of function 'bzero'
> ../device/cons.c:271: warning: incompatible implicit declaration of built-in function 'bzero'

-- 
Matt

Attachment: signature.asc
Description: Digital signature


Reply to: