LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-26-2012, 11:31 AM   #1
abhishekgit
Member
 
Registered: Jan 2012
Location: India
Distribution: Ubuntu, Gentoo, Fedora, Rhel5,openSUSE
Posts: 165

Rep: Reputation: 12
Output of make while i build kernel 2.4.4


Hello again,
Ncurses is finally serving the purpose. $make menuconfig is working fine. i have enabled loadble module support through it. I want to build it now using make. kernel version is 2.4.4 . I am making it in su. I am using sabayon 8 dual booted with win 7. Output of unama -a is

Quote:
Linux sabayon 3.2.0-sabayon #1 SMP Sat Feb 11 12:54:37 UTC 2012 i686 Intel(R) Core(TM)2 Duo CPU T6600 @ 2.20GHz GenuineIntel GNU/Linux
As i run make, this is what i get.

Quote:
make: *** [init/main.o] Error 1
This is the last line of the error message. The error list is very long(like 100 lines). So cannot post here. Kindly help.
 
Old 03-26-2012, 12:16 PM   #2
abhishekgit
Member
 
Registered: Jan 2012
Location: India
Distribution: Ubuntu, Gentoo, Fedora, Rhel5,openSUSE
Posts: 165

Original Poster
Rep: Reputation: 12
output of make

Code:
gcc -D__KERNEL__ -I/home/abhishek/linuxkernel/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686   -c -o init/main.o init/main.c
In file included from /home/abhishek/linuxkernel/linux/include/linux/wait.h:19:0,
                 from /home/abhishek/linuxkernel/linux/include/linux/fs.h:12,
                 from /home/abhishek/linuxkernel/linux/include/linux/capability.h:17,
                 from /home/abhishek/linuxkernel/linux/include/linux/binfmts.h:5,
                 from /home/abhishek/linuxkernel/linux/include/linux/sched.h:9,
                 from /home/abhishek/linuxkernel/linux/include/linux/mm.h:4,
                 from /home/abhishek/linuxkernel/linux/include/linux/slab.h:14,
                 from /home/abhishek/linuxkernel/linux/include/linux/proc_fs.h:5,
                 from init/main.c:15:
/home/abhishek/linuxkernel/linux/include/asm/processor.h:72:26: error: array type has incomplete element type
In file included from /home/abhishek/linuxkernel/linux/include/linux/fs.h:296:0,
                 from /home/abhishek/linuxkernel/linux/include/linux/capability.h:17,
                 from /home/abhishek/linuxkernel/linux/include/linux/binfmts.h:5,
                 from /home/abhishek/linuxkernel/linux/include/linux/sched.h:9,
                 from /home/abhishek/linuxkernel/linux/include/linux/mm.h:4,
                 from /home/abhishek/linuxkernel/linux/include/linux/slab.h:14,
                 from /home/abhishek/linuxkernel/linux/include/linux/proc_fs.h:5,
                 from init/main.c:15:
/home/abhishek/linuxkernel/linux/include/linux/ncp_fs_i.h:26:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp_fs_i.h:27:2: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes]
In file included from /home/abhishek/linuxkernel/linux/include/linux/ncp_mount.h:12:0,
                 from /home/abhishek/linuxkernel/linux/include/linux/ncp_fs_sb.h:12,
                 from /home/abhishek/linuxkernel/linux/include/linux/fs.h:638,
                 from /home/abhishek/linuxkernel/linux/include/linux/capability.h:17,
                 from /home/abhishek/linuxkernel/linux/include/linux/binfmts.h:5,
                 from /home/abhishek/linuxkernel/linux/include/linux/sched.h:9,
                 from /home/abhishek/linuxkernel/linux/include/linux/mm.h:4,
                 from /home/abhishek/linuxkernel/linux/include/linux/slab.h:14,
                 from /home/abhishek/linuxkernel/linux/include/linux/proc_fs.h:5,
                 from init/main.c:15:
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:24:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:25:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:26:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:27:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:28:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:29:2: warning: ‘packed’ attribute ignored for field of type ‘__u8[]’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:37:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:38:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:39:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:40:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:41:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:42:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:43:2: warning: ‘packed’ attribute ignored for field of type ‘__u8[]’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:137:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:138:2: warning: ‘packed’ attribute ignored for field of type ‘__u8[256]’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:174:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
In file included from /home/abhishek/linuxkernel/linux/include/asm/smp.h:17:0,
                 from /home/abhishek/linuxkernel/linux/include/linux/smp.h:14,
                 from /home/abhishek/linuxkernel/linux/include/linux/sched.h:23,
                 from /home/abhishek/linuxkernel/linux/include/linux/mm.h:4,
                 from /home/abhishek/linuxkernel/linux/include/linux/slab.h:14,
                 from /home/abhishek/linuxkernel/linux/include/linux/proc_fs.h:5,
                 from init/main.c:15:
