Linux MIPS Architecture development
 help / color / mirror / Atom feed
* kernel compilation problem
@ 1999-04-15  4:20 Charles Lepple
  1999-04-15  4:37 ` Ralf Baechle
  1999-04-15  4:48 ` Matthias Kleinschmidt
  0 siblings, 2 replies; 5+ messages in thread
From: Charles Lepple @ 1999-04-15  4:20 UTC (permalink / raw)
  To: linux

While configuring the kernel (2.2.5 from ftp.kernel.org), I get the
following message:

 Sound card support (CONFIG_SOUND) [N/y/m/?]
>scripts/Configure: drivers/sgi/char/Config.in: No such file or
directory
 *
 * Kernel hacking

Then, while executing 'make dep', I see a bunch of messages about
'SOCK_DGRAM' being redefined.

And when I try 'make zImage', it bombs compiling init/main.c -- there's
a "parse error" in linux/sched.h, and lots of stuff breaks. I have the
compile log if anyone can decipher it, but is this just a simple case of
me overlooking a patch? Or where can I find a preconfigured kernel
source tree?

Thanks in advance,

--
Charles Lepple
System Administrator, Virginia Tech EE Workstation Labs
clepple@ee.vt.edu || http://www.foo.tho.org/charles/

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

* Re: kernel compilation problem
  1999-04-15  4:20 kernel " Charles Lepple
@ 1999-04-15  4:37 ` Ralf Baechle
  1999-04-15  4:48 ` Matthias Kleinschmidt
  1 sibling, 0 replies; 5+ messages in thread
From: Ralf Baechle @ 1999-04-15  4:37 UTC (permalink / raw)
  To: Charles Lepple, linux

On Thu, Apr 15, 1999 at 04:20:04AM +0000, Charles Lepple wrote:

> Then, while executing 'make dep', I see a bunch of messages about
> 'SOCK_DGRAM' being redefined.
> 
> And when I try 'make zImage', it bombs compiling init/main.c -- there's
> a "parse error" in linux/sched.h, and lots of stuff breaks. I have the
> compile log if anyone can decipher it, but is this just a simple case of
> me overlooking a patch? Or where can I find a preconfigured kernel
> source tree?

Get the kernel from {ftp,www}.linux.sgi.com.

  Ralf

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

* Re: kernel compilation problem
  1999-04-15  4:20 kernel " Charles Lepple
  1999-04-15  4:37 ` Ralf Baechle
@ 1999-04-15  4:48 ` Matthias Kleinschmidt
  1 sibling, 0 replies; 5+ messages in thread
From: Matthias Kleinschmidt @ 1999-04-15  4:48 UTC (permalink / raw)
  To: linux

