LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Compile kernel 2.6.11-2 error (https://www.linuxquestions.org/questions/debian-26/compile-kernel-2-6-11-2-error-299602/)

subaruwrx 03-09-2005 09:48 AM

Compile kernel 2.6.11-2 error
 
Code:

  CC [M]  fs/xfs/xfs_dmops.o
In file included from fs/xfs/linux-2.6/xfs_linux.h:101,
                from fs/xfs/xfs.h:35,
                from fs/xfs/xfs_dmops.c:32:
fs/xfs/linux-2.6/xfs_cred.h: In function `capable_cred':
fs/xfs/linux-2.6/xfs_cred.h:47: warning: implicit declaration of function `return'
fs/xfs/linux-2.6/xfs_cred.h:48: warning: no return statement in function returning non-void
In file included from fs/xfs/linux-2.6/xfs_linux.h:102,
                from fs/xfs/xfs.h:35,
                from fs/xfs/xfs_dmops.c:32:
fs/xfs/linux-2.6/xfs_vnode.h: In function `vn_count':
fs/xfs/linux-2.6/xfs_vnode.h:542: warning: no return statement in function returning non-void
fs/xfs/linux-2.6/xfs_vnode.h: In function `VN_BAD':
fs/xfs/linux-2.6/xfs_vnode.h:608: error: `return' undeclared (first use in this function)
fs/xfs/linux-2.6/xfs_vnode.h:608: error: (Each undeclared identifier is reported only once
fs/xfs/linux-2.6/xfs_vnode.h:608: error: for each function it appears in.)
fs/xfs/linux-2.6/xfs_vnode.h:608: error: parse error before "is_bad_inode"
fs/xfs/linux-2.6/xfs_vnode.h:609: warning: no return statement in function returning non-void
In file included from fs/xfs/linux-2.6/xfs_buf.h:47,
                from fs/xfs/linux-2.6/xfs_linux.h:110,
                from fs/xfs/xfs.h:35,
                from fs/xfs/xfs_dmops.c:32:
include/linux/buffer_head.h: In function `buffer_uptodate':
include/linux/buffer_head.h:103: error: `return' used prior to declaration
include/linux/buffer_head.h:103: warning: no return statement in function returning non-void
include/linux/buffer_head.h: In function `buffer_dirty':
include/linux/buffer_head.h:104: error: `return' used prior to declaration
include/linux/buffer_head.h:104: warning: no return statement in function returning non-void
include/linux/buffer_head.h: In function `test_set_buffer_dirty':
include/linux/buffer_head.h:105: error: `return' undeclared (first use in this function)
include/linux/buffer_head.h:105: error: parse error before "test_and_set_bit"
include/linux/buffer_head.h:105: warning: no return statement in function returning non-void
include/linux/buffer_head.h: In function `test_clear_buffer_dirty':
include/linux/buffer_head.h:105: error: `return' undeclared (first use in this function)
include/linux/buffer_head.h:105: error: parse error before "test_and_clear_bit"
include/linux/buffer_head.h:105: warning: no return statement in function returning non-void
include/linux/buffer_head.h: In function `buffer_locked':
include/linux/buffer_head.h:106: error: `return' used prior to declaration
include/linux/buffer_head.h:106: warning: no return statement in function returning non-void
include/linux/buffer_head.h: In function `test_set_buffer_locked':
include/linux/buffer_head.h:107: error: `return' undeclared (first use in this function)
include/linux/buffer_head.h:107: error: parse error before "test_and_set_bit"
include/linux/buffer_head.h:107: warning: no return statement in function returning non-void
include/linux/buffer_head.h: In function `test_clear_buffer_locked':
include/linux/buffer_head.h:107: error: `return' undeclared (first use in this function)
include/linux/buffer_head.h:107: error: parse error before "test_and_clear_bit"
include/linux/buffer_head.h:107: warning: no return statement in function returning non-void
include/linux/buffer_head.h: In function `buffer_req':
include/linux/buffer_head.h:108: error: `return' used prior to declaration
include/linux/buffer_head.h:108: warning: no return statement in function returning non-void
include/linux/buffer_head.h: In function `test_set_buffer_req':
include/linux/buffer_head.h:109: error: `return' undeclared (first use in this function)
include/linux/buffer_head.h:109: error: parse error before "test_and_set_bit"
include/linux/buffer_head.h:109: warning: no return statement in function returning non-void
include/linux/buffer_head.h: In function `test_clear_buffer_req':
include/linux/buffer_head.h:109: error: `return' undeclared (first use in this function)
include/linux/buffer_head.h:109: error: parse error before "test_and_clear_bit"
include/linux/buffer_head.h:109: warning: no return statement in function returning non-void
include/linux/buffer_head.h: In function `buffer_mapped':
include/linux/buffer_head.h:110: error: `return' used prior to declaration
include/linux/buffer_head.h:110: warning: no return statement in function returning non-void
include/linux/buffer_head.h: In function `buffer_new':
include/linux/buffer_head.h:111: error: `return' used prior to declaration
include/linux/buffer_head.h:111: warning: no return statement in function returning non-void
include/linux/buffer_head.h: In function `buffer_async_read':
include/linux/buffer_head.h:112: error: `return' used prior to declaration
include/linux/buffer_head.h:112: warning: no return statement in function returning non-void
include/linux/buffer_head.h: In function `buffer_async_write':
include/linux/buffer_head.h:113: error: `return' used prior to declaration
include/linux/buffer_head.h:113: warning: no return statement in function returning non-void
include/linux/buffer_head.h: In function `buffer_delay':
include/linux/buffer_head.h:114: error: `return' used prior to declaration
include/linux/buffer_head.h:114: warning: no return statement in function returning non-void
include/linux/buffer_head.h: In function `buffer_boundary':
include/linux/buffer_head.h:115: error: `return' used prior to declaration
include/linux/buffer_head.h:115: warning: no return statement in function returning non-void
include/linux/buffer_head.h: In function `buffer_write_io_error':
include/linux/buffer_head.h:116: error: `return' used prior to declaration
include/linux/buffer_head.h:116: warning: no return statement in function returning non-void
include/linux/buffer_head.h: In function `buffer_ordered':
include/linux/buffer_head.h:117: error: `return' used prior to declaration
include/linux/buffer_head.h:117: warning: no return statement in function returning non-void
include/linux/buffer_head.h: In function `buffer_eopnotsupp':
include/linux/buffer_head.h:118: error: `return' used prior to declaration
include/linux/buffer_head.h:118: warning: no return statement in function returning non-void
include/linux/buffer_head.h: In function `sb_bread':
include/linux/buffer_head.h:245: error: `return' undeclared (first use in this function)
include/linux/buffer_head.h:245: error: parse error before "__bread"
include/linux/buffer_head.h:246: warning: no return statement in function returning non-void
include/linux/buffer_head.h: In function `sb_getblk':
include/linux/buffer_head.h:257: error: `return' undeclared (first use in this function)
include/linux/buffer_head.h:257: error: parse error before "__getblk"
include/linux/buffer_head.h:258: warning: no return statement in function returning non-void
include/linux/buffer_head.h: In function `sb_find_get_block':
include/linux/buffer_head.h:263: error: `return' undeclared (first use in this function)
include/linux/buffer_head.h:263: error: parse error before "__find_get_block"
include/linux/buffer_head.h:264: warning: no return statement in function returning non-void
In file included from fs/xfs/linux-2.6/xfs_linux.h:110,
                from fs/xfs/xfs.h:35,
                from fs/xfs/xfs_dmops.c:32:
fs/xfs/linux-2.6/xfs_buf.h: In function `pagebuf_iostrategy':
fs/xfs/linux-2.6/xfs_buf.h:296: error: `return' undeclared (first use in this function)
fs/xfs/linux-2.6/xfs_buf.h:296: error: parse error before "pb"
fs/xfs/linux-2.6/xfs_buf.h:297: warning: no return statement in function returning non-void
fs/xfs/linux-2.6/xfs_buf.h: In function `pagebuf_geterror':
fs/xfs/linux-2.6/xfs_buf.h:301: error: `return' undeclared (first use in this function)
fs/xfs/linux-2.6/xfs_buf.h:301: error: parse error before "pb"
fs/xfs/linux-2.6/xfs_buf.h:302: warning: no return statement in function returning non-void
fs/xfs/linux-2.6/xfs_buf.h: In function `xfs_buf_offset':
fs/xfs/linux-2.6/xfs_buf.h:458: error: `return' used prior to declaration
fs/xfs/linux-2.6/xfs_buf.h:458: error: parse error before "xfs_caddr_t"
fs/xfs/linux-2.6/xfs_buf.h:459: error: parse error before "xfs_caddr_t"
fs/xfs/linux-2.6/xfs_buf.h:460: warning: no return statement in function returning non-void
fs/xfs/linux-2.6/xfs_buf.h: In function `xfs_bawrite':
fs/xfs/linux-2.6/xfs_buf.h:504: error: `return' undeclared (first use in this function)
fs/xfs/linux-2.6/xfs_buf.h:504: error: parse error before "pagebuf_iostart"
fs/xfs/linux-2.6/xfs_buf.h:505: warning: no return statement in function returning non-void
fs/xfs/linux-2.6/xfs_buf.h: In function `XFS_bwrite':
fs/xfs/linux-2.6/xfs_buf.h:545: error: `return' undeclared (first use in this function)
fs/xfs/linux-2.6/xfs_buf.h:545: error: parse error before "error"
fs/xfs/linux-2.6/xfs_buf.h:546: warning: no return statement in function returning non-void
fs/xfs/linux-2.6/xfs_buf.h: In function `xfs_bdwrite':
fs/xfs/linux-2.6/xfs_buf.h:556: error: `return' undeclared (first use in this function)
fs/xfs/linux-2.6/xfs_buf.h:556: error: parse error before "pagebuf_iostart"
fs/xfs/linux-2.6/xfs_buf.h:557: warning: no return statement in function returning non-void
In file included from fs/xfs/xfs.h:35,
                from fs/xfs/xfs_dmops.c:32:
fs/xfs/linux-2.6/xfs_linux.h: In function `buffer_unwritten':
fs/xfs/linux-2.6/xfs_linux.h:126: error: `return' used prior to declaration
fs/xfs/linux-2.6/xfs_linux.h:126: warning: no return statement in function returning non-void
fs/xfs/linux-2.6/xfs_linux.h: In function `xfs_do_div':
fs/xfs/linux-2.6/xfs_linux.h:276: error: `return' undeclared (first use in this function)
fs/xfs/linux-2.6/xfs_linux.h:276: error: parse error before "mod"
fs/xfs/linux-2.6/xfs_linux.h:290: error: parse error before "__mod"
fs/xfs/linux-2.6/xfs_linux.h:295: error: parse error before numeric constant
fs/xfs/linux-2.6/xfs_linux.h:296: warning: no return statement in function returning non-void
fs/xfs/linux-2.6/xfs_linux.h: In function `xfs_do_mod':
fs/xfs/linux-2.6/xfs_linux.h:303: error: `return' undeclared (first use in this function)
fs/xfs/linux-2.6/xfs_linux.h:316: error: parse error before "__mod"
fs/xfs/linux-2.6/xfs_linux.h:321: error: parse error before numeric constant
fs/xfs/linux-2.6/xfs_linux.h:322: warning: no return statement in function returning non-void
fs/xfs/linux-2.6/xfs_linux.h: In function `roundup_64':
fs/xfs/linux-2.6/xfs_linux.h:368: error: `return' used prior to declaration
fs/xfs/linux-2.6/xfs_linux.h:369: warning: no return statement in function returning non-void
In file included from fs/xfs/xfs_dmops.c:37:
fs/xfs/xfs_log.h: In function `_lsn_cmp':
fs/xfs/xfs_log.h:64: error: `return' used prior to declaration
fs/xfs/xfs_log.h:69: error: parse error before numeric constant
fs/xfs/xfs_log.h:70: warning: no return statement in function returning non-void
In file included from fs/xfs/xfs_dmops.c:44:
fs/xfs/xfs_mount.h: In function `XFS_DADDR_TO_AGNO':
fs/xfs/xfs_mount.h:508: error: `return' used prior to declaration
fs/xfs/xfs_mount.h:508: error: parse error before "xfs_agnumber_t"
fs/xfs/xfs_mount.h:509: warning: no return statement in function returning non-void
fs/xfs/xfs_mount.h: In function `XFS_DADDR_TO_AGBNO':
fs/xfs/xfs_mount.h:520: error: `return' used prior to declaration
fs/xfs/xfs_mount.h:520: error: parse error before "xfs_agblock_t"
fs/xfs/xfs_mount.h:521: warning: no return statement in function returning non-void
make[2]: *** [fs/xfs/xfs_dmops.o] Error 1
make[1]: *** [fs/xfs] Error 2
make: *** [fs] Error 2
revenant@debian:/usr/src/linux$

Any idea why?

btw, I'm installing cedega4.2 on this new kernel, hopefully no problem. But till now I have yet to be able to play my cs via steam.

kostian 03-09-2005 04:40 PM

are you compiling from a clean source? also execute make mrproper && make distclean from the source tree. checking md5sum of the tarball wouldnt hurt to.
and maybe try excluding xfs support from the kernel(if you dont use it ofcourse)

subaruwrx 03-10-2005 01:10 AM

Quote:

Originally posted by kostian
are you compiling from a clean source? also execute make mrproper && make distclean from the source tree. checking md5sum of the tarball wouldnt hurt to.
and maybe try excluding xfs support from the kernel(if you dont use it ofcourse)

Yes, I'm compiling from a clean source.


All times are GMT -5. The time now is 12:37 PM.