/home/abhishek/linuxkernel/linux/include/asm/mpspec.h:79:2: warning: ‘packed’ attribute ignored for field of type ‘unsigned char[6]’ [-Wattributes]
In file included from /home/abhishek/linuxkernel/linux/include/linux/sched.h:23:0,
                 from /home/abhishek/linuxkernel/linux/include/linux/mm.h:4,
                 from /home/abhishek/linuxkernel/linux/include/linux/slab.h:14,
                 from /home/abhishek/linuxkernel/linux/include/linux/proc_fs.h:5,
                 from init/main.c:15:
/home/abhishek/linuxkernel/linux/include/linux/smp.h:29:13: error: conflicting types for ‘smp_send_reschedule’
/home/abhishek/linuxkernel/linux/include/asm/smp.h:39:13: note: previous declaration of ‘smp_send_reschedule’ was here
In file included from /home/abhishek/linuxkernel/linux/include/linux/unistd.h:9:0,
                 from init/main.c:17:
/home/abhishek/linuxkernel/linux/include/asm/unistd.h:345:15: warning: conflicting types for built-in function ‘_exit’ [enabled by default]
In file included from /home/abhishek/linuxkernel/linux/include/linux/netdevice.h:146:0,
                 from /home/abhishek/linuxkernel/linux/include/net/ip.h:29,
                 from /home/abhishek/linuxkernel/linux/include/net/checksum.h:31,
                 from /home/abhishek/linuxkernel/linux/include/linux/raid/md.h:34,
                 from init/main.c:24:
/home/abhishek/linuxkernel/linux/include/linux/skbuff.h: In function ‘__skb_pull’:
/home/abhishek/linuxkernel/linux/include/linux/skbuff.h:828:2: warning: pointer targets in return differ in signedness [-Wpointer-sign]
/home/abhishek/linuxkernel/linux/include/linux/skbuff.h: In function ‘skb_pull’:
/home/abhishek/linuxkernel/linux/include/linux/skbuff.h:846:2: warning: pointer targets in return differ in signedness [-Wpointer-sign]
/home/abhishek/linuxkernel/linux/include/linux/skbuff.h: In function ‘__pskb_pull’:
/home/abhishek/linuxkernel/linux/include/linux/skbuff.h:857:2: warning: pointer targets in return differ in signedness [-Wpointer-sign]
/home/abhishek/linuxkernel/linux/include/linux/skbuff.h: In function ‘pskb_pull’:
/home/abhishek/linuxkernel/linux/include/linux/skbuff.h:864:2: warning: pointer targets in return differ in signedness [-Wpointer-sign]
In file included from /home/abhishek/linuxkernel/linux/include/net/sock.h:87:0,
                 from /home/abhishek/linuxkernel/linux/include/net/ip.h:39,
                 from /home/abhishek/linuxkernel/linux/include/net/checksum.h:31,
                 from /home/abhishek/linuxkernel/linux/include/linux/raid/md.h:34,
                 from init/main.c:24:
/home/abhishek/linuxkernel/linux/include/linux/atalk.h: At top level:
/home/abhishek/linuxkernel/linux/include/linux/atalk.h:140:2: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/atalk.h:141:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/atalk.h:143:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/atalk.h:144:2: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/atalk.h:145:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/atalk.h:147:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
In file included from /home/abhishek/linuxkernel/linux/include/net/checksum.h:33:0,
                 from /home/abhishek/linuxkernel/linux/include/linux/raid/md.h:34,
                 from init/main.c:24:
