LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 05-06-2004, 10:45 PM   #1
Reefcrazed
Member
 
Registered: May 2004
Distribution: SLES 10
Posts: 135

Rep: Reputation: 15
Newbie kernel compile error


Before you think i did not read before posting this i did. In fact for the last 4 days i have been reading FAQ after FAQ on kernel compiles. I hit 3 message boards and read past threads. This is a last resort asking for help. Well i tried to compile my kernel for the last 3 days, poorly i guess. I did it in the order.

make mrproper
make menuconfig (left everything default to start, then saved it)
make dep
make clean
make bzImage
make modules

I stopped at this point, the .err message i sent to a file looked really bad

My question is am i getting too far over my head here to figure this out ? The reason i am trying this is that alot of people say the whole reason people shift to Linux is the fact the kernel can be recompiled to run on your system and run faster. As you know i am new here and wonder if i can get by this or i need to play with something else. If anyone is interested i am going to paste the error files below this. T

INFO FOLLOWING

bzImage DUMP



make[1]: Circular /usr/src/linux-2.4.20-31.9/include/asm/smplock.h <- /usr/src/linux-2.4.20-31.9/include/linux/interrupt.h dependency dropped.
make[1]: Circular /usr/src/linux-2.4.20-31.9/include/linux/netfilter_ipv4/ip_conntrack_helper.h <- /usr/src/linux-2.4.20-31.9/include/linux/netfilter_ipv4/ip_conntrack.h dependency dropped.
dnsdomainname: Unknown host
sched.c: In function `show_state':
sched.c:1885: warning: unused variable `g'
exit.c: In function `reparent_to_init':
exit.c:226: warning: implicit declaration of function `switch_uid'
exit.c: In function `reparent_thread':
exit.c:468: warning: implicit declaration of function `group_send_sig_info'
capability.c: In function `cap_set_pg':
capability.c:86: warning: unused variable `g'
capability.c: In function `cap_set_all':
capability.c:106: warning: unused variable `g'
sys.c: In function `sys_setpriority':
sys.c:227: warning: unused variable `g'
sys.c: In function `sys_getpriority':
sys.c:287: warning: unused variable `g'
kmod.c: In function `exec_usermodehelper':
kmod.c:123: warning: implicit declaration of function `set_user'
kksymoops.c: In function `print_modules':
kksymoops.c:70: warning: unused variable `i'
amd74xx.c:389: warning: `ata66_amd74xx' defined but not used
siimage.c: In function `pdev_is_sata':
siimage.c:65: warning: control reaches end of non-void function
generic.h:150: warning: `unknown_chipset' defined but not used
md5sum: WARNING: 1 of 13 computed checksums did NOT match
md5sum: WARNING: 1 of 13 computed checksums did NOT match
filemap.c: In function `__add_to_page_cache':
filemap.c:732: warning: unused variable `flags'
vmscan.c: In function `kscand':
vmscan.c:1229: warning: unused variable `total_needscan'
vmscan.c:1230: warning: unused variable `age_faster'
vmscan.c:1231: warning: unused variable `num_zones'
page_alloc.c: In function `__alloc_pages':
page_alloc.c:603: warning: implicit declaration of function `rebalance_inactive'
page_alloc.c:604: warning: implicit declaration of function `rebalance_dirty_zone'
oom_kill.c: In function `select_bad_process':
oom_kill.c:120: warning: unused variable `g'
oom_kill.c: In function `oom_kill':
oom_kill.c:170: warning: unused variable `g'
shmem.c: In function `shmem_getpage_locked':
shmem.c:560: warning: unused variable `flags'
array.c:475: warning: `statm_pgd_range' defined but not used
proc_tty.c: In function `proc_tty_init':
proc_tty.c:183: warning: implicit declaration of function `proc_mkdir_mode'
proc_tty.c:183: warning: assignment makes pointer from integer without a cast
exec.c: In function `zap_threads':
exec.c:1220: warning: unused variable `g'
namespace.c: In function `chroot_fs_refs':
namespace.c:866: warning: unused variable `g'
namespace.c: In function `init_mount_tree':
namespace.c:988: warning: unused variable `g'
binfmt_elf.c: In function `elf_core_dump':
binfmt_elf.c:1189: warning: unused variable `g'
traps.c: In function `show_trace':
traps.c:152: warning: unsigned int format, pointer arg (arg 4)
traps.c: At top level:
traps.c:873: warning: `set_call_gate' defined but not used
vm86.c: In function `task_valid':
vm86.c:709: warning: unused variable `g'
setup.c: In function `show_cpuinfo':
setup.c:2965: warning: unused variable `phys_proc_id'
time.c:422: warning: `do_gettimeoffset_cyclone' defined but not used
dmi_scan.c: In function `dmi_decode':
dmi_scan.c:975: warning: unused variable `data'
{standard input}: Assembler messages:
{standard input}:1002: Warning: indirect lcall without `*'
{standard input}:1080: Warning: indirect lcall without `*'
{standard input}:1164: Warning: indirect lcall without `*'
{standard input}:1243: Warning: indirect lcall without `*'
{standard input}:1259: Warning: indirect lcall without `*'
{standard input}:1269: Warning: indirect lcall without `*'
{standard input}:1337: Warning: indirect lcall without `*'
{standard input}:1352: Warning: indirect lcall without `*'
{standard input}:1363: Warning: indirect lcall without `*'
{standard input}:1851: Warning: indirect lcall without `*'
{standard input}:1928: Warning: indirect lcall without `*'
{standard input}: Assembler messages:
{standard input}:248: Warning: indirect lcall without `*'
{standard input}:352: Warning: indirect lcall without `*'
init.c: In function `free_pages_init':
init.c:485: warning: implicit declaration of function `reset_highmem_zone'
delay.c:59: warning: type defaults to `int' in declaration of `__cyclone_delay'
bootsect.S: Assembler messages:
bootsect.S:239: Warning: indirect lcall without `*'
setup.S: Assembler messages:
setup.S:294: Warning: indirect lcall without `*'
Root device is (3, 3)
Boot sector 512 bytes.
Setup is 4932 bytes.
System is 1097 kB
warning: kernel is too big for standalone boot from floppy
 
Old 05-07-2004, 02:59 AM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
What error message? Those look like warnings to me.
 
Old 05-07-2004, 04:00 AM   #3
Kroppus
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Debian UNSTABLE + latest 2.6.kernel
Posts: 391

Rep: Reputation: 30
Yepps... Can't see any error messages either....
I'd try to install it and reboot. That's when you'll find out if there's some errors or not..

Keep your old kernel, you might need it.

Just to make things feel a bit better for you.
I don't know how mny times i've been recompiling kernels and so on..
Everytime i get to a new version i recompile from scratch...
Funny when you forget to add support for keyboard
*have done something with this version that maks the keyboard freeze up now and then*
 
Old 05-07-2004, 07:35 AM   #4
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 65
You left everything "default". That may not work. I have noticed that the kernels lately have Intel selected. If you have a AMD, it may not boot or be buggy.

I say that because I had a devil of a time figuring out the drivers for my IDE drive controller. It would crash during moderate/heavy drive activity. Default may not work, unless your system is really close to the ones writing the kernel stuff.

My advice, get all the info regarding your hardware. Then go through that config screen by screen taking out what you don't need and adding what you do need. It takes a while but it is worth it. I only had to do it twice after I really went through it well. I forgot the /dev file system.

You only need to do make mrproper once. After that you can just start with make dep and continue on. The 2.6 kernel compiles really fast after the first time. 2.4 seems to start from scratch or something.

Hope that halps a bit.

 
  


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
newbie Kernel compile problem begining Linux - Newbie 11 08-05-2005 02:12 AM
compile kernel help for newbie gazza Linux - Software 0 07-07-2004 06:37 PM
Newbie emacs compile error neilcpp Programming 2 02-08-2004 05:33 AM
newbie wants to compile new kernel taoweijia Linux - Newbie 2 01-30-2004 12:37 PM
newbie ./configure compile error Gumz Linux - Newbie 1 11-14-2003 02:31 AM


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

Main Menu
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