Problems compiling 2.2.11 kernel (kernel upgrade fro 2.0.36)

Problems compiling 2.2.11 kernel (kernel upgrade fro 2.0.36)

Post by Rajesh Radhakrishna » Fri, 20 Aug 1999 04:00:00



Hi,

I followed the instructions given to me some people (on the newsgroups)
and from redhat's kernel upgrade webpage. The compilation stoppped and I
get the following error message,

make[1]: Entering directory `/usr/src/linux-2.2.11/arch/i386/boot'
gcc -D__KERNEL__ -I/usr/src/linux/include -E -D__BIG_KERNEL__
-traditional -DSVGA_MODE=NORMAL_VGA  boots\
ect.S -o bbootsect.s
as86 -0 -a -o bbootsect.o bbootsect.s
make[1]: as86: Command not found
make[1]: *** [bbootsect.o] Error 127
make[1]: Leaving directory `/usr/src/linux-2.2.11/arch/i386/boot'
make: *** [bzImage] Error 2

I don't have 'as86' on my system (RedHat 5.2) but another assembler
'as'. I tried replacing 'as86' with 'as' in the Makefile but 'as' has no
'-O' option and if I remove '-O' I get more errors.

What should I do.

Thanks
Rajesh

 
 
 

Problems compiling 2.2.11 kernel (kernel upgrade fro 2.0.36)

Post by Peter Gavi » Fri, 20 Aug 1999 04:00:00


Install the bin86 package.  You can find it on metalab.unc.edu (fka
sunsite) somewhere in /pub/Linux.  You can also search for it on
filewatcher or freshmeat.  This package will provide the as86 and ld86
programs required to build the kernel.

Pete


> Hi,

> I followed the instructions given to me some people (on the newsgroups)
> and from redhat's kernel upgrade webpage. The compilation stoppped and I
> get the following error message,

> make[1]: Entering directory `/usr/src/linux-2.2.11/arch/i386/boot'
> gcc -D__KERNEL__ -I/usr/src/linux/include -E -D__BIG_KERNEL__
> -traditional -DSVGA_MODE=NORMAL_VGA  boots\
> ect.S -o bbootsect.s
> as86 -0 -a -o bbootsect.o bbootsect.s
> make[1]: as86: Command not found
> make[1]: *** [bbootsect.o] Error 127
> make[1]: Leaving directory `/usr/src/linux-2.2.11/arch/i386/boot'
> make: *** [bzImage] Error 2

> I don't have 'as86' on my system (RedHat 5.2) but another assembler
> 'as'. I tried replacing 'as86' with 'as' in the Makefile but 'as' has no
> '-O' option and if I remove '-O' I get more errors.

> What should I do.

> Thanks
> Rajesh


 
 
 

Problems compiling 2.2.11 kernel (kernel upgrade fro 2.0.36)

Post by Alain.Bo.. » Sat, 21 Aug 1999 04:00:00



> I don't have 'as86' on my system (RedHat 5.2) but another assembler
> 'as'. I tried replacing 'as86' with 'as' in the Makefile but 'as' has no
> '-O' option and if I remove '-O' I get more errors.
> What should I do.

Install the bin86 package.

--
Alain Borel

 
 
 

Problems compiling 2.2.11 kernel (kernel upgrade fro 2.0.36)

Post by Michael Per » Sat, 21 Aug 1999 04:00:00


On Thu, 19 Aug 1999 14:43:25 -0400, Rajesh Radhakrishnan


>Hi,

>I followed the instructions given to me some people (on the newsgroups)
>and from redhat's kernel upgrade webpage. The compilation stoppped and I
>get the following error message,

>make[1]: Entering directory `/usr/src/linux-2.2.11/arch/i386/boot'
>gcc -D__KERNEL__ -I/usr/src/linux/include -E -D__BIG_KERNEL__
>-traditional -DSVGA_MODE=NORMAL_VGA  boots\
>ect.S -o bbootsect.s
>as86 -0 -a -o bbootsect.o bbootsect.s
>make[1]: as86: Command not found
>make[1]: *** [bbootsect.o] Error 127
>make[1]: Leaving directory `/usr/src/linux-2.2.11/arch/i386/boot'
>make: *** [bzImage] Error 2

>I don't have 'as86' on my system (RedHat 5.2) but another assembler
>'as'. I tried replacing 'as86' with 'as' in the Makefile but 'as' has no
>'-O' option and if I remove '-O' I get more errors.

>What should I do.

>Thanks
>Rajesh

Try ensuring that you have the bin86 rpm installed.