/home/abhishek/linuxkernel/linux/include/asm/checksum.h: In function ‘ip_fast_csum’:
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:72:23: warning: missing terminating " character [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:72:2: error: missing terminating " character
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:73:6: error: expected string literal before ‘movl’
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:75:10: error: invalid suffix "f" on integer constant
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:82:10: error: invalid suffix "b" on integer constant
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:90:6: warning: missing terminating " character [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:90:6: error: missing terminating " character
/home/abhishek/linuxkernel/linux/include/asm/checksum.h: In function ‘csum_fold’:
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:105:10: warning: missing terminating " character [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:105:2: error: missing terminating " character
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:106:3: error: expected string literal before ‘addl’
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:108:3: warning: missing terminating " character [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:108:3: error: missing terminating " character
/home/abhishek/linuxkernel/linux/include/asm/checksum.h: In function ‘csum_tcpudp_nofold’:
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:121:13: warning: missing terminating " character [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:121:5: error: missing terminating " character
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:122:2: error: expected string literal before ‘addl’
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:126:2: warning: missing terminating " character [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:126:2: error: missing terminating " character
/home/abhishek/linuxkernel/linux/include/asm/checksum.h: In function ‘csum_ipv6_magic’:
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:161:10: warning: missing terminating " character [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:161:2: error: missing terminating " character
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:162:3: error: expected string literal before ‘addl’
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:173:3: warning: missing terminating " character [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:173:3: error: missing terminating " character
init/main.c: In function ‘start_kernel’:
init/main.c:522:2: warning: format not a string literal and no format arguments [-Wformat-security]
init/main.c: At top level:
/home/abhishek/linuxkernel/linux/include/linux/raid/md_k.h:314:2: warning: ‘up’ is static but used in inline function ‘unlock_mddev’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/raid/md_k.h:309:9: warning: ‘down_interruptible’ is static but used in inline function ‘lock_mddev’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/raid/md_compatible.h:74:24: warning: ‘get_current’ is static but used in inline function ‘md_init_signals’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/raid/md_compatible.h:74:9: warning: ‘siginitsetinv’ is static but used in inline function ‘md_init_signals’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/raid/md_compatible.h:73:9: warning: ‘get_current’ is static but used in inline function ‘md_init_signals’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/raid/md_compatible.h:67:15: warning: ‘get_current’ is static but used in inline function ‘md_flush_signals’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/raid/md_compatible.h:67:2: warning: ‘spin_unlock’ is static but used in inline function ‘md_flush_signals’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/raid/md_compatible.h:66:16: warning: ‘get_current’ is static but used in inline function ‘md_flush_signals’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/raid/md_compatible.h:65:13: warning: ‘get_current’ is static but used in inline function ‘md_flush_signals’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/raid/md_compatible.h:65:2: warning: ‘spin_lock’ is static but used in inline function ‘md_flush_signals’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/raid/md_compatible.h:56:9: warning: ‘capable’ is static but used in inline function ‘md_capable_admin’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/raid/md_compatible.h:34:9: warning: ‘variable_test_bit’ is static but used in inline function ‘md_cpu_has_mmx’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/raid/md_compatible.h:34:9: warning: ‘constant_test_bit’ is static but used in inline function ‘md_cpu_has_mmx’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/locks.h:64:6: warning: ‘waitqueue_active’ is static but used in inline function ‘unlock_super’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/locks.h:33:6: warning: ‘waitqueue_active’ is static but used in inline function ‘unlock_buffer’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/locks.h:31:2: warning: ‘clear_bit’ is static but used in inline function ‘unlock_buffer’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/locks.h:25:9: warning: ‘test_and_set_bit’ is static but used in inline function ‘lock_buffer’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/locks.h:19:6: warning: ‘variable_test_bit’ is static but used in inline function ‘wait_on_buffer’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/locks.h:19:6: warning: ‘constant_test_bit’ is static but used in inline function ‘wait_on_buffer’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/pagemap.h:96:6: warning: ‘variable_test_bit’ is static but used in inline function ‘wait_on_page’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/pagemap.h:96:6: warning: ‘constant_test_bit’ is static but used in inline function ‘wait_on_page’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/uaccess.h:63:9: warning: ‘get_current’ is static but used in inline function ‘verify_area’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/rtnetlink.h:543:12: warning: ‘strlen’ is static but used in inline function ‘rtattr_strcmp’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/netlink.h:136:26: warning: ‘skb_put’ is static but used in inline function ‘__nlmsg_put’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/net/inetpeer.h:62:2: warning: ‘get_current’ is static but used in inline function ‘inet_getid’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/net/inetpeer.h:62:2: warning: ‘spin_unlock’ is static but used in inline function ‘inet_getid’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/net/inetpeer.h:60:2: warning: ‘spin_lock’ is static but used in inline function ‘inet_getid’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/net/inetpeer.h:60:2: warning: ‘get_current’ is static but used in inline function ‘inet_getid’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/net/inetpeer.h:51:2: warning: ‘get_current’ is static but used in inline function ‘inet_putpeer’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/net/inetpeer.h:51:2: warning: ‘spin_unlock’ is static but used in inline function ‘inet_putpeer’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/net/inetpeer.h:44:6: warning: ‘atomic_dec_and_test’ is static but used in inline function ‘inet_putpeer’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/net/inetpeer.h:43:2: warning: ‘spin_lock’ is static but used in inline function ‘inet_putpeer’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/net/inetpeer.h:43:2: warning: ‘get_current’ is static but used in inline function ‘inet_putpeer’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/inetdevice.h:160:14: warning: ‘ffz’ is static but used in inline function ‘inet_mask_len’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/inetdevice.h:140:6: warning: ‘atomic_dec_and_test’ is static but used in inline function ‘in_dev_put’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/inetdevice.h:124:3: warning: ‘atomic_inc’ is static but used in inline function ‘in_dev_get’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/inetdevice.h:121:2: warning: ‘read_lock’ is static but used in inline function ‘in_dev_get’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:123:2: warning: ‘get_current’ is static but used in inline function ‘pte_free_fast’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:122:2: warning: ‘get_current’ is static but used in inline function ‘pte_free_fast’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:121:42: warning: ‘get_current’ is static but used in inline function ‘pte_free_fast’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:81:2: warning: ‘get_current’ is static but used in inline function ‘free_pgd_fast’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:80:2: warning: ‘get_current’ is static but used in inline function ‘free_pgd_fast’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:79:42: warning: ‘get_current’ is static but used in inline function ‘free_pgd_fast’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:71:3: warning: ‘get_current’ is static but used in inline function ‘get_pgd_fast’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:69:3: warning: ‘get_current’ is static but used in inline function ‘get_pgd_fast’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:68:13: warning: ‘get_current’ is static but used in inline function ‘get_pgd_fast’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:57:3: warning: ‘__memcpy’ is static but used in inline function ‘get_pgd_slow’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:57:3: warning: ‘__constant_memcpy’ is static but used in inline function ‘get_pgd_slow’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:56:3: warning: ‘__memset_generic’ is static but used in inline function ‘get_pgd_slow’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:56:3: warning: ‘__memset_generic’ is static but used in inline function ‘get_pgd_slow’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:56:3: warning: ‘__constant_c_memset’ is static but used in inline function ‘get_pgd_slow’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:56:3: warning: ‘__constant_c_and_count_memset’ is static but used in inline function ‘get_pgd_slow’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/smplock.h:65:3: warning: ‘spin_unlock’ is static but used in inline function ‘unlock_kernel’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/smplock.h:64:8: warning: ‘get_current’ is static but used in inline function ‘unlock_kernel’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/smplock.h:61:6: warning: ‘get_current’ is static but used in inline function ‘unlock_kernel’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/smplock.h:47:3: warning: ‘spin_lock’ is static but used in inline function ‘lock_kernel’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/smplock.h:46:9: warning: ‘get_current’ is static but used in inline function ‘lock_kernel’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/siginfo.h:225:3: warning: ‘__memcpy’ is static but used in inline function ‘copy_siginfo’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/siginfo.h:225:3: warning: ‘__constant_memcpy’ is static but used in inline function ‘copy_siginfo’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/siginfo.h:222:3: warning: ‘__memcpy’ is static but used in inline function ‘copy_siginfo’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/siginfo.h:222:3: warning: ‘__constant_memcpy’ is static but used in inline function ‘copy_siginfo’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/apic.h:29:2: warning: ‘__xchg’ is static but used in inline function ‘apic_write_atomic’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/byteorder/swab.h:154:2: warning: ‘___arch__swab32’ is static but used in inline function ‘__swab32s’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/byteorder/swab.h:150:9: warning: ‘___arch__swab32’ is static but used in inline function ‘__swab32p’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/byteorder/swab.h:146:9: warning: ‘___arch__swab32’ is static but used in inline function ‘__fswab32’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/byteorder/swab.h:141:2: warning: ‘___arch__swab16’ is static but used in inline function ‘__swab16s’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/byteorder/swab.h:137:9: warning: ‘___arch__swab16’ is static but used in inline function ‘__swab16p’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/byteorder/swab.h:133:9: warning: ‘___arch__swab16’ is static but used in inline function ‘__fswab16’ which is not static [enabled by default]
make: *** [init/main.o] Error 1
sabayon linux #
 
Old 03-26-2012, 12:28 PM   #3
abhishekgit
Member
 
Registered: Jan 2012
Location: India
Distribution: Ubuntu, Gentoo, Fedora, Rhel5,openSUSE
Posts: 165

Original Poster
Rep: Reputation: 12
Output of make while i build kernel 2.4.4

I have configured kernel version 2.4.4 using
Code:
$ make menuconfig
I am running sabayon 8.
This is the output of make.

Code:
gcc -D__KERNEL__ -I/home/abhishek/linuxkernel/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686   -c -o init/main.o init/main.c
In file included from /home/abhishek/linuxkernel/linux/include/linux/wait.h:19:0,
                 from /home/abhishek/linuxkernel/linux/include/linux/fs.h:12,
                 from /home/abhishek/linuxkernel/linux/include/linux/capability.h:17,
                 from /home/abhishek/linuxkernel/linux/include/linux/binfmts.h:5,
                 from /home/abhishek/linuxkernel/linux/include/linux/sched.h:9,
                 from /home/abhishek/linuxkernel/linux/include/linux/mm.h:4,
                 from /home/abhishek/linuxkernel/linux/include/linux/slab.h:14,
                 from /home/abhishek/linuxkernel/linux/include/linux/proc_fs.h:5,
                 from init/main.c:15:
/home/abhishek/linuxkernel/linux/include/asm/processor.h:72:26: error: array type has incomplete element type
In file included from /home/abhishek/linuxkernel/linux/include/linux/fs.h:296:0,
                 from /home/abhishek/linuxkernel/linux/include/linux/capability.h:17,
                 from /home/abhishek/linuxkernel/linux/include/linux/binfmts.h:5,
                 from /home/abhishek/linuxkernel/linux/include/linux/sched.h:9,
                 from /home/abhishek/linuxkernel/linux/include/linux/mm.h:4,
                 from /home/abhishek/linuxkernel/linux/include/linux/slab.h:14,
                 from /home/abhishek/linuxkernel/linux/include/linux/proc_fs.h:5,
                 from init/main.c:15:
/home/abhishek/linuxkernel/linux/include/linux/ncp_fs_i.h:26:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp_fs_i.h:27:2: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes]
In file included from /home/abhishek/linuxkernel/linux/include/linux/ncp_mount.h:12:0,
                 from /home/abhishek/linuxkernel/linux/include/linux/ncp_fs_sb.h:12,
                 from /home/abhishek/linuxkernel/linux/include/linux/fs.h:638,
                 from /home/abhishek/linuxkernel/linux/include/linux/capability.h:17,
                 from /home/abhishek/linuxkernel/linux/include/linux/binfmts.h:5,
                 from /home/abhishek/linuxkernel/linux/include/linux/sched.h:9,
                 from /home/abhishek/linuxkernel/linux/include/linux/mm.h:4,
                 from /home/abhishek/linuxkernel/linux/include/linux/slab.h:14,
                 from /home/abhishek/linuxkernel/linux/include/linux/proc_fs.h:5,
                 from init/main.c:15:
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:24:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:25:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:26:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:27:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:28:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:29:2: warning: ‘packed’ attribute ignored for field of type ‘__u8[]’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:37:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:38:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:39:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:40:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:41:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:42:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:43:2: warning: ‘packed’ attribute ignored for field of type ‘__u8[]’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:137:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:138:2: warning: ‘packed’ attribute ignored for field of type ‘__u8[256]’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/ncp.h:174:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
In file included from /home/abhishek/linuxkernel/linux/include/asm/smp.h:17:0,
                 from /home/abhishek/linuxkernel/linux/include/linux/smp.h:14,
                 from /home/abhishek/linuxkernel/linux/include/linux/sched.h:23,
                 from /home/abhishek/linuxkernel/linux/include/linux/mm.h:4,
                 from /home/abhishek/linuxkernel/linux/include/linux/slab.h:14,
                 from /home/abhishek/linuxkernel/linux/include/linux/proc_fs.h:5,
                 from init/main.c:15:
/home/abhishek/linuxkernel/linux/include/asm/mpspec.h:79:2: warning: ‘packed’ attribute ignored for field of type ‘unsigned char[6]’ [-Wattributes]
In file included from /home/abhishek/linuxkernel/linux/include/linux/sched.h:23:0,
                 from /home/abhishek/linuxkernel/linux/include/linux/mm.h:4,
                 from /home/abhishek/linuxkernel/linux/include/linux/slab.h:14,
                 from /home/abhishek/linuxkernel/linux/include/linux/proc_fs.h:5,
                 from init/main.c:15:
/home/abhishek/linuxkernel/linux/include/linux/smp.h:29:13: error: conflicting types for ‘smp_send_reschedule’
/home/abhishek/linuxkernel/linux/include/asm/smp.h:39:13: note: previous declaration of ‘smp_send_reschedule’ was here
In file included from /home/abhishek/linuxkernel/linux/include/linux/unistd.h:9:0,
                 from init/main.c:17:
/home/abhishek/linuxkernel/linux/include/asm/unistd.h:345:15: warning: conflicting types for built-in function ‘_exit’ [enabled by default]
In file included from /home/abhishek/linuxkernel/linux/include/linux/netdevice.h:146:0,
                 from /home/abhishek/linuxkernel/linux/include/net/ip.h:29,
                 from /home/abhishek/linuxkernel/linux/include/net/checksum.h:31,
                 from /home/abhishek/linuxkernel/linux/include/linux/raid/md.h:34,
                 from init/main.c:24:
/home/abhishek/linuxkernel/linux/include/linux/skbuff.h: In function ‘__skb_pull’:
/home/abhishek/linuxkernel/linux/include/linux/skbuff.h:828:2: warning: pointer targets in return differ in signedness [-Wpointer-sign]
/home/abhishek/linuxkernel/linux/include/linux/skbuff.h: In function ‘skb_pull’:
/home/abhishek/linuxkernel/linux/include/linux/skbuff.h:846:2: warning: pointer targets in return differ in signedness [-Wpointer-sign]
/home/abhishek/linuxkernel/linux/include/linux/skbuff.h: In function ‘__pskb_pull’:
/home/abhishek/linuxkernel/linux/include/linux/skbuff.h:857:2: warning: pointer targets in return differ in signedness [-Wpointer-sign]
/home/abhishek/linuxkernel/linux/include/linux/skbuff.h: In function ‘pskb_pull’:
/home/abhishek/linuxkernel/linux/include/linux/skbuff.h:864:2: warning: pointer targets in return differ in signedness [-Wpointer-sign]
In file included from /home/abhishek/linuxkernel/linux/include/net/sock.h:87:0,
                 from /home/abhishek/linuxkernel/linux/include/net/ip.h:39,
                 from /home/abhishek/linuxkernel/linux/include/net/checksum.h:31,
                 from /home/abhishek/linuxkernel/linux/include/linux/raid/md.h:34,
                 from init/main.c:24:
/home/abhishek/linuxkernel/linux/include/linux/atalk.h: At top level:
/home/abhishek/linuxkernel/linux/include/linux/atalk.h:140:2: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/atalk.h:141:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/atalk.h:143:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/atalk.h:144:2: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/atalk.h:145:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
/home/abhishek/linuxkernel/linux/include/linux/atalk.h:147:2: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes]
In file included from /home/abhishek/linuxkernel/linux/include/net/checksum.h:33:0,
                 from /home/abhishek/linuxkernel/linux/include/linux/raid/md.h:34,
                 from init/main.c:24:
