ts-7000
[Top] [All Lists]

[ts-7000] Re: RTAI on TS-7260 and usleep()

To:
Subject: [ts-7000] Re: RTAI on TS-7260 and usleep()
From: "ronis_br" <>
Date: Mon, 03 Aug 2009 18:59:24 -0000
Hi,

With your procedures, I could compile the kernel correctly, but I just can do 
it when I disable the support for CONFIG_JFFS2_FS_NAND. But the system cannot 
boot correctly if I have this option disable in kernel.

When I try to compile it with NAND support for JFFS2 enable, than I get the 
following error:

arm-linux-gcc -D__KERNEL__ -I/home/ronan/sbc/kernel/linux24/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm 
-fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi 
-msoft-float -Uarm   -nostdinc -iwithprefix include -DKBUILD_BASENAME=wbuf   -c 
-o wbuf.o wbuf.c                               
wbuf.c: In function `jffs2_wbuf_pending_for_ino':                               
                                                                                
                   
wbuf.c:46: error: structure has no member named `wbuf_inodes'                   
                                                                                
                   
wbuf.c: In function `jffs2_clear_wbuf_ino_list':                                
                                                                                
                   
wbuf.c:69: error: structure has no member named `wbuf_inodes'                   
                                                                                
                   
wbuf.c:78: error: structure has no member named `wbuf_inodes'                   
                                                                                
                   
wbuf.c: In function `jffs2_wbuf_dirties_inode':                                 
                                                                                
                   
wbuf.c:95: error: structure has no member named `wbuf_inodes'                   
                                                                                
                   
wbuf.c:99: error: structure has no member named `wbuf_inodes'                   
                                                                                
                   
wbuf.c:100: error: structure has no member named `wbuf_inodes'                  
                                                                                
                   
wbuf.c: In function `jffs2_wbuf_recover':                                       
                                                                                
                   
wbuf.c:183: error: structure has no member named `wbuf_ofs'                     
                                                                                
                   
wbuf.c:192: error: structure has no member named `wbuf_ofs'                     
                                                                                
                   
wbuf.c:223: error: structure has no member named `wbuf_ofs'                     
                                                                                
                   
wbuf.c:236: error: structure has no member named `wbuf_ofs'                     
                                                                                
                   
wbuf.c:236: error: structure has no member named `oobinfo'                      
                                                                                
                   
wbuf.c:238: error: structure has no member named `wbuf_ofs'                     
                                                                                
                   
wbuf.c:240: error: structure has no member named `wbuf_ofs'                     
                                                                                
                   
wbuf.c:244: error: structure has no member named `wbuf_ofs'                     
                                                                                
                   
wbuf.c:259: error: structure has no member named `wbuf_ofs'                     
                                                                                
                   
wbuf.c:259: error: structure has no member named `wbuf'                         
                                                                                
                   
wbuf.c:259: error: structure has no member named `wbuf_ofs'                     
                                                                                
                   
wbuf.c:273: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:279: error: structure has no member named `wbuf'                         
                                                                                
                   
wbuf.c:280: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:297: error: structure has no member named `oobinfo'                      
                                                                                
                   
wbuf.c:324: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:325: error: structure has no member named `wbuf_ofs'                     
                                                                                
                   
wbuf.c:326: error: structure has no member named `wbuf'                         
                                                                                
                   
wbuf.c:326: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:333: error: structure has no member named `wbuf'                         
                                                                                
                   
wbuf.c:336: error: structure has no member named `wbuf'                         
                                                                                
                   
wbuf.c:336: error: structure has no member named `wbuf'                         
                                                                                
                   
wbuf.c:336: error: structure has no member named `wbuf_ofs'                     
                                                                                
                   
wbuf.c:338: error: structure has no member named `wbuf_ofs'                     
                                                                                
                   
wbuf.c:339: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c: In function `__jffs2_flush_wbuf':                                       
                                                                                
                   
wbuf.c:420: error: structure has no member named `wbuf'                         
                                                                                
                   
wbuf.c:429: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:439: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:439: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:443: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:443: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:443: error: structure has no member named `wbuf'                         
                                                                                
                   
wbuf.c:443: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:443: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:443: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:443: error: structure has no member named `wbuf'                         
                                                                                
                   
wbuf.c:443: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:443: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:443: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:443: error: structure has no member named `wbuf'                         
                                                                                
                   
wbuf.c:443: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:445: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:445: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:446: error: structure has no member named `wbuf'                         
                                                                                
                   
wbuf.c:446: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:449: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:449: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:468: error: structure has no member named `wbuf_ofs'                     
                                                                                
                   
wbuf.c:468: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:468: error: structure has no member named `wbuf'                         
                                                                                
                   
wbuf.c:468: error: structure has no member named `oobinfo'                      
                                                                                
                   
wbuf.c:470: error: structure has no member named `wbuf_ofs'                     
                                                                                
                   
wbuf.c:470: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:470: error: structure has no member named `wbuf'                         
                                                                                
                   
wbuf.c:472: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:492: error: structure has no member named `wbuf_ofs'                     
                                                                                
                   
wbuf.c:500: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:500: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:507: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:507: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:508: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:508: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:509: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:509: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:510: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:510: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:518: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:518: error: structure has no member named `wbuf'                         
                                                                                
                   
wbuf.c:518: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:518: error: structure has no member named `wbuf'                         
                                                                                
                   
wbuf.c:518: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:518: error: structure has no member named `wbuf'                         
                                                                                
                   
wbuf.c:520: error: structure has no member named `wbuf_ofs'                     
                                                                                
                   
wbuf.c:520: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:521: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c: At top level:                                                           
                                                                                
                   
wbuf.c:529: error: parse error before '{' token                                 
                                                                                
                   
wbuf.c:537: error: parse error before "if"                                      
                                                                                
                   
wbuf.c:540: error: parse error before '&' token                                 
                                                                                
                   
wbuf.c:540: warning: type defaults to `int' in declaration of `down'            
                                                                                
                   
wbuf.c:540: warning: function declaration isn't a prototype                     
                                                                                
                   
wbuf.c:540: error: conflicting types for 'down'                                 
                                                                                
                   
/home/ronan/sbc/kernel/linux24/include/asm/semaphore.h:83: error: previous 
definition of 'down' was here                                                   
                        
