LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 03-09-2005, 10:48 AM   #1
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Rep: Reputation: 30
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.
 
Old 03-09-2005, 05:40 PM   #2
kostian
Member
 
Registered: Jul 2004
Location: LT
Posts: 150

Rep: Reputation: 15
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)
 
Old 03-10-2005, 02:10 AM   #3
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel compile error Navyblue Linux - Newbie 20 08-01-2005 11:53 PM
Error during the kernel (2.6.10) compile. Whynot Debian 1 03-03-2005 08:34 PM
error 2 trying to compile 2.4 kernel TonyJ Fedora 2 09-15-2004 08:51 PM
Kernel 2.6.4 compile error kkiedrowski Slackware 3 04-30-2004 10:37 AM
Kernel compile error theabyyss Linux - General 4 04-08-2002 05:36 AM


All times are GMT -5. The time now is 08:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration