[FreeVMS] Error in make bzImage

BERTRAND Joël joel.bertrand at systella.fr
Mer 16 Nov 20:53:19 CET 2005


	Hello,

	I'm trying to build the last CVS tree. make bzImage returns:
rayleigh:[~/gopher/freevms386.iomm] > make bzImage
gcc -D__KERNEL__ 
-I/export/home/bertrand/gopher/freevms386.iomm/linux/include -I
/export/home/bertrand/gopher/freevms386.iomm/sys/src 
-I/export/home/bertrand/gopher/freevms386.iomm/lib/src 
-I/export/home/bertrand/gopher/freevms386.iomm/librt
l/src -I/export/home/bertrand/gopher/freevms386.iomm/starlet/src 
-I/export/home/bertrand/gopher/freevms386.iomm/pal/src 
-I/export/home/bertrand/gopher/freevms386.iomm/linux/include2 -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer 
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 
-march=i386  -DKBUILD_BASENAME=main  -c -o linux/init/main.o 
linux/init/main.c
In file included from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/prefetch.h:13,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/list.h:6,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/wait.h:14,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/fs.h:12,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/capability.h:17,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/binfmts.h:5,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/sched.h:15,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/sys/src/vmsmm
.h:10,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/mm.h:8,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/slab.h:14,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/proc_fs.h:5,
                  from linux/init/main.c:25:
/export/home/bertrand/gopher/freevms386.iomm/linux/include/asm/processor.h:79: 
error: array type has incomplete element type
In file included from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/fs.h:201,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/capability.h:17,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/binfmts.h:5,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/sched.h:15,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/sys/src/vmsmm
.h:10,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/mm.h:8,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/slab.h:14,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/proc_fs.h:5,
                  from linux/init/main.c:25:
/export/home/bertrand/gopher/freevms386.iomm/linux/include/asm/byteorder.h:14: 
warning: type qualifiers ignored on function return type
/export/home/bertrand/gopher/freevms386.iomm/linux/include/asm/byteorder.h:28: 
warning: type qualifiers ignored on function return type
In file included from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/byteorder/little_endian.h:11,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/asm/byteorder.h:45,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/fs.h:201,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/capability.h:17,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/binfmts.h:5,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/sched.h:15,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/sys/src/vmsmm
.h:10,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/mm.h:8,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/slab.h:14,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/proc_fs.h:5,
                  from linux/init/main.c:25:
/export/home/bertrand/gopher/freevms386.iomm/linux/include/linux/byteorder/swab.h:132: 
warning: type qualifiers ignored on function return type
/export/home/bertrand/gopher/freevms386.iomm/linux/include/linux/byteorder/swab.h:145: 
warning: type qualifiers ignored on function return type
/export/home/bertrand/gopher/freevms386.iomm/linux/include/linux/byteorder/swab.h:159: 
warning: type qualifiers ignored on function return type
In file included from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/sched.h:30,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/sys/src/vmsmm.h:10,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include/linux/mm.h:8,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include/linux/slab.h:14,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include/linux/proc_fs.h:5,
                  from linux/init/main.c:25:
/export/home/bertrand/gopher/freevms386.iomm/linux/include/linux/tty.h:162:1: 
warning: "TTY_PARITY" redefined
In file included from 
/export/home/bertrand/gopher/freevms386.iomm/lib/src/lnmstrdef.h:6,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/sys/src/system_data_cells.h:6,
                  from linux/init/main.c:20:
/export/home/bertrand/gopher/freevms386.iomm/sys/src/sysgen.h:229:1: 
warning: this is the location of the previous definition
In file included from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include/linux/sched.h:36,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/sys/src/vmsmm.h:10,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include/linux/mm.h:8,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include/linux/slab.h:14,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include/linux/proc_fs.h:5,
                  from linux/init/main.c:25:
/export/home/bertrand/gopher/freevms386.iomm/lib/src/pcbdef.h:364: 
warning: function declaration isn't a prototype
/export/home/bertrand/gopher/freevms386.iomm/lib/src/pcbdef.h:371: 
warning: function declaration isn't a prototype
In file included from 
/export/home/bertrand/gopher/freevms386.iomm/sys/src/vmsmm.h:34,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include/linux/mm.h:8,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include/linux/slab.h:14,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include/linux/proc_fs.h:5,
                  from linux/init/main.c:25:
/export/home/bertrand/gopher/freevms386.iomm/lib/src/pfndef.h:226: 
warning: function declaration isn't a prototype
In file included from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include/linux/mm.h:8,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include/linux/slab.h:14,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include/linux/proc_fs.h:5,
                  from linux/init/main.c:25:
/export/home/bertrand/gopher/freevms386.iomm/sys/src/vmsmm.h: In 
function 'expand_stack':
/export/home/bertrand/gopher/freevms386.iomm/sys/src/vmsmm.h:541: 
warning: comparison between pointer and integer
/export/home/bertrand/gopher/freevms386.iomm/sys/src/vmsmm.h:546: 
warning: assignment makes pointer from integer without a cast
/export/home/bertrand/gopher/freevms386.iomm/sys/src/vmsmm.h: In 
function 'find_vma_intersection':
/export/home/bertrand/gopher/freevms386.iomm/sys/src/vmsmm.h:566: 
warning: comparison between pointer and integer
In file included from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/pagemap.h:22,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/locks.h:8,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/devfs_fs_kernel.h:6,
                  from linux/init/main.c:26:
/export/home/bertrand/gopher/freevms386.iomm/linux/include/linux/highmem.h: 
In function 'kmap':
/export/home/bertrand/gopher/freevms386.iomm/linux/include/linux/highmem.h:33: 
warning: return makes pointer from integer without a cast
In file included from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include/linux/locks.h:8,
                  from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include/linux/devfs_fs_kernel.h:6,
                  from linux/init/main.c:26:
/export/home/bertrand/gopher/freevms386.iomm/linux/include/linux/pagemap.h: 
In function 'wait_on_page':
/export/home/bertrand/gopher/freevms386.iomm/linux/include/linux/pagemap.h:102: 

warning: implicit declaration of function 'PageLocked'
In file included from 
/export/home/bertrand/gopher/freevms386.iomm/linux/include
/linux/unistd.h:9,
                  from linux/init/main.c:27:
/export/home/bertrand/gopher/freevms386.iomm/linux/include/asm/unistd.h: 
At top
level:
/export/home/bertrand/gopher/freevms386.iomm/linux/include/asm/unistd.h:513: 
warning: conflicting types for built-in function '_exit'
linux/init/main.c: In function 'start_kernel':
linux/init/main.c:596: warning: implicit declaration of function 'puts'
linux/init/main.c:611: warning: implicit declaration of function 
'init_sys_p1pp'
linux/init/main.c:665: warning: implicit declaration of function 
'lnm_init_sys'
linux/init/main.c:687: warning: implicit declaration of function 
'lnm_init_prc'
linux/init/main.c:697: warning: implicit declaration of function 
'mb_vmsinit'
linux/init/main.c:698: warning: implicit declaration of function 'vms_init4'
linux/init/main.c:699: warning: implicit declaration of function 'vms_init3'
linux/init/main.c: In function 'init':
linux/init/main.c:899: warning: implicit declaration of function 'xqp_init2'
linux/init/main.c:902: warning: implicit declaration of function 
'exttwo_init2'
linux/init/main.c:908: warning: implicit declaration of function 'vms_mount'
linux/init/main.c:910: warning: implicit declaration of function 
'vms2_mount'
linux/init/main.c:912: warning: implicit declaration of function 
'do_translate'
linux/init/main.c:912: warning: initialization makes pointer from 
integer without a cast
linux/init/main.c:914: warning: implicit declaration of function 
'cre_syscommon'
linux/init/main.c:920: warning: implicit declaration of function 
'probe_units'
linux/init/main.c:938: warning: implicit declaration of function 'open_tty'
linux/init/main.c:952: warning: implicit declaration of function 'scs_init'
linux/init/main.c:953: warning: implicit declaration of function 'mscp'
linux/init/main.c:955: warning: implicit declaration of function 'dlminit'
linux/init/main.c:956: warning: implicit declaration of function 'init_cwps'
linux/init/main.c:959: warning: function declaration isn't a prototype
linux/init/main.c:960: warning: passing argument 1 of 'kernel_thread' 
from incompatible pointer type
linux/init/main.c:967: warning: passing argument 1 of 'kernel_thread' 
from incompatible pointer type
linux/init/main.c:974: warning: implicit declaration of function 'scs_init2'
linux/init/main.c:1003: warning: implicit declaration of function 
'exe$creprc'
linux/init/main.c:1006: warning: implicit declaration of function 
'sys$hiber'
linux/init/main.c: At top level:
linux/init/main.c:1036: warning: conflicting types for built-in function 
'puts'
make: *** [linux/init/main.o] Erreur 1
rayleigh:[~/gopher/freevms386.iomm] >

	Any idea ?

	Regards,

	JKB



Plus d'informations sur la liste de diffusion FreeVMS