wbuf.c:540: warning: data definition has no type or storage class               
                                                                                
                   
wbuf.c:543: error: parse error before '&' token                                 
                                                                                
                   
wbuf.c:543: warning: type defaults to `int' in declaration of `up'              
                                                                                
                   
wbuf.c:543: warning: function declaration isn't a prototype                     
                                                                                
                   
wbuf.c:543: error: conflicting types for 'up'                                   
                                                                                
                   
/home/ronan/sbc/kernel/linux24/include/asm/semaphore.h:120: error: previous 
definition of 'up' was here                                                     
                       
wbuf.c:543: warning: data definition has no type or storage class               
                                                                                
                   
wbuf.c:547: warning: type defaults to `int' in declaration of `old_wbuf_ofs'    
                                                                                
                   
wbuf.c:547: error: `c' undeclared here (not in a function)                      
                                                                                
                   
wbuf.c:547: warning: data definition has no type or storage class               
                                                                                
                   
wbuf.c:548: warning: type defaults to `int' in declaration of `old_wbuf_len'    
                                                                                
                   
wbuf.c:548: error: conflicting types for 'old_wbuf_len'                         
                                                                                
                   
wbuf.c:532: error: previous declaration of 'old_wbuf_len' was here              
                                                                                
                   
wbuf.c:548: warning: data definition has no type or storage class               
                                                                                
                   
wbuf.c:550: error: parse error before "if"                                      
                                                                                
                   
wbuf.c:553: error: parse error before '&' token                                 
                                                                                
                   
wbuf.c:553: warning: type defaults to `int' in declaration of `down_write'      
                                                                                
                   
wbuf.c:553: warning: function declaration isn't a prototype                     
                                                                                
                   
wbuf.c:553: error: conflicting types for 'down_write'                           
                                                                                
                   
/home/ronan/sbc/kernel/linux24/include/linux/rwsem.h:66: error: previous 
definition of 'down_write' was here                                             
                          
wbuf.c:553: warning: data definition has no type or storage class               
                                                                                
                   
wbuf.c:554: warning: type defaults to `int' in declaration of `ret'             
                                                                                
                   
wbuf.c:554: error: redefinition of 'ret'                                        
                                                                                
                   
wbuf.c:533: error: previous definition of 'ret' was here                        
                                                                                
                   
wbuf.c:554: error: initializer element is not constant                          
                                                                                
                   
wbuf.c:554: warning: data definition has no type or storage class               
                                                                                
                   
wbuf.c:557: error: parse error before "if"                                      
                                                                                
                   
wbuf.c:559: error: parse error before '&' token                                 
                                                                                
                   
wbuf.c:559: warning: type defaults to `int' in declaration of `up_write'        
                                                                                
                   
wbuf.c:559: warning: function declaration isn't a prototype                     
                                                                                
                   
wbuf.c:559: error: conflicting types for 'up_write'                             
                                                                                
                   
/home/ronan/sbc/kernel/linux24/include/linux/rwsem.h:98: error: previous 
definition of 'up_write' was here                                               
                          
