All of lore.kernel.org
 help / color / mirror / Atom feed
* Kernel compile problems...
  1997-07-25 19:16 Possible X solutions Miguel de Icaza
@ 1997-07-26  1:10 ` Alex deVries
  1997-07-26  2:45   ` Miguel de Icaza
  0 siblings, 1 reply; 4+ messages in thread
From: Alex deVries @ 1997-07-26  1:10 UTC (permalink / raw)
  Cc: linux


I cvs'd out the kernel this evening, and I tried compiling it.

The compiling tools I'm using are the same ones in the crossdev directory
on linus.linux.sgi.com (and I've converted _those_ to RPM's, for your
installation convenience).

I got the following problems with compiling it:

- in scripts/mkdep.c, in the mmap() function, references MAP_AUTOGROW,
which is unknown.  I just removed it out for my compile.

- in Ariel's instructiosn on how to cross compile a kernel, it says to use 
make CROSS_COMPILE=mips-linux CONFIG_SHELL=/usr/freeware/bin/bash

But, the compile then can't find mips-linuxgcc .  Apparantly, using:
make CROSS_COMPILE=mips-linux- CONFIG_SHELL=/usr/freeware/bin/bash
                            ^^^
works.

(I'd like to absorb this in to the HOWTO, incidentally).

- I get the following compile error:

make[3]: Entering directory `/usr/src/adevries/linux/drivers/sgi/char'
make all_targets
make[4]: Entering directory `/usr/src/adevries/linux/drivers/sgi/char'
mips-linux-gcc -D__KERNEL__ -I/usr/src/adevries/linux/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic
-mcpu=r4600 -mips2 -pipe  -c -o graphics.o graphics.c
graphics.c:33: asm/rrm.h: No such file or directory
graphics.c: In function `sgi_graphics_ioctl':
graphics.c:56: `RRM_BASE' undeclared (first use this function)
graphics.c:56: (Each undeclared identifier is reported only once
graphics.c:56: for each function it appears in.)
graphics.c:56: `RRM_CMD_LIMIT' undeclared (first use this function)
graphics.c:57: warning: implicit declaration of function `rrm_command'
graphics.c: In function `sgi_graphics_close':
graphics.c:151: warning: implicit declaration of function `rrm_close'
graphics.c: In function `sgi_graphics_nopage':
graphics.c:168: structure has no member named `vm_inode'
graphics.c: In function `sgi_graphics_mmap':
graphics.c:225: structure has no member named `vm_inode'
graphics.c:226: warning: passing arg 2 of `atomic_add' from incompatible
pointer type
graphics.c: In function `gfx_init':
graphics.c:282: warning: implicit declaration of function `prom_halt'
make[4]: *** [graphics.o] Error 1
make[4]: Leaving directory `/usr/src/adevries/linux/drivers/sgi/char'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/adevries/linux/drivers/sgi/char'
make[2]: *** [sub_dirs] Error 2
make[2]: Leaving directory `/usr/src/adevries/linux/drivers/sgi'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory `/usr/src/adevries/linux/drivers'
make: *** [linuxsubdirs] Error 2
lager 9:07pm {2}

- Alex

      Alex deVries              Success is realizing 
  System Administrator          attainable dreams.
   The EngSoc Project     

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Kernel compile problems...
  1997-07-26  1:10 ` Kernel compile problems Alex deVries
@ 1997-07-26  2:45   ` Miguel de Icaza
  0 siblings, 0 replies; 4+ messages in thread
From: Miguel de Icaza @ 1997-07-26  2:45 UTC (permalink / raw)
  To: adevries; +Cc: linux


> (I'd like to absorb this in to the HOWTO, incidentally).
> 
> - I get the following compile error:
> 
> make[3]: Entering directory `/usr/src/adevries/linux/drivers/sgi/char'
> make all_targets
> make[4]: Entering directory `/usr/src/adevries/linux/drivers/sgi/char'
> mips-linux-gcc -D__KERNEL__ -I/usr/src/adevries/linux/include -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic
> -mcpu=r4600 -mips2 -pipe  -c -o graphics.o graphics.c
> graphics.c:33: asm/rrm.h: No such file or directory
> graphics.c: In function `sgi_graphics_ioctl':

Ok.  This is my fault, do not compile this module and you should be
fine.  I will try to commit all of my changes tomorrow (with my shmiq
code :-).

Miguel.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* kernel compile problems
@ 2001-08-30  8:33 Alexander Gavrilov
  2001-08-30  9:13 ` Alan Cox
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Gavrilov @ 2001-08-30  8:33 UTC (permalink / raw)
  To: linux-kernel

I am trying to compile kernel 2.2.16-20

with kgcc :

kgcc-1.1.2-40


and i getting those errors :


make[1]: Entering directory `/usr/src/linux-2.2.16/arch/i386/boot'
kgcc -D__KERNEL__ -I/usr/src/linux/include -E -D__BIG_KERNEL__
-traditional -DSVGA_MODE=NORMAL_VGA  bootsect.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.16/arch/i386/boot'
make: *** [bzImage] Error 2


~
~




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: kernel compile problems
  2001-08-30  8:33 kernel compile problems Alexander Gavrilov
@ 2001-08-30  9:13 ` Alan Cox
  0 siblings, 0 replies; 4+ messages in thread
From: Alan Cox @ 2001-08-30  9:13 UTC (permalink / raw)
  To: alegator; +Cc: linux-kernel

> I am trying to compile kernel 2.2.16-20
> with kgcc :
> kgcc-1.1.2-40
> 
> make[1]: Entering directory `/usr/src/linux-2.2.16/arch/i386/boot'
> kgcc -D__KERNEL__ -I/usr/src/linux/include -E -D__BIG_KERNEL__
> -traditional -DSVGA_MODE=NORMAL_VGA  bootsect.S -o bbootsect.s
> as86 -0 -a -o bbootsect.o bbootsect.s
> make[1]: as86: Command not found

You need dev86 installed too

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-08-30  9:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-30  8:33 kernel compile problems Alexander Gavrilov
2001-08-30  9:13 ` Alan Cox
  -- strict thread matches above, loose matches on Subject: below --
1997-07-25 19:16 Possible X solutions Miguel de Icaza
1997-07-26  1:10 ` Kernel compile problems Alex deVries
1997-07-26  2:45   ` Miguel de Icaza

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.