Linux MIPS Architecture development
 help / color / mirror / Atom feed
* 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
* 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

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