* 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: Possible X solutions.
@ 1997-07-25 19:16 Miguel de Icaza
1997-07-26 1:10 ` Kernel compile problems Alex deVries
0 siblings, 1 reply; 4+ messages in thread
From: Miguel de Icaza @ 1997-07-25 19:16 UTC (permalink / raw)
To: alan; +Cc: jwiede, linux
> > Has anyone considered perhaps partnering with either Metrolink
> > or Xi Graphics (makers of Accelerated-X) and having _them_ be
> > the providers of the X server for SGI?
>
> If there's not going to be a free X server for the SGI then Ariel
> can keep the machine...
No need for that. I got the time to read all of the documentation on
the newport graphics. I am da-newport-man now :-). There is only
*one* thing I have not figured out and which is rather important:
How can I DMA from the video card to the host memory?
I know I can set the bit that does the DMA, but I have not found how
to setup the DMA transfer to the host memory, so if a SGI graphics
hacker is reading this, I would appreciate a little hint with this.
We will have a kick-ass X server once I start coding it (I am just
finishing the shared memory input queue driver now which is making me
suffer a bit).
When I was reading the X11R6 porting guide there were a lot of hooks
that did not make sense. Then I read the Mark Kilgard's paper on
direct-rendering and got the newport specs, now everything makes
sense. I am possitively convinced that all the X speed improvements
in the IRIX server are cleanly separated and do not require changes to
the main X sample server from MIT.
So, we can get an X server pretty easily that will match the power in
Xsgi (including direct rendering, I have most of this code written,
just the actual context-switch for the rex3 is missing, will get to
rex3 context switch once I get shmiq finished :-)
> B. Gives us a venue by which SGI can provide optimized
> versions of OpenGL for Linux/Intel. This is what we
> could bring to the table.
Well, the optimizations in SGI's OpenGL require some hardware support:
starting with the direct graphics kernel support, continuing with the
kernel rendering resource manager and then having hardware
acceleration in their video cards and all kind of graphic tricks to
improve performance.
I strongly recomend reading Mark Kilgard's papers on how they use
the hardware features of the SGI machines to make graphics scream.
> C. Lends additional credibility to the Linux/SGI port.
Commercial applications for Linux/SGI will appear at some point, but
rememeber, the ideal world is made up of machines running free
systems.
Cheers,
Miguel
^ permalink raw reply [flat|nested] 4+ messages in thread
* 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
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.