wbuf.c:559: warning: data definition has no type or storage class               
                                                                                
                   
wbuf.c:567: warning: type defaults to `int' in declaration of `ret'             
                                                                                
                   
wbuf.c:567: error: redefinition of 'ret'                                        
                                                                                
                   
wbuf.c:554: error: previous definition of 'ret' was here                        
                                                                                
                   
wbuf.c:567: error: redefinition of 'ret'                                        
                                                                                
                   
wbuf.c:554: error: previous definition of 'ret' was here                        
                                                                                
                   
wbuf.c:567: error: initializer element is not constant                          
                                                                                
                   
wbuf.c:567: warning: data definition has no type or storage class               
                                                                                
                   
wbuf.c:568: error: parse error before "if"                                      
                                                                                
                   
wbuf.c:571: error: parse error before '&' token                                 
                                                                                
                   
wbuf.c:571: warning: type defaults to `int' in declaration of `down_write'      
                                                                                
                   
wbuf.c:571: warning: function declaration isn't a prototype                     
                                                                                
                   
wbuf.c:571: warning: data definition has no type or storage class               
                                                                                
                   
wbuf.c:572: warning: type defaults to `int' in declaration of `ret'             
                                                                                
                   
wbuf.c:572: error: redefinition of 'ret'                                        
                                                                                
                   
wbuf.c:567: error: previous definition of 'ret' was here                        
                                                                                
                   
wbuf.c:572: error: redefinition of 'ret'                                        
                                                                                
                   
wbuf.c:554: error: previous definition of 'ret' was here                        
                                                                                
                   
wbuf.c:572: error: initializer element is not constant                          
                                                                                
                   
wbuf.c:572: warning: data definition has no type or storage class               
                                                                                
                   
wbuf.c:575: error: parse error before "if"                                      
                                                                                
                   
wbuf.c:577: error: parse error before '&' token                                 
                                                                                
                   
wbuf.c:577: warning: type defaults to `int' in declaration of `up_write'        
                                                                                
                   
wbuf.c:577: warning: function declaration isn't a prototype                     
                                                                                
                   
wbuf.c:577: warning: data definition has no type or storage class               
                                                                                
                   
wbuf.c:580: error: parse error before '&' token                                 
                                                                                
                   
wbuf.c:580: warning: type defaults to `int' in declaration of `down'            
                                                                                
                   
wbuf.c:580: warning: function declaration isn't a prototype                     
                                                                                
                   
wbuf.c:580: warning: data definition has no type or storage class               
                                                                                
                   
wbuf.c:585: error: parse error before '&' token                                 
                                                                                
                   
wbuf.c:585: warning: type defaults to `int' in declaration of `up'              
                                                                                
                   
wbuf.c:585: warning: function declaration isn't a prototype                     
                                                                                
                   
wbuf.c:585: warning: data definition has no type or storage class               
                                                                                
                   
wbuf.c:590: error: parse error before '{' token                                 
                                                                                
                   
wbuf.c:597: error: parse error before '&' token                                 
                                                                                
                   
wbuf.c:597: warning: type defaults to `int' in declaration of `down_write'      
                                                                                
                   
wbuf.c:597: warning: function declaration isn't a prototype                     
                                                                                
                   
wbuf.c:597: warning: data definition has no type or storage class               
                                                                                
                   
wbuf.c:598: warning: type defaults to `int' in declaration of `ret'             
                                                                                
                   
wbuf.c:598: error: redefinition of 'ret'                                        
                                                                                
                   
wbuf.c:572: error: previous definition of 'ret' was here                        
                                                                                
                   
wbuf.c:598: error: redefinition of 'ret'                                        
                                                                                
                   
wbuf.c:554: error: previous definition of 'ret' was here                        
                                                                                
                   
wbuf.c:598: error: initializer element is not constant                          
                                                                                
                   
wbuf.c:598: warning: data definition has no type or storage class               
                                                                                
                   
wbuf.c:600: error: parse error before "if"                                      
                                                                                
                   
wbuf.c:602: error: parse error before '&' token                                 
                                                                                
                   
wbuf.c:602: warning: type defaults to `int' in declaration of `up_write'        
                                                                                
                   
wbuf.c:602: warning: function declaration isn't a prototype                     
                                                                                
                   
wbuf.c:602: warning: data definition has no type or storage class               
                                                                                
                   
wbuf.c: In function `jffs2_flash_direct_writev':                                
                                                                                
                   
wbuf.c:629: error: structure has no member named `wbuf'                         
                                                                                
                   
wbuf.c:632: error: structure has no member named `wbuf_sem'                     
                                                                                
                   
wbuf.c:635: error: structure has no member named `wbuf_ofs'                     
                                                                                
                   
wbuf.c:636: error: structure has no member named `wbuf_ofs'                     
                                                                                
                   
wbuf.c:636: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:637: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:637: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:638: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:638: error: structure has no member named `wbuf'                         
                                                                                
                   
wbuf.c:638: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:638: error: structure has no member named `wbuf'                         
                                                                                
                   
wbuf.c:638: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:638: error: structure has no member named `wbuf'                         
                                                                                
                   
wbuf.c:645: error: structure has no member named `wbuf_ofs'                     
                                                                                
                   
wbuf.c:645: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:646: error: structure has no member named `wbuf_ofs'                     
                                                                                
                   
wbuf.c:646: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:647: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:647: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:648: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:648: error: structure has no member named `wbuf'                         
                                                                                
                   
wbuf.c:648: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:648: error: structure has no member named `wbuf'                         
                                                                                
                   
wbuf.c:648: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:648: error: structure has no member named `wbuf'                         
                                                                                
                   
wbuf.c:658: error: structure has no member named `wbuf_ofs'                     
                                                                                
                   
wbuf.c:660: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:671: error: structure has no member named `wbuf_ofs'                     
                                                                                
                   
wbuf.c:671: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:672: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:672: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:675: error: structure has no member named `wbuf_ofs'                     
                                                                                
                   
wbuf.c:675: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:678: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:694: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:698: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:698: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:699: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:699: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:701: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:702: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:702: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:705: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:705: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:711: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:711: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:718: error: structure has no member named `wbuf'                         
                                                                                
                   
wbuf.c:718: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:719: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:722: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:722: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:737: error: structure has no member named `wbuf_ofs'                     
                                                                                
                   
wbuf.c:748: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:750: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:765: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:765: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:767: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:784: error: structure has no member named `oobinfo'                      
                                                                                
                   
wbuf.c:788: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:806: error: structure has no member named `wbuf_ofs'                     
                                                                                
                   
wbuf.c:806: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:806: error: structure has no member named `wbuf_pagesize'                
                                                                                
                   
wbuf.c:821: error: structure has no member named `wbuf'                         
                                                                                
                   
wbuf.c:825: error: structure has no member named `wbuf'                         
                                                                                
                   
wbuf.c:831: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:831: error: structure has no member named `wbuf'                         
                                                                                
                   
wbuf.c:838: error: structure has no member named `wbuf_len'                     
                                                                                
                   
wbuf.c:838: error: `ino' undeclared (first use in this function)                
                                                                                
                   
wbuf.c:838: error: (Each undeclared identifier is reported only once            
                                                                                
                   
wbuf.c:838: error: for each function it appears in.)                            
                                                                                
                   
wbuf.c:844: error: structure has no member named `wbuf_sem'                     
                                                                                
                   
wbuf.c: At top level:                                                           
                                                                                
                   
wbuf.c:852: error: parse error before "struct"                                  
                                                                                
                   
wbuf.c:859: error: parse error before '.' token                                 
                                                                                
                   
wbuf.c:860: error: parse error before '.' token                                 
                                                                                
                   
wbuf.c:867: error: parse error before "struct"                                  
                                                                                
                   
wbuf.c:872: error: parse error before "if"                                      
                                                                                
                   
wbuf.c:894: warning: type defaults to `int' in declaration of `ret'             
                                                                                
                   
wbuf.c:894: error: redefinition of 'ret'                                        
                                                                                
                   
wbuf.c:598: error: previous definition of 'ret' was here                        
                                                                                
                   
wbuf.c:894: error: redefinition of 'ret'                                        
                                                                                
                   
wbuf.c:554: error: previous definition of 'ret' was here                        
                                                                                
                   
wbuf.c:894: warning: data definition has no type or storage class               
                                                                                
                   
wbuf.c:895: error: parse error before '}' token                                 
                                                                                
                   
wbuf.c:908: error: parse error before '&' token                                 
                                                                                
                   
wbuf.c:908: warning: type defaults to `int' in declaration of `down_read'       
                                                                                
                   
wbuf.c:908: warning: function declaration isn't a prototype                     
                                                                                
                   
wbuf.c:908: error: conflicting types for 'down_read'                            
                                                                                
                   
/home/ronan/sbc/kernel/linux24/include/linux/rwsem.h:44: error: previous 
definition of 'down_read' was here                                              
                          
