Hopefully somebody will be able to explain this problem. I'm getting
the following errors when trying to compile a kernel with most of my
hardware directly supported a few things modularized using "make
bzImage", I tried "make zImage" and got another error but I screwed
up doing "make config" and tried to hand tweak the mistake so I'm
pretty sure that error was my fault. I went ahead and tried "make
bzImage" since every time I've tried to do a mostly-monolithic kernel
compile it ended too big and had to use bzImage anyway.
-------cut-------
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-O2
-fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486
-malign-loops=2
-malign-jumps=2 -malign-functions=2 -DCPU=586 -DEXPORT_SYMTAB -c
mtrr.c
smp.c: In function `smp_commence':
smp.c:644: warning: implicit declaration of function `wmb'
smp.c: At top level:
smp.c:978: parse error before `cacheflush_time'
smp.c:978: warning: data definition has no type or storage class
make[1]: *** [smp.o] Error 1
make[1]: Leaving directory `/usr/src/linux/arch/i386/kernel'
make: *** [_dir_arch/i386/kernel] Error 2
------paste------
And it just stops at that point. I'm trying to compile for my system
here, Dual P166/112Mb RAM, Tyan Tempest II motherboard. I downloaded
the 2.2pre1 files, gunzip'd and untar'd them, got the patch and
applied it so I'm pretty sure I've got the latest and greatest.
I did also have one other glitch: When I compiled 2.1.131 everything
went fine, with 2.2pre1 I tried "make xconfig" and it wouldn't go,
seemed to me to be a problem with tk but I'm not sure and don't have
the error message from that handy. "make menuconfig" wouldn't work
either, but a plain old "make config" did the trick.
Stephen Berg
//- USAF Instructor -/- Reluctant NT User -/- Web Designer -//
//- Home = [EMAIL PROTECTED] -//
//- Work = [EMAIL PROTECTED] -//
//- http://www3.pangaealink.com/~sberg/ -/- http://www.3c0x1.com -//
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]