Hi,
SIE wrote:
I'am compling the uClinux in my PC,OS:ubuntu 7.04,kernel 2.6;
when I make it ,it gives such errors:
/home/sie/SRC/uClinux-samsung/linux-2.4.x/include/asm/atomic.h:80:
multiple definition of `romfs_file_operations'
romfs.o:/home/sie/SRC/uClinux-samsung/linux-2.4.x/fs/romfs/inode.c:106:???????
make[1]: *** [linux] 错误 1
Can you send more lines of the make/compiler output before this?
Regards
Greg
I have search this on the internet,however I have only got things like
this:
http://chinajz.spaces.live.com/blog/cns!EAD556F11EFE5C17!176.entry
here's the part of the answer to this question:
**********************************************************************************
vi ~/uClinux-dist/linux-2.4.x/fs/romfs/inode.c
/* Mapping from our types to the kernel */
static struct address_space_operations romfs_aops = {
readpage: romfs_readpage
};
static struct file_operations romfs_dir_operations = {
read: generic_read_dir,
readdir: romfs_readdir,
};
static struct file_operations romfs_file_operations = {
read: generic_file_read,
mmap: generic_file_mmap,
#ifdef MAGIC_ROM_PTR
romptr: romfs_romptr,
#endif
**************************************************************************
But , when I check the file ,I found that these codes are the same as
the answer it gave out.I don't know how to do with this error.
Can anyone give some advice?
Thanks.
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
--
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: [EMAIL PROTECTED]
Secure Computing Corporation PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev