Port-alpha archive

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

Re: Broken build?



> I tried to build a GENERIC kernel from -current sources
> yesterday, but it bombed out:
>     compile  kern/bcmp.o
> cc1: warnings being treated as errors
> /usr/src/sys/lib/libkern/../../../common/lib/libc/string/bcmp.c:54: warning: 
> no previous prototype for 'bcmp'
> --- bcmp.o ---
> *** [bcmp.o] Error code 1
> 1 error
> nbmake: stopped in /usr/obj/sys/arch/alpha/compile/GENERIC/lib/kern
>
> Known problem, or is the problem at my end?

Sort-of known problem, also affects a number of other ports: all the
powerpc ports and hp700 as well.  The move of the declarations of the
various b* functions in libkern.h under an #ifdef _STANDALONE appears
to be related, but the fix is not as simple as reverting that single
part of the change (which appear to have been done at the same time
the tree was de-__P'ed).

Regards,

- Håvard


Home | Main Index | Thread Index | Old Index