/home/abhishek/linuxkernel/linux/include/asm/checksum.h: In function ‘ip_fast_csum’:
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:72:23: warning: missing terminating " character [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:72:2: error: missing terminating " character
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:73:6: error: expected string literal before ‘movl’
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:75:10: error: invalid suffix "f" on integer constant
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:82:10: error: invalid suffix "b" on integer constant
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:90:6: warning: missing terminating " character [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:90:6: error: missing terminating " character
/home/abhishek/linuxkernel/linux/include/asm/checksum.h: In function ‘csum_fold’:
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:105:10: warning: missing terminating " character [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:105:2: error: missing terminating " character
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:106:3: error: expected string literal before ‘addl’
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:108:3: warning: missing terminating " character [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:108:3: error: missing terminating " character
/home/abhishek/linuxkernel/linux/include/asm/checksum.h: In function ‘csum_tcpudp_nofold’:
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:121:13: warning: missing terminating " character [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:121:5: error: missing terminating " character
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:122:2: error: expected string literal before ‘addl’
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:126:2: warning: missing terminating " character [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:126:2: error: missing terminating " character
/home/abhishek/linuxkernel/linux/include/asm/checksum.h: In function ‘csum_ipv6_magic’:
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:161:10: warning: missing terminating " character [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:161:2: error: missing terminating " character
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:162:3: error: expected string literal before ‘addl’
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:173:3: warning: missing terminating " character [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/checksum.h:173:3: error: missing terminating " character
init/main.c: In function ‘start_kernel’:
init/main.c:522:2: warning: format not a string literal and no format arguments [-Wformat-security]
init/main.c: At top level:
/home/abhishek/linuxkernel/linux/include/linux/raid/md_k.h:314:2: warning: ‘up’ is static but used in inline function ‘unlock_mddev’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/raid/md_k.h:309:9: warning: ‘down_interruptible’ is static but used in inline function ‘lock_mddev’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/raid/md_compatible.h:74:24: warning: ‘get_current’ is static but used in inline function ‘md_init_signals’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/raid/md_compatible.h:74:9: warning: ‘siginitsetinv’ is static but used in inline function ‘md_init_signals’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/raid/md_compatible.h:73:9: warning: ‘get_current’ is static but used in inline function ‘md_init_signals’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/raid/md_compatible.h:67:15: warning: ‘get_current’ is static but used in inline function ‘md_flush_signals’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/raid/md_compatible.h:67:2: warning: ‘spin_unlock’ is static but used in inline function ‘md_flush_signals’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/raid/md_compatible.h:66:16: warning: ‘get_current’ is static but used in inline function ‘md_flush_signals’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/raid/md_compatible.h:65:13: warning: ‘get_current’ is static but used in inline function ‘md_flush_signals’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/raid/md_compatible.h:65:2: warning: ‘spin_lock’ is static but used in inline function ‘md_flush_signals’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/raid/md_compatible.h:56:9: warning: ‘capable’ is static but used in inline function ‘md_capable_admin’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/raid/md_compatible.h:34:9: warning: ‘variable_test_bit’ is static but used in inline function ‘md_cpu_has_mmx’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/raid/md_compatible.h:34:9: warning: ‘constant_test_bit’ is static but used in inline function ‘md_cpu_has_mmx’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/locks.h:64:6: warning: ‘waitqueue_active’ is static but used in inline function ‘unlock_super’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/locks.h:33:6: warning: ‘waitqueue_active’ is static but used in inline function ‘unlock_buffer’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/locks.h:31:2: warning: ‘clear_bit’ is static but used in inline function ‘unlock_buffer’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/locks.h:25:9: warning: ‘test_and_set_bit’ is static but used in inline function ‘lock_buffer’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/locks.h:19:6: warning: ‘variable_test_bit’ is static but used in inline function ‘wait_on_buffer’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/locks.h:19:6: warning: ‘constant_test_bit’ is static but used in inline function ‘wait_on_buffer’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/pagemap.h:96:6: warning: ‘variable_test_bit’ is static but used in inline function ‘wait_on_page’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/pagemap.h:96:6: warning: ‘constant_test_bit’ is static but used in inline function ‘wait_on_page’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/uaccess.h:63:9: warning: ‘get_current’ is static but used in inline function ‘verify_area’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/rtnetlink.h:543:12: warning: ‘strlen’ is static but used in inline function ‘rtattr_strcmp’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/netlink.h:136:26: warning: ‘skb_put’ is static but used in inline function ‘__nlmsg_put’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/net/inetpeer.h:62:2: warning: ‘get_current’ is static but used in inline function ‘inet_getid’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/net/inetpeer.h:62:2: warning: ‘spin_unlock’ is static but used in inline function ‘inet_getid’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/net/inetpeer.h:60:2: warning: ‘spin_lock’ is static but used in inline function ‘inet_getid’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/net/inetpeer.h:60:2: warning: ‘get_current’ is static but used in inline function ‘inet_getid’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/net/inetpeer.h:51:2: warning: ‘get_current’ is static but used in inline function ‘inet_putpeer’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/net/inetpeer.h:51:2: warning: ‘spin_unlock’ is static but used in inline function ‘inet_putpeer’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/net/inetpeer.h:44:6: warning: ‘atomic_dec_and_test’ is static but used in inline function ‘inet_putpeer’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/net/inetpeer.h:43:2: warning: ‘spin_lock’ is static but used in inline function ‘inet_putpeer’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/net/inetpeer.h:43:2: warning: ‘get_current’ is static but used in inline function ‘inet_putpeer’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/inetdevice.h:160:14: warning: ‘ffz’ is static but used in inline function ‘inet_mask_len’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/inetdevice.h:140:6: warning: ‘atomic_dec_and_test’ is static but used in inline function ‘in_dev_put’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/inetdevice.h:124:3: warning: ‘atomic_inc’ is static but used in inline function ‘in_dev_get’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/inetdevice.h:121:2: warning: ‘read_lock’ is static but used in inline function ‘in_dev_get’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:123:2: warning: ‘get_current’ is static but used in inline function ‘pte_free_fast’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:122:2: warning: ‘get_current’ is static but used in inline function ‘pte_free_fast’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:121:42: warning: ‘get_current’ is static but used in inline function ‘pte_free_fast’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:81:2: warning: ‘get_current’ is static but used in inline function ‘free_pgd_fast’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:80:2: warning: ‘get_current’ is static but used in inline function ‘free_pgd_fast’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:79:42: warning: ‘get_current’ is static but used in inline function ‘free_pgd_fast’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:71:3: warning: ‘get_current’ is static but used in inline function ‘get_pgd_fast’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:69:3: warning: ‘get_current’ is static but used in inline function ‘get_pgd_fast’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:68:13: warning: ‘get_current’ is static but used in inline function ‘get_pgd_fast’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:57:3: warning: ‘__memcpy’ is static but used in inline function ‘get_pgd_slow’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:57:3: warning: ‘__constant_memcpy’ is static but used in inline function ‘get_pgd_slow’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:56:3: warning: ‘__memset_generic’ is static but used in inline function ‘get_pgd_slow’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:56:3: warning: ‘__memset_generic’ is static but used in inline function ‘get_pgd_slow’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:56:3: warning: ‘__constant_c_memset’ is static but used in inline function ‘get_pgd_slow’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/pgalloc.h:56:3: warning: ‘__constant_c_and_count_memset’ is static but used in inline function ‘get_pgd_slow’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/smplock.h:65:3: warning: ‘spin_unlock’ is static but used in inline function ‘unlock_kernel’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/smplock.h:64:8: warning: ‘get_current’ is static but used in inline function ‘unlock_kernel’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/smplock.h:61:6: warning: ‘get_current’ is static but used in inline function ‘unlock_kernel’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/smplock.h:47:3: warning: ‘spin_lock’ is static but used in inline function ‘lock_kernel’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/smplock.h:46:9: warning: ‘get_current’ is static but used in inline function ‘lock_kernel’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/siginfo.h:225:3: warning: ‘__memcpy’ is static but used in inline function ‘copy_siginfo’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/siginfo.h:225:3: warning: ‘__constant_memcpy’ is static but used in inline function ‘copy_siginfo’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/siginfo.h:222:3: warning: ‘__memcpy’ is static but used in inline function ‘copy_siginfo’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/siginfo.h:222:3: warning: ‘__constant_memcpy’ is static but used in inline function ‘copy_siginfo’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/asm/apic.h:29:2: warning: ‘__xchg’ is static but used in inline function ‘apic_write_atomic’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/byteorder/swab.h:154:2: warning: ‘___arch__swab32’ is static but used in inline function ‘__swab32s’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/byteorder/swab.h:150:9: warning: ‘___arch__swab32’ is static but used in inline function ‘__swab32p’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/byteorder/swab.h:146:9: warning: ‘___arch__swab32’ is static but used in inline function ‘__fswab32’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/byteorder/swab.h:141:2: warning: ‘___arch__swab16’ is static but used in inline function ‘__swab16s’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/byteorder/swab.h:137:9: warning: ‘___arch__swab16’ is static but used in inline function ‘__swab16p’ which is not static [enabled by default]
/home/abhishek/linuxkernel/linux/include/linux/byteorder/swab.h:133:9: warning: ‘___arch__swab16’ is static but used in inline function ‘__fswab16’ which is not static [enabled by default]
make: *** [init/main.o] Error 1
Please help me way out. thank you.
 