wbuf.c:908: warning: data definition has no type or storage class               
                                                                                
                   
wbuf.c:914: warning: type defaults to `int' in declaration of `lwbf'            
                                                                                
                   
wbuf.c:914: error: `owbf' undeclared here (not in a function)                   
                                                                                
                   
wbuf.c:914: warning: data definition has no type or storage class               
                                                                                
                   
wbuf.c:915: error: parse error before "if"                                      
                                                                                
                   
wbuf.c:921: warning: type defaults to `int' in declaration of `lwbf'            
                                                                                
                   
wbuf.c:921: error: redefinition of 'lwbf'                                       
                                                                                
                   
wbuf.c:914: error: previous definition of 'lwbf' was here                       
                                                                                
                   
wbuf.c:921: error: `len' undeclared here (not in a function)                    
                                                                                
                   
wbuf.c:921: error: `orbf' undeclared here (not in a function)                   
                                                                                
                   
wbuf.c:921: warning: data definition has no type or storage class               
                                                                                
                   
wbuf.c:922: error: parse error before "if"                                      
                                                                                
                   
wbuf.c: In function `jffs2_check_oob_empty':                                    
                                                                                
                   
wbuf.c:956: warning: implicit declaration of function `jffs2_flash_read_oob'    
                                                                                
                   
wbuf.c:972: error: structure has no member named `fsdata_pos'                   
                                                                                
                   
wbuf.c:973: error: structure has no member named `fsdata_pos'                   
                                                                                
                   
wbuf.c:973: error: structure has no member named `fsdata_len'                   
                                                                                
                   
wbuf.c: In function `jffs2_check_nand_cleanmarker':                             
                                                                                
                   
wbuf.c:1047: error: structure has no member named `fsdata_len'                  
                                                                                
                   
wbuf.c:1048: error: structure has no member named `fsdata_pos'                  
                                                                                
                   
wbuf.c: At top level:                                                           
                                                                                
                   
wbuf.c:1066: error: parse error before '-' token                                
                                                                                
                   
wbuf.c:1072: error: parse error before '.' token                                
                                                                                
                   
wbuf.c:1076: warning: type defaults to `int' in declaration of `ret'            
                                                                                
                   
wbuf.c:1076: error: redefinition of 'ret'                                       
                                                                                
                   
wbuf.c:894: error: previous definition of 'ret' was here                        
                                                                                
                   
wbuf.c:1076: error: redefinition of 'ret'                                       
                                                                                
                   
wbuf.c:554: error: previous definition of 'ret' was here                        
                                                                                
                   
wbuf.c:1076: warning: implicit declaration of function `jffs2_flash_write_oob'  
                                                                                
                   
wbuf.c:1076: error: `jeb' undeclared here (not in a function)                   
                                                                                
                   
wbuf.c:1076: error: `n' undeclared here (not in a function)                     
                                                                                
                   
wbuf.c:1076: error: initializer element is not constant                         
                                                                                
                   
wbuf.c:1076: warning: data definition has no type or storage class              
                                                                                
                   
wbuf.c:1078: error: parse error before "if"                                     
                                                                                
                   
wbuf.c:1097: error: parse error before numeric constant                         
                                                                                
                   
wbuf.c:1109: warning: type defaults to `int' in declaration of `ret'            
                                                                                
                   
wbuf.c:1109: error: redefinition of 'ret'                                       
                                                                                
                   
wbuf.c:1076: error: previous definition of 'ret' was here                       
                                                                                
                   
wbuf.c:1109: error: redefinition of 'ret'                                       
                                                                                
                   
wbuf.c:554: error: previous definition of 'ret' was here                        
                                                                                
                   
wbuf.c:1109: error: `bad_offset' undeclared here (not in a function)            
                                                                                
                   
wbuf.c:1109: warning: data definition has no type or storage class              
                                                                                
                   
wbuf.c:1111: error: parse error before "if"                                     
                                                                                
                   
wbuf.c: In function `jffs2_nand_set_oobinfo':                                   
                                                                                
                   
wbuf.c:1146: error: structure has no member named `fsdata_pos'                  
                                                                                
                   
wbuf.c:1147: error: structure has no member named `fsdata_len'                  
                                                                                
                   
wbuf.c:1148: error: structure has no member named `fsdata_len'                  
                                                                                
                   
wbuf.c:1149: error: structure has no member named `fsdata_len'                  
                                                                                
                   
wbuf.c:1155: error: structure has no member named `oobinfo'                     
                                                                                
                   
wbuf.c:1156: error: structure has no member named `fsdata_pos'                  
                                                                                
                   
wbuf.c:1157: error: structure has no member named `fsdata_len'                  
                                                                                
                   
wbuf.c:1158: error: structure has no member named `badblock_pos'                
                                                                                
                   
wbuf.c: At top level:
wbuf.c:1169: error: parse error before numeric constant
wbuf.c:1174: error: parse error before '&' token
wbuf.c:1174: warning: type defaults to `int' in declaration of `init_rwsem'
wbuf.c:1174: warning: function declaration isn't a prototype
wbuf.c:1174: error: conflicting types for 'init_rwsem'
/home/ronan/sbc/kernel/linux24/include/linux/rwsem-spinlock.h:57: error: 
previous declaration of 'init_rwsem' was here
wbuf.c:1174: error: conflicting types for 'init_rwsem'
/home/ronan/sbc/kernel/linux24/include/linux/rwsem-spinlock.h:57: error: 
previous declaration of 'init_rwsem' was here
wbuf.c:1174: warning: data definition has no type or storage class
wbuf.c:1175: error: parse error before '->' token
wbuf.c:1182: warning: type defaults to `int' in declaration of `res'
wbuf.c:1182: error: initializer element is not constant
wbuf.c:1182: warning: data definition has no type or storage class
wbuf.c:1193: error: parse error before "return"
wbuf.c: In function `jffs2_dataflash_setup':
wbuf.c:1205: error: structure has no member named `wbuf_sem'
wbuf.c:1206: error: structure has no member named `wbuf_pagesize'
wbuf.c:1207: error: structure has no member named `wbuf_ofs'
wbuf.c:1209: error: structure has no member named `wbuf'
wbuf.c:1209: error: structure has no member named `wbuf_pagesize'
wbuf.c:1210: error: structure has no member named `wbuf'
wbuf.c:1213: error: structure has no member named `wbuf_pagesize'
wbuf.c: In function `jffs2_dataflash_cleanup':
wbuf.c:1219: error: structure has no member named `wbuf'
wbuf.c: At top level:
wbuf.c:1222: error: parse error before numeric constant
wbuf.c:1227: error: parse error before '&' token
wbuf.c:1227: warning: type defaults to `int' in declaration of `init_rwsem'
wbuf.c:1227: warning: function declaration isn't a prototype
wbuf.c:1227: warning: data definition has no type or storage class
wbuf.c:1228: error: parse error before '->' token
make[3]: ** [wbuf.o] Erro 1
make[3]: Saindo do diretório `/home/ronan/sbc/kernel/linux24/fs/jffs2'
make[2]: ** [first_rule] Erro 2
make[2]: Saindo do diretório `/home/ronan/sbc/kernel/linux24/fs/jffs2'
make[1]: ** [_subdir_jffs2] Erro 2
make[1]: Saindo do diretório `/home/ronan/sbc/kernel/linux24/fs'
make: ** [_dir_fs] Erro 2


Any ideas how can I fix this problem?

Thanks,

Ronan.

--- In   wrote:
>
> From what I understand, porting rtai to the ts-7200 was a difficult
> process.  The ones that ts provides basically work as they are.  If you
> want to use a later version you are pretty much on your own.  Of course I
> think ts has a sort of laissez faire attitude about rtai in general.
>
>  wrote on 08/01/2009 10:23:25 AM:
>
> > Thanks for you answer!
> >
> > One more question: in the RTAI project website, there is a newer
> > version, is it good to use that new version or it doesn't work?
> >
> > Thanks,
> > Ronan.
>




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
    
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU