LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Newbie kernel compile error (https://www.linuxquestions.org/questions/linux-newbie-8/newbie-kernel-compile-error-178780/)

Reefcrazed 05-06-2004 10:45 PM

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

Andrew Benton 05-07-2004 02:59 AM

What error message? Those look like warnings to me.

Kroppus 05-07-2004 04:00 AM

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*

dalek 05-07-2004 07:35 AM

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. :jawa:

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.

:D :D :D


All times are GMT -5. The time now is 12:49 AM.