QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1827|回复: 2

还是编译uClinux问题

[复制链接]
发表于 2007-11-20 19:40:06 | 显示全部楼层 |阅读模式
在编译linux2.4的时候出现如下错误,不知道是怎么回事啊

在cygwin环境下,

下载的uClinux-dist-20070130.tar.gz

问题如下:
n_tty.c:1499: warning: (near initialization for `tty_ldisc_N_TTY')
In file included from flushd.c:43:
/usr/src/uClinux-dist/linux-2.4.x/include/linux/nfs_flushd.h: At top level:
/usr/src/uClinux-dist/linux-2.4.x/include/linux/nfs_flushd.h:42: error: parse er
ror before "atomic_t"
/usr/src/uClinux-dist/linux-2.4.x/include/linux/nfs_flushd.h:42: warning: no sem
icolon at end of struct or union
/usr/src/uClinux-dist/linux-2.4.x/include/linux/nfs_flushd.h:49: error: conflict
ing types for 'task'
/usr/src/uClinux-dist/linux-2.4.x/include/linux/ncp_fs_sb.h:29: error: previous
declaration of 'task' was here
/usr/src/uClinux-dist/linux-2.4.x/include/linux/nfs_flushd.h:52: error: conflict
ing types for 'auth'
/usr/src/uClinux-dist/linux-2.4.x/include/linux/ncp_fs_sb.h:66: error: previous
declaration of 'auth' was here
/usr/src/uClinux-dist/linux-2.4.x/include/linux/nfs_flushd.h:56: error: parse er
ror before '}' token
flushd.c: In function `nfs_reqlist_init':
flushd.c:71: error: `ENOMEM' undeclared (first use in this function)
flushd.c:79: error: dereferencing pointer to incomplete type
flushd.c:82: error: dereferencing pointer to incomplete type
flushd.c:84: error: dereferencing pointer to incomplete type
flushd.c:87: error: dereferencing pointer to incomplete type
flushd.c:89: error: dereferencing pointer to incomplete type
flushd.c:89: error: dereferencing pointer to incomplete type
flushd.c:90: error: dereferencing pointer to incomplete type
flushd.c:91: error: dereferencing pointer to incomplete type
flushd.c: In function `nfs_reqlist_exit':
flushd.c:114: error: dereferencing pointer to incomplete type
flushd.c:115: error: dereferencing pointer to incomplete type
flushd.c:116: error: dereferencing pointer to incomplete type
flushd.c:118: error: dereferencing pointer to incomplete type
flushd.c:118: error: `HZ' undeclared (first use in this function)
flushd.c: In function `nfs_reqlist_alloc':
flushd.c:130: error: dereferencing pointer to incomplete type
flushd.c:132: error: `ENOMEM' undeclared (first use in this function)
flushd.c:134: error: dereferencing pointer to incomplete type
flushd.c:135: warning: implicit declaration of function `atomic_set'
flushd.c:135: error: dereferencing pointer to incomplete type
flushd.c:136: error: dereferencing pointer to incomplete type
/usr/src/uClinux-dist/linux-2.4.x/include/linux/ext3_fs_i.h:75: error: storage s
ize of `truncate_sem' isn't known
/usr/src/uClinux-dist/linux-2.4.x/include/linux/fs.h:471: error: storage size of
`i_sem' isn't knownflushd.c: In function `nfs_flushd':

flushd.c:159: error: dereferencing pointer to incomplete type
flushd.c:186: error: dereferencing pointer to incomplete type
/usr/src/uClinux-dist/linux-2.4.x/include/linux/affs_fs_i.h:27: error: storage s
ize of `i_link_lock' isn't known
flushd.c:187: error: dereferencing pointer to incomplete type/usr/src/uClinux-di
st/linux-2.4.x/include/linux/affs_fs_i.h:28: error: storage size of `i_ext_lock'
isn't known

flushd.c:187: error: `HZ' undeclared (first use in this function)
flushd.c:188: error: dereferencing pointer to incomplete type
flushd.c:188: error: dereferencing pointer to incomplete type
/usr/src/uClinux-dist/linux-2.4.x/include/linux/coda.h:261: error: storage size
of `va_atime' isn't known
/usr/src/uClinux-dist/linux-2.4.x/include/linux/coda.h:262: error: storage size
of `va_mtime' isn't knownflushd.c: In function `nfs_flushd_exit':

/usr/src/uClinux-dist/linux-2.4.x/include/linux/coda.h:263: error: storage size
of `va_ctime' isn't knownflushd.c:198: error: dereferencing pointer to incomplet
e type

flushd.c:201: error: dereferencing pointer to incomplete type
flushd.c:202: error: dereferencing pointer to incomplete type
flushd.c:203: error: dereferencing pointer to incomplete type
/usr/src/uClinux-dist/linux-2.4.x/include/linux/ncp_fs_i.h:22: error: storage si
ze of `open_sem' isn't known
/usr/src/uClinux-dist/linux-2.4.x/include/linux/quota.h:225: error: storage size
of `dq_dqb' isn't known
/usr/src/uClinux-dist/linux-2.4.x/include/linux/ncp_fs_sb.h:46: error: storage s
ize of `sem' isn't known
/usr/src/uClinux-dist/linux-2.4.x/include/linux/fs.h:442: error: storage size of
`bd_sem' isn't known
/usr/src/uClinux-dist/linux-2.4.x/include/linux/fs.h:472: error: storage size of
`i_alloc_sem' isn't knownflushd.c: At top level:

/usr/src/uClinux-dist/linux-2.4.x/include/linux/fs.h:473: error: storage size of
`i_zombie' isn't known
/usr/src/uClinux-dist/linux-2.4.x/include/linux/ext3_fs_i.h:75: error: storage s
ize of `truncate_sem' isn't known
/usr/src/uClinux-dist/linux-2.4.x/include/linux/fs.h:471: error: storage size of
`i_sem' isn't known/usr/src/uClinux-dist/linux-2.4.x/include/linux/fs.h:582: er
ror: storage size of `f_owner' isn't known

/usr/src/uClinux-dist/linux-2.4.x/include/linux/affs_fs_i.h:27: error: storage s
ize of `i_link_lock' isn't known
/usr/src/uClinux-dist/linux-2.4.x/include/linux/affs_fs_i.h:28: error: storage s
ize of `i_ext_lock' isn't known
/usr/src/uClinux-dist/linux-2.4.x/include/linux/coda.h:261: error: storage size
of `va_atime' isn't known
/usr/src/uClinux-dist/linux-2.4.x/include/linux/affs_fs_sb.h:28: error: storage
size of `s_bmlock' isn't known/usr/src/uClinux-dist/linux-2.4.x/include/linux/co
da.h:262: error: storage size of `va_mtime' isn't known

/usr/src/uClinux-dist/linux-2.4.x/include/linux/coda.h:263: error: storage size
of `va_ctime' isn't known
/usr/src/uClinux-dist/linux-2.4.x/include/linux/ufs_fs_sb.h:191: error: storage
size of `fs_cstotal' isn't known
/usr/src/uClinux-dist/linux-2.4.x/include/linux/ncp_fs_i.h:22: error: storage si
ze of `open_sem' isn't known
/usr/src/uClinux-dist/linux-2.4.x/include/linux/ufs_fs.h:423: error: storage siz
e of `cg_cs' isn't known
/usr/src/uClinux-dist/linux-2.4.x/include/linux/ufs_fs.h:461: error: storage siz
e of `ui_atime' isn't known
/usr/src/uClinux-dist/linux-2.4.x/include/linux/quota.h:225: error: storage size


......................................................................
......................................................................

{standard input}:5133: Error: symbol `j_list_bitmap' is already defined
{standard input}:5539: Error: symbol `flags' is already defined
{standard input}:5569: Error: symbol `sequence' is already defined
{standard input}:5675: Error: symbol `data' is already defined
{standard input}:5789: Error: symbol `u' is already defined
{standard input}:5849: Error: symbol `lock' is already defined
{standard input}:4328: Error: {standard input}:5915: symbol `fs_fsmnt' is alread
y definedError:
{standard input}:4334: dy defined
symbol `fs_opostbl' is already defined{standard input}:5927:
Error: {standard input}:4370: symbol `poll' is already definedError:
symbol `fs_ncg' is already defined
{standard input}:4577: Error: symbol `f_uid' is already defined{standard input}:
6167: Error: symbol `seq' is already defined
{standard input}:6209:
{standard input}:4583: Error: symbol `f_gid' is already defined
Error: symbol `sem_nsems' is already defined
{standard input}:6215: Error: {standard input}:4744: symbol `lock' is already de
finedError: symbol `s_size' is already defined

{standard input}:4768: Error: symbol `s_namelen' is already defined
Error: {standard input}:5133: symbol `files' is already definedError: symbol `j_
list_bitmap' is already defined

{standard input}:7000: {standard input}:5539: Error: Error: symbol `data' is alr
eady definedsymbol `flags' is already defined

{standard input}:7078: {standard input}:5569: Error: Error: symbol `flags' is al
ready definedsymbol `sequence' is already defined

{standard input}:5675: Error: symbol `data' is already defined
{standard input}:5789: Error: symbol `u' is already defined
{standard input}:5849: Error: symbol `lock' is already defined
{standard input}:5915: Error: symbol `ioctl' is already defined
{standard input}:5927: Error: symbol `poll' is already defined
{standard input}:6167: Error: symbol `seq' is already defined
{standard input}:6209: Error: symbol `sem_nsems' is already defined
{standard input}:6215: Error: symbol `lock' is already defined
{standard input}:6910: Error: symbol `files' is already defined
{standard input}:7066: Error: symbol `flags' is already defined
{standard input}:7324: Error: symbol `next' is already defined
{standard input}:7491: Error: symbol `size' is already defined
{standard input}:7587: Error: symbol `pages' is already defined
{standard input}:7635: Error: symbol `count' is already defined
{standard input}:7653: Error: symbol `task' is already defined
{standard input}:7659: Error: symbol `auth' is already defined
make[4]: *** [n_tty.o] Error 1
make[4]: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x/drivers/char'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x/drivers/char'
make[2]: *** [_subdir_char] Error 2
make[2]: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x/drivers'
make[4]: *** [flushd.o] Error 1
make[4]: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x/fs/nfs'
make[1]: make[3]: *** [first_rule] Error 2
*** [_dir_drivers] Error 2
make[3]: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x/fs/nfs'
make[2]: *** [_subdir_nfs] Error 2
make[2]: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x/fs'
make[1]: *** [_dir_fs] Error 2
make[1]: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x'
make: *** [linux] Error 1

wang@thtfcomputer /usr/src/uClinux-dist
$
发表于 2007-11-21 10:19:01 | 显示全部楼层
回复

使用道具 举报

发表于 2007-11-21 10:28:10 | 显示全部楼层
Such question should be asked at uClinux BBS.....
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 12:32 , Processed in 0.041389 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表