Hi, After 255541 I can't compile a VIMAGE kernel: cc1: warnings being treated as errors /usr/src/sys/kern/sched_ule.c: In function 'cpu_search': /usr/src/sys/kern/sched_ule.c:638: warning: implicit declaration of function 'CPU_FFS' /usr/src/sys/kern/sched_ule.c:638: warning: nested extern declaration of 'CPU_FFS' [-Wnested-externs] *** [sched_ule.o] Error code 1 Kernconf: VSERVER: # # VSERVER --A VIMAGE kernel configuration file for FreeBSD/amd64 # # $FreeBSD: stable/9/sys/amd64/conf/XENHVM 239412 2012-08-20 11:34:49Z cperciva $ # include SERVER ident VSERVER # VIMAGE config option VIMAGE SERVER: # # SERVER -- General server # include GENERIC ident SERVER # Update resources for PostgreSQL options SHMMAXPGS=65536 options SEMMNI=40 options SEMMNS=240 options SEMUME=40 options SEMMNU=120 # # Compile with kernel debugger related code. # options KDB options KDB_TRACE options KDB_UNATTENDED options DDB #options INVARIANTS #options INVARIANT_SUPPORT #options WITNESS #options DEBUG_LOCKS #options DEBUG_VFS_LOCKS # Include Apple Talk support options NETATALK /glz
Hi. The change is reverted. Sorry. On 14.09.2013 16:05, goran.lowkrantz at ismobile.com wrote:> Hi, > > After 255541 I can't compile a VIMAGE kernel: > cc1: warnings being treated as errors > /usr/src/sys/kern/sched_ule.c: In function 'cpu_search': > /usr/src/sys/kern/sched_ule.c:638: warning: implicit declaration of > function 'CPU_FFS' > /usr/src/sys/kern/sched_ule.c:638: warning: nested extern declaration of > 'CPU_FFS' [-Wnested-externs] > *** [sched_ule.o] Error code 1 > > Kernconf: > VSERVER: > # > # VSERVER --A VIMAGE kernel configuration file for FreeBSD/amd64 > # > # $FreeBSD: stable/9/sys/amd64/conf/XENHVM 239412 2012-08-20 11:34:49Z > cperciva $ > # > include SERVER > ident VSERVER > > # VIMAGE config > option VIMAGE > > SERVER: > # > # SERVER -- General server > # > > include GENERIC > > ident SERVER > > # Update resources for PostgreSQL > options SHMMAXPGS=65536 > options SEMMNI=40 > options SEMMNS=240 > options SEMUME=40 > options SEMMNU=120 > > # > # Compile with kernel debugger related code. > # > options KDB > options KDB_TRACE > options KDB_UNATTENDED > options DDB > > #options INVARIANTS > #options INVARIANT_SUPPORT > #options WITNESS > > #options DEBUG_LOCKS > #options DEBUG_VFS_LOCKS > > # Include Apple Talk support > options NETATALK > > > /glz-- Alexander Motin
On 14-09-2013 15:05, goran.lowkrantz at ismobile.com wrote:> Hi, > > After 255541 I can't compile a VIMAGE kernel: > cc1: warnings being treated as errors > /usr/src/sys/kern/sched_ule.c: In function 'cpu_search': > /usr/src/sys/kern/sched_ule.c:638: warning: implicit declaration of > function 'CPU_FFS' > /usr/src/sys/kern/sched_ule.c:638: warning: nested extern declaration > of 'CPU_FFS' [-Wnested-externs] > *** [sched_ule.o] Error code 1 >Hello, This is not related to VIMAGE and it was fixed in this commit: http://svnweb.freebsd.org/base?view=revision&revision=255569 Best regards, Thomas Steen Rasmussen