Old 03-26-2012, 01:35 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Simple answer why there is no package ncurses-devel in Debian based distros: The developer packages have the Suffixes -dev, not devel. The correct package name in Ubuntu (and derived distros would be libncurses5-dev.
 
Old 03-26-2012, 01:58 PM   #5
abhishekgit
Member
 
Registered: Jan 2012
Location: India
Distribution: Ubuntu, Gentoo, Fedora, Rhel5,openSUSE
Posts: 165

Original Poster
Rep: Reputation: 12
@TobiSGD
I did not require installing ncurses explicitly in sabayon though. Menuconfig worked fine. Thanks
 
Old 03-26-2012, 02:02 PM   #6
abhishekgit
Member
 
Registered: Jan 2012
Location: India
Distribution: Ubuntu, Gentoo, Fedora, Rhel5,openSUSE
Posts: 165

Original Poster
Rep: Reputation: 12
I tried it in kernel version 3.2.13, make worked. After running
Quote:
$ make install
Output :

Quote:
sh /home/abhishek/newkernel/linux-3.2.13/arch/x86/boot/install.sh 3.2.13 arch/x86/boot/bzImage \
System.map "/boot"
After i reboot now, I cant see the newly built kernel in the list, I have dual booted so i can just see sabayon and windows 7 as usual.
 
Old 03-26-2012, 02:34 PM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Just wanted to make that clear for Debian based systems. On most source based systems (like Gentoo, Sabayon, ...) or partially source based systems (like Slackware) there is no need to explicitly install the development packages, just because they are part of the "binary" packages.
 
  


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
Build kernel errors from make newtovanilla Linux - Newbie 8 05-01-2008 09:50 AM
Build to wrong kernel (make install, etc.) Bob Jones Fedora 2 09-18-2007 02:27 AM
Build scripts say my C compiler cannot make executable output noware Linux - Software 2 06-07-2006 03:15 PM
error during make command while trying to re build kernel venkatesh111 Linux - Networking 1 04-16-2006 02:37 PM
how to make modifications to a custom kernel build? h/w Linux - Newbie 2 11-09-2003 04:47 PM


All times are GMT -5. The time now is 07:34 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration