OK, tried it, twice, still doesn't wan't to compile the second time. Followed your instructions, twice. Then I deleted the directory, untarred again, reconfigured the kernel from scratch, made it the first pass. then it would not recompile after I ran 'make xconfig', saved, and tried to recompile with 'make install'. then I ran 'make mrproper', 'make xconfig', 'make dep', make install ----- broke again with the following perplexing errors. all I can tell for sure is that the compiler doewn't seem to have a definition for FASTCALL. thank you for your input. Fred ______________________________________________________________ [root@bits linux]# make install scripts/split-include include/linux/autoconf.h include/config gcc -D__KERNEL__ -I/b2/sw/linux-2.4.9/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -c -o init/main.o init/main.c In file included from /b2/sw/linux-2.4.9/include/linux/fs.h:19, from /b2/sw/linux-2.4.9/include/linux/capability.h:17, from /b2/sw/linux-2.4.9/include/linux/binfmts.h:5, from /b2/sw/linux-2.4.9/include/linux/sched.h:9, from /b2/sw/linux-2.4.9/include/linux/mm.h:4, from /b2/sw/linux-2.4.9/include/linux/slab.h:14, from /b2/sw/linux-2.4.9/include/linux/proc_fs.h:5, from init/main.c:15: /b2/sw/linux-2.4.9/include/linux/dcache.h: In function `dget': /b2/sw/linux-2.4.9/include/linux/dcache.h:244: warning: implicit declaration of function `printk' In file included from /b2/sw/linux-2.4.9/include/asm/semaphore.h:39, from /b2/sw/linux-2.4.9/include/linux/fs.h:198, from /b2/sw/linux-2.4.9/include/linux/capability.h:17, from /b2/sw/linux-2.4.9/include/linux/binfmts.h:5, from /b2/sw/linux-2.4.9/include/linux/sched.h:9, from /b2/sw/linux-2.4.9/include/linux/mm.h:4, from /b2/sw/linux-2.4.9/include/linux/slab.h:14, from /b2/sw/linux-2.4.9/include/linux/proc_fs.h:5, from init/main.c:15: /b2/sw/linux-2.4.9/include/asm/system.h: At top level: /b2/sw/linux-2.4.9/include/asm/system.h:12: parse error before `(' In file included from /b2/sw/linux-2.4.9/include/linux/rwsem.h:27, from /b2/sw/linux-2.4.9/include/asm/semaphore.h:42, from /b2/sw/linux-2.4.9/include/linux/fs.h:198, from /b2/sw/linux-2.4.9/include/linux/capability.h:17, from /b2/sw/linux-2.4.9/include/linux/binfmts.h:5, from /b2/sw/linux-2.4.9/include/linux/sched.h:9, from /b2/sw/linux-2.4.9/include/linux/mm.h:4, from /b2/sw/linux-2.4.9/include/linux/slab.h:14, from /b2/sw/linux-2.4.9/include/linux/proc_fs.h:5, from init/main.c:15: /b2/sw/linux-2.4.9/include/asm/rwsem.h:46: parse error before `(' /b2/sw/linux-2.4.9/include/asm/rwsem.h:47: parse error before `(' /b2/sw/linux-2.4.9/include/asm/rwsem.h:48: parse error before `(' In file included from /b2/sw/linux-2.4.9/include/linux/capability.h:17, from /b2/sw/linux-2.4.9/include/linux/binfmts.h:5, from /b2/sw/linux-2.4.9/include/linux/sched.h:9, from /b2/sw/linux-2.4.9/include/linux/mm.h:4, from /b2/sw/linux-2.4.9/include/linux/slab.h:14, from /b2/sw/linux-2.4.9/include/linux/proc_fs.h:5, from init/main.c:15: /b2/sw/linux-2.4.9/include/linux/fs.h: In function `put_bh': /b2/sw/linux-2.4.9/include/linux/fs.h:1082: warning: implicit declaration of function `barrier' /b2/sw/linux-2.4.9/include/linux/fs.h: At top level: /b2/sw/linux-2.4.9/include/linux/fs.h:1123: parse error before `(' /b2/sw/linux-2.4.9/include/linux/fs.h:1124: parse error before `(' /b2/sw/linux-2.4.9/include/linux/fs.h: In function `mark_buffer_dirty_inode': /b2/sw/linux-2.4.9/include/linux/fs.h:1146: warning: implicit declaration of function `mark_buffer_dirty' In file included from /b2/sw/linux-2.4.9/include/linux/mm.h:4, from /b2/sw/linux-2.4.9/include/linux/slab.h:14, from /b2/sw/linux-2.4.9/include/linux/proc_fs.h:5, from init/main.c:15: /b2/sw/linux-2.4.9/include/linux/sched.h: At top level: /b2/sw/linux-2.4.9/include/linux/sched.h:153: parse error before `(' In file included from /b2/sw/linux-2.4.9/include/linux/mm.h:4, from /b2/sw/linux-2.4.9/include/linux/slab.h:14, from /b2/sw/linux-2.4.9/include/linux/proc_fs.h:5, from init/main.c:15: /b2/sw/linux-2.4.9/include/linux/sched.h:551: parse error before `(' /b2/sw/linux-2.4.9/include/linux/sched.h:552: parse error before `(' /b2/sw/linux-2.4.9/include/linux/sched.h:553: parse error before `(' /b2/sw/linux-2.4.9/include/linux/sched.h:554: parse error before `(' /b2/sw/linux-2.4.9/include/linux/sched.h:556: parse error before `(' /b2/sw/linux-2.4.9/include/linux/sched.h:557: parse error before `(' /b2/sw/linux-2.4.9/include/linux/sched.h:559: parse error before `(' /b2/sw/linux-2.4.9/include/linux/sched.h:721: parse error before `(' /b2/sw/linux-2.4.9/include/linux/sched.h: In function `mmdrop': /b2/sw/linux-2.4.9/include/linux/sched.h:725: warning: implicit declaration of function `__mmdrop' /b2/sw/linux-2.4.9/include/linux/sched.h: At top level: /b2/sw/linux-2.4.9/include/linux/sched.h:757: parse error before `(' /b2/sw/linux-2.4.9/include/linux/sched.h:758: parse error before `(' /b2/sw/linux-2.4.9/include/linux/sched.h:759: parse error before `(' In file included from /b2/sw/linux-2.4.9/include/linux/slab.h:14, from /b2/sw/linux-2.4.9/include/linux/proc_fs.h:5, from init/main.c:15: /b2/sw/linux-2.4.9/include/linux/mm.h:383: parse error before `(' /b2/sw/linux-2.4.9/include/linux/mm.h:384: parse error before `(' /b2/sw/linux-2.4.9/include/linux/mm.h: In function `alloc_pages': /b2/sw/linux-2.4.9/include/linux/mm.h:394: warning: implicit declaration of function `_alloc_pages'/b2/sw/linux-2.4.9/include/linux/mm.h:394: warning: return makes pointer from integer without a cast /b2/sw/linux-2.4.9/include/linux/mm.h: At top level: /b2/sw/linux-2.4.9/include/linux/mm.h:399: parse error before `(' /b2/sw/linux-2.4.9/include/linux/mm.h:400: parse error before `(' /b2/sw/linux-2.4.9/include/linux/mm.h:416: parse error before `(' /b2/sw/linux-2.4.9/include/linux/mm.h:417: parse error before `(' /b2/sw/linux-2.4.9/include/linux/mm.h:438: parse error before `(' /b2/sw/linux-2.4.9/include/linux/mm.h:439: parse error before `(' /b2/sw/linux-2.4.9/include/linux/mm.h: In function `pmd_alloc': /b2/sw/linux-2.4.9/include/linux/mm.h:455: warning: implicit declaration of function `__pmd_alloc' /b2/sw/linux-2.4.9/include/linux/mm.h:455: warning: return makes pointer from integer without a cast In file included from /b2/sw/linux-2.4.9/include/linux/highmem.h:5, from /b2/sw/linux-2.4.9/include/linux/pagemap.h:16, from /b2/sw/linux-2.4.9/include/linux/locks.h:8, from /b2/sw/linux-2.4.9/include/linux/devfs_fs_kernel.h:6, from init/main.c:16: /b2/sw/linux-2.4.9/include/asm/pgalloc.h: In function `get_pgd_slow': /b2/sw/linux-2.4.9/include/asm/pgalloc.h:53: warning: implicit declaration of function `__get_free_pages' /b2/sw/linux-2.4.9/include/asm/pgalloc.h: In function `free_pgd_slow': /b2/sw/linux-2.4.9/include/asm/pgalloc.h:93: warning: implicit declaration of function `free_pages'In file included from /b2/sw/linux-2.4.9/include/linux/irq.h:57, from /b2/sw/linux-2.4.9/include/asm/hardirq.h:6, from /b2/sw/linux-2.4.9/include/linux/interrupt.h:45, from /b2/sw/linux-2.4.9/include/linux/netdevice.h:424, from /b2/sw/linux-2.4.9/include/net/ip.h:29, from /b2/sw/linux-2.4.9/include/net/checksum.h:31, from /b2/sw/linux-2.4.9/include/linux/raid/md.h:34, from init/main.c:24: /b2/sw/linux-2.4.9/include/asm/hw_irq.h: At top level: /b2/sw/linux-2.4.9/include/asm/hw_irq.h:78: parse error before `(' In file included from /b2/sw/linux-2.4.9/include/linux/netdevice.h:424, from /b2/sw/linux-2.4.9/include/net/ip.h:29, from /b2/sw/linux-2.4.9/include/net/checksum.h:31, from /b2/sw/linux-2.4.9/include/linux/raid/md.h:34, from init/main.c:24: /b2/sw/linux-2.4.9/include/linux/interrupt.h:77: parse error before `(' /b2/sw/linux-2.4.9/include/linux/interrupt.h:78: parse error before `(' /b2/sw/linux-2.4.9/include/linux/interrupt.h:154: parse error before `(' /b2/sw/linux-2.4.9/include/linux/interrupt.h: In function `tasklet_schedule': /b2/sw/linux-2.4.9/include/linux/interrupt.h:159: warning: implicit declaration of function `__tasklet_schedule' /b2/sw/linux-2.4.9/include/linux/interrupt.h: At top level: /b2/sw/linux-2.4.9/include/linux/interrupt.h:162: parse error before `(' /b2/sw/linux-2.4.9/include/linux/interrupt.h: In function `tasklet_hi_schedule': /b2/sw/linux-2.4.9/include/linux/interrupt.h:167: warning: implicit declaration of function `__tasklet_hi_schedule' In file included from /b2/sw/linux-2.4.9/include/net/ip.h:29, from /b2/sw/linux-2.4.9/include/net/checksum.h:31, from /b2/sw/linux-2.4.9/include/linux/raid/md.h:34, from init/main.c:24: /b2/sw/linux-2.4.9/include/linux/netdevice.h: In function `__netif_schedule': /b2/sw/linux-2.4.9/include/linux/netdevice.h:489: warning: implicit declaration of function `cpu_raise_softirq' In file included from /b2/sw/linux-2.4.9/include/net/ip.h:39, from /b2/sw/linux-2.4.9/include/net/checksum.h:31, from /b2/sw/linux-2.4.9/include/linux/raid/md.h:34, from init/main.c:24: /b2/sw/linux-2.4.9/include/net/sock.h: In function `sock_rcvlowat': /b2/sw/linux-2.4.9/include/net/sock.h:1248: warning: implicit declaration of function `min' /b2/sw/linux-2.4.9/include/net/sock.h:1248: parse error before `int' /b2/sw/linux-2.4.9/include/net/sock.h:1249: warning: control reaches end of non-void function /b2/sw/linux-2.4.9/include/net/sock.h: In function `sock_intr_errno': /b2/sw/linux-2.4.9/include/net/sock.h:1256: `LONG_MAX' undeclared (first use in this function) /b2/sw/linux-2.4.9/include/net/sock.h:1256: (Each undeclared identifier is reported only once /b2/sw/linux-2.4.9/include/net/sock.h:1256: for each function it appears in.) /b2/sw/linux-2.4.9/include/net/sock.h:1257: warning: control reaches end of non-void function In file included from /b2/sw/linux-2.4.9/include/linux/raid/md.h:39, from init/main.c:24: /b2/sw/linux-2.4.9/include/linux/completion.h: At top level: /b2/sw/linux-2.4.9/include/linux/completion.h:30: parse error before `(' /b2/sw/linux-2.4.9/include/linux/completion.h:31: parse error before `(' In file included from /b2/sw/linux-2.4.9/include/linux/raid/md.h:51, from init/main.c:24: /b2/sw/linux-2.4.9/include/linux/raid/md_k.h: In function `pers_to_level': /b2/sw/linux-2.4.9/include/linux/raid/md_k.h:38: warning: implicit declaration of function `panic' In file included from init/main.c:33: /b2/sw/linux-2.4.9/include/asm/bugs.h: In function `check_fpu': /b2/sw/linux-2.4.9/include/asm/bugs.h:71: `KERN_EMERG' undeclared (first use in this function) /b2/sw/linux-2.4.9/include/asm/bugs.h:71: parse error before string constant /b2/sw/linux-2.4.9/include/asm/bugs.h:72: parse error before string constant /b2/sw/linux-2.4.9/include/asm/bugs.h:87: `KERN_INFO' undeclared (first use in this function) /b2/sw/linux-2.4.9/include/asm/bugs.h:87: parse error before string constant /b2/sw/linux-2.4.9/include/asm/bugs.h:92: parse error before string constant /b2/sw/linux-2.4.9/include/asm/bugs.h: In function `check_hlt': /b2/sw/linux-2.4.9/include/asm/bugs.h:115: `KERN_INFO' undeclared (first use in this function) /b2/sw/linux-2.4.9/include/asm/bugs.h:115: parse error before string constant init/main.c: In function `profile_setup': init/main.c:138: warning: implicit declaration of function `get_option' init/main.c: In function `name_to_kdev_t': init/main.c:285: warning: implicit declaration of function `simple_strtoul' init/main.c: In function `debug_kernel': init/main.c:393: `console_loglevel' undeclared (first use in this function) init/main.c: In function `quiet_kernel': init/main.c:401: `console_loglevel' undeclared (first use in this function) make: *** [init/main.o] Error 1 [root@bits linux]# Fred _________________________________ On Saturday 18 August 2001 01:18 pm, Tony Hoyle wrote: > Magnus Naeslund(f) wrote: > > > Isn't it more safe to do it like this: > > > > make mrproper > > cp ../linux-2.4.8/.config . > > make oldconfig > > make xconfig > > make bzImage && make modules && make modules_install && make install > > > > ? > > I thought this was the proper way to do it, no? > > > You don't need to make bzimage first, and you missed the dep/clean steps > (theoretically not needed any more but I've had some really strange > compiler errors by missing them out). > > cp ../linux-2.4.8/.config . > make oldconfig > make xconfig > make dep clean install modules modules_install > > Tony > > -