[-- Attachment #1: Type: text/plain, Size: 763 bytes --]

Hi,

On Thu, Apr 15, 1999 at 04:20:04AM +0000, Charles Lepple wrote:
> While configuring the kernel (2.2.5 from ftp.kernel.org), I get the
> following message:

You have to get the kernel from cvs:

export CVSROOT=":pserver:cvs@linus.linux.sgi.com:/cvs"
cvs login (cvs as password)
cvs -z3 checkout linux

The config is a little tricky. Look at
ftp.linux.sgi.com/pub/linux/mips/test/vmlinux-indy-990212.conf
as example

> And when I try 'make zImage', it bombs compiling init/main.c

"make zImage" doesn't work. Try "make vmlinux".

Matthias

-- 
Matthias Kleinschmidt
Cedar Dell 568B, Box 5398
UMass Dartmouth
285 Old Westport Rd.
North Dartmouth, MA 02747
Tel.:  +1 508 910 6851
email: matthias@fmc-container.mach.uni-karlsruhe.de

[-- Attachment #2: Type: application/pgp-signature, Size: 290 bytes --]

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

* Re: Kernel compilation problem
  2001-08-25 12:18 Kernel compilation problem Ben Hague
@ 2001-08-25 10:37 ` Ralf Baechle
  0 siblings, 0 replies; 5+ messages in thread
From: Ralf Baechle @ 2001-08-25 10:37 UTC (permalink / raw)
  To: Ben Hague; +Cc: linux-mips

On Sat, Aug 25, 2001 at 12:18:59PM +0000, Ben Hague wrote:

>   I'm trying to compile the latest CVS kernel for a Philips Nino 300, and I 
> keep getting the error;

Known problem.  I asked the Nino maintainer to fix it a few days ago and
he promised to do this weekend.

  Ralf

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

* Kernel compilation problem
@ 2001-08-25 12:18 Ben Hague
  2001-08-25 10:37 ` Ralf Baechle
  0 siblings, 1 reply; 5+ messages in thread
From: Ben Hague @ 2001-08-25 12:18 UTC (permalink / raw)
  To: linux-mips

Hi,
  I'm trying to compile the latest CVS kernel for a Philips Nino 300, and I 
keep getting the error;
make[3]: Entering directory `/home/ben/pdalinux/linux/drivers/char'
mipsel-linux-gcc -I /home/ben/pdalinux/linux/include/asm/gcc -D__KERNEL__ 
-I/home/ben/pdalinux/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs 
-O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -G 0 -mno-abicalls 
-fno-pic -mcpu=r3000 -mips1 -pipe    -c -o serial_tx3912.o serial_tx3912.c
In file included from serial_tx3912.h:14,
                 from serial_tx3912.c:32:
/home/ben/pdalinux/linux/include/linux/serialP.h:50: field `icount' has 
incomplete type
In file included from serial_tx3912.h:15,
                 from serial_tx3912.c:32:
/home/ben/pdalinux/linux/include/linux/generic_serial.h:29: warning: `struct 
serial_struct' declared inside parameter list
/home/ben/pdalinux/linux/include/linux/generic_serial.h:29: warning: its 
scope is only this definition or declaration,
/home/ben/pdalinux/linux/include/linux/generic_serial.h:29: warning: which is 
probably not what you want.
/home/ben/pdalinux/linux/include/linux/generic_serial.h:100: warning: `struct 
serial_struct' declared inside parameter list
/home/ben/pdalinux/linux/include/linux/generic_serial.h:101: warning: `struct 
serial_struct' declared inside parameter list
In file included from serial_tx3912.c:32:
serial_tx3912.h:88: field `icount' has incomplete type
serial_tx3912.c: In function `transmit_char_pio':
serial_tx3912.c:189: `SERIAL_XMIT_SIZE' undeclared (first use in this 
function)
serial_tx3912.c:189: (Each undeclared identifier is reported only once
serial_tx3912.c:189: for each function it appears in.)
serial_tx3912.c: In function `rs_open':
serial_tx3912.c:605: `ASYNC_SPLIT_TERMIOS' undeclared (first use in this 
function)
serial_tx3912.c: In function `rs_ioctl':
serial_tx3912.c:675: sizeof applied to an incomplete type
serial_tx3912.c:676: warning: passing arg 2 of `gs_getserial' from 
incompatible pointer type
serial_tx3912.c:680: sizeof applied to an incomplete type
serial_tx3912.c:681: warning: passing arg 2 of `gs_setserial' from 
incompatible pointer type
make[3]: *** [serial_tx3912.o] Error 1
make[3]: Leaving directory `/home/ben/pdalinux/linux/drivers/char'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/home/ben/pdalinux/linux/drivers/char'
make[1]: *** [_subdir_char] Error 2
make[1]: Leaving directory `/home/ben/pdalinux/linux/drivers'
make: *** [_dir_drivers] Error 2

Am I doing something wrong, or is there a bug in the CVS sources?
Thanks
Ben Hague

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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-25 12:18 Kernel compilation problem Ben Hague
2001-08-25 10:37 ` Ralf Baechle
  -- strict thread matches above, loose matches on Subject: below --
1999-04-15  4:20 kernel " Charles Lepple
1999-04-15  4:37 ` Ralf Baechle
1999-04-15  4:48 ` Matthias Kleinschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox