[Comm] 2os2 build error

" KoLyA " =?iso-8859-1?q?kolyag_=CE=C1_mail=2Eru?=
Пн Сен 1 12:50:52 MSD 2003


master2.2+kernel-image-w4l-up 
 
Compiling 2os2_lnx.c 
In file included from 2os2_lnx.c:18: 
/lib/modules/2.4.21-w4l-up-alt4/build/include/linux/autoconf.h:1:38: /var/run/kernel/autoconf.h: 
No such file or directory 
In file included from 2os2_lnx.c:19: 
/lib/modules/2.4.21-w4l-up-alt4/build/include/linux/version.h:1:37: /var/run/kernel/version.h: No 
such file or directory 
2os2_lnx.c:21:41: missing binary operator before '(' 
In file included from /lib/modules/2.4.21-w4l-up-alt4/build/include/linux/config.h:4, 
                 from 2os2_lnx.c:36: 
/lib/modules/2.4.21-w4l-up-alt4/build/include/linux/autoconf.h:1:38: /var/run/kernel/autoconf.h: 
No such file or directory 
In file included from /lib/modules/2.4.21-w4l-up-alt4/build/include/linux/prefetch.h:13, 
                 from /lib/modules/2.4.21-w4l-up-alt4/build/include/linux/list.h:6, 
                 from /lib/modules/2.4.21-w4l-up-alt4/build/include/linux/module.h:12, 
                 from 2os2_lnx.c:38: 
/lib/modules/2.4.21-w4l-up-alt4/build/include/asm/processor.h:56: 
`CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) 
/lib/modules/2.4.21-w4l-up-alt4/build/include/asm/processor.h:56: requested alignment is not a 
constant 
In file included from /lib/modules/2.4.21-w4l-up-alt4/build/include/linux/module.h:299, 
                 from 2os2_lnx.c:38: 
/lib/modules/2.4.21-w4l-up-alt4/build/include/linux/version.h:1:37: /var/run/kernel/version.h: No 
such file or directory 
In file included from 2os2_lnx.c:38: 
/lib/modules/2.4.21-w4l-up-alt4/build/include/linux/module.h:301: parse error before 
"UTS_RELEASE" 
In file included from 2os2_lnx.c:39: 
/lib/modules/2.4.21-w4l-up-alt4/build/include/linux/version.h:1:37: /var/run/kernel/version.h: No 
such file or directory 
In file included from /lib/modules/2.4.21-w4l-up-alt4/build/include/linux/rwsem.h:29, 
                 from /lib/modules/2.4.21-w4l-up-alt4/build/include/asm/semaphore.h:42, 
                 from /lib/modules/2.4.21-w4l-up-alt4/build/include/linux/fs.h:217, 
                 from /lib/modules/2.4.21-w4l-up-alt4/build/include/linux/capability.h:282, 
                 from /lib/modules/2.4.21-w4l-up-alt4/build/include/linux/binfmts.h:5, 
                 from /lib/modules/2.4.21-w4l-up-alt4/build/include/linux/sched.h:9, 
                 from 2os2_lnx.c:40: 
/lib/modules/2.4.21-w4l-up-alt4/build/include/asm/rwsem.h: In function `__down_write_trylock': 
/lib/modules/2.4.21-w4l-up-alt4/build/include/asm/rwsem.h:176: warning: implicit declaration of 
function `cmpxchg' 
In file included from /lib/modules/2.4.21-w4l-up-alt4/build/include/linux/mm.h:12, 
                 from /lib/modules/2.4.21-w4l-up-alt4/build/include/linux/slab.h:14, 
                 from /lib/modules/2.4.21-w4l-up-alt4/build/include/linux/proc_fs.h:5, 
                 from 2os2_lnx.c:42: 
/lib/modules/2.4.21-w4l-up-alt4/build/include/linux/mmzone.h: At top level: 
/lib/modules/2.4.21-w4l-up-alt4/build/include/linux/mmzone.h:44: 
`CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) 
/lib/modules/2.4.21-w4l-up-alt4/build/include/linux/mmzone.h:44: requested alignment is not a 
constant 
2os2_lnx.c:46:40: missing binary operator before '(' 
2os2_lnx.c:52:41: missing binary operator before '(' 
2os2_lnx.c:65:41: missing binary operator before '(' 
2os2_lnx.c:84:41: missing binary operator before '(' 
2os2_lnx.c:93:41: missing binary operator before '(' 
2os2_lnx.c:109:41: missing binary operator before '(' 
2os2_lnx.c:126:41: missing binary operator before '(' 
2os2_lnx.c:131: warning: initialization from incompatible pointer type 
2os2_lnx.c:172:41: missing binary operator before '(' 
2os2_lnx.c: In function `di_printk': 
2os2_lnx.c:177: `int32' undeclared (first use in this function) 
2os2_lnx.c:177: (Each undeclared identifier is reported only once 
2os2_lnx.c:177: for each function it appears in.) 
2os2_lnx.c:177: parse error before "old_fs" 
2os2_lnx.c:178: warning: implicit declaration of function `set_fs' 
2os2_lnx.c:178: warning: implicit declaration of function `get_ds' 
2os2_lnx.c:179: structure has no member named `f_inode' 
2os2_lnx.c:179: warning: passing arg 2 of pointer to function from incompatible pointer type 
2os2_lnx.c:179: warning: passing arg 3 of pointer to function makes integer from pointer without 
a cast 
2os2_lnx.c:179: warning: passing arg 4 of pointer to function makes pointer from integer without 
a cast 
2os2_lnx.c:181: `old_fs' undeclared (first use in this function) 
2os2_lnx.c:254:40: missing binary operator before '(' 
2os2_lnx.c:364:41: missing binary operator before '(' 
2os2_lnx.c:375:41: missing binary operator before '(' 
2os2_lnx.c: In function `vm2os2_mmap': 
2os2_lnx.c:415: structure has no member named `vm_offset' 
2os2_lnx.c:417: structure has no member named `vm_offset' 
2os2_lnx.c:425: structure has no member named `vm_offset' 
2os2_lnx.c:441: structure has no member named `vm_inode' 
2os2_lnx.c:441: `inode' undeclared (first use in this function) 
gmake[2]: *** [2os2_lnx.o] Error 1 
gmake[2]: Leaving directory `/usr/lib/twoOStwo-2.1.34/Drivers/drvMain' 
gmake[1]: *** [make-main] Error 2 
gmake[1]: Leaving directory `/usr/lib/twoOStwo-2.1.34/Drivers' 
gmake: *** [all] Error 2 
 



Подробная информация о списке рассылки community