--
Michael Perry -                  "No one can give you wiser advice

                          '   )  
                          \  Gnome: at www.gnome.org!!    
                           \ _) where happiness is a state of foot.

 
 
 

Problems compiling 2.2.11 kernel (kernel upgrade fro 2.0.36)

Post by Mathieu Clert » Sat, 21 Aug 1999 04:00:00


got exaaactly the same problem...

Help us pleaaaaase !!

(i tried to find as86 with GnoRPM - which RMP requires or provides "as86"
-but in vain)
Oh, one thing more on: this 'search' function in gnoRPM : it seems that when
you select 'provides'  it doesn't find anything... damn!

:)

--
                     (. .)
  ________________oOO_(=)_OOo___________________
 /                                              \
| Mathieu CLERTE,                               |

| Adresse:                                      |
|  BP 10942 PAEA                                |
|  98719 Tahiti, French Polynesia               |
 \______________________________________________/

  mclerte.vcf
< 1K Download
 
 
 

1. Problems compiling kernel 2.2.11

Why can't I compile 2.2.11? I downloaded the patch, applied it
successfully, did a make dep; make clean; make bzlilo; make modules; make
modules_install.

It blows up when it starts compiling. The message is below. I've tried
gcc-2.7.2.3 and gcc-2.95 with the same error.

------------- OUTPUT -------------------

gcc -D__KERNEL__ -I/usr/src/linux-2.2.11/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer  -pipe -fno-strength-reduce -m486 -malign-loops=2
-malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE   -c -o dummy.o
dummy.c
/usr/src/linux-2.2.11/include/asm/pgtable.h: In function `get_pgd_slow':
In file included from /usr/src/linux-2.2.11/include/linux/vmalloc.h:7,
                 from /usr/src/linux-2.2.11/include/asm/io.h:101,
                 from dummy.c:48:
/usr/src/linux-2.2.11/include/asm/pgtable.h:408: `PAGE_OFFSET_RAW'
undeclared (first use this function)
/usr/src/linux-2.2.11/include/asm/pgtable.h:408: (Each undeclared
identifier is reported only once
/usr/src/linux-2.2.11/include/asm/pgtable.h:408: for each function it
appears in.)
/usr/src/linux-2.2.11/include/asm/pgtable.h: In function
`pte_alloc_kernel':
/usr/src/linux-2.2.11/include/asm/pgtable.h:497: `PAGE_OFFSET_RAW'
undeclared (first use this function)
/usr/src/linux-2.2.11/include/asm/pgtable.h: In function `pte_alloc':
/usr/src/linux-2.2.11/include/asm/pgtable.h:515: `PAGE_OFFSET_RAW'
undeclared (first use this function)
/usr/src/linux-2.2.11/include/asm/io.h: In function `virt_to_phys':
In file included from dummy.c:48:
/usr/src/linux-2.2.11/include/asm/io.h:112: `PAGE_OFFSET_RAW' undeclared
(first use this function)
/usr/src/linux-2.2.11/include/asm/io.h: In function `phys_to_virt':
/usr/src/linux-2.2.11/include/asm/io.h:117: `PAGE_OFFSET_RAW' undeclared
(first use this function)
/usr/src/linux-2.2.11/include/asm/io.h: In function `check_signature':
/usr/src/linux-2.2.11/include/asm/io.h:175: `PAGE_OFFSET_RAW' undeclared
(first use this function)
make[2]: *** [dummy.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.2.11/drivers/net'
make[1]: *** [_modsubdir_net] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.11/drivers'
make: *** [_mod_drivers] Error 2
nt6 (/usr/src/linux-2.2.11): gcc -v
Reading specs from /usr/lib/gcc-lib/i586-unknown-linux/2.7.2.3/specs
gcc version 2.7.2.3

------------------  Posted via CNET Linux Help  ------------------
                    http://www.searchlinux.com

2. US-MD Senior SUN Solaris Systems Administrator

3. kernel 2.2.11 compile problem

4. Getting rid of ^M characters

5. Compile problem with kernel 2.2.11

6. Will someone please recommend a good, cheap LAN adapter?

7. Attempting to upgrade kernel from 2.2.5-15 to 2.2.11

8. futex-fixes-2.5.69-A0

9. SCSI Tekram DC-390F on linux 2.0.36 (or 2.2.11)

10. NFS Problems with Kernel 2.2.11

11. affs freezes kernel 2.2.11

12. Kernel 2.2.11, always defragment IP?

13. Interrupt error from init after 2.2.11 kernel update