[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hard problems to compile kernel !!!



I finally got some more time to look at this and found the problem!

The file arch/sparc64/kernel/ioctl32.c refers to the header file
<linux/if_ppp.h> which attempts to reference NPmode and ppp_stats, both of
which are defined in <linux/ppp_defs.h> which is _not_ included by
ioctl32.c, which causes the failure. Adding '#include <linux/ppp_defs.h>'
before the include for if_ppp.h seems to fix the problem.

It seems that we both enabled ppp in the kernel config step. This is
probably something that seasoned builders of ultra kernels simply know to
avoid?

HTH,

On Fri, 16 Jul 1999, Franz Skale wrote:

> Of course i installed the packages from potato.
> Now i did what you have told me to do and there are the messages i get on
> compiling the kernel !!!
> 
> These messages appear at compiling the kernel 2.2.7
> ------------------------------------------------------------
> softirq.c:59: warning: unused variable `cpu'
> floppy.c: In function `result':
> floppy.c:1162: warning: `status' might be used uninitialized in this
> function
> floppy.c: In function `floppy_interrupt':
> floppy.c:1753: warning: unused variable `cpu'
> floppy.c: In function `floppy_ready':
> floppy.c:1927: warning: unused variable `flags'
> ide-probe.c:618: warning: unsigned int format, different type arg (arg 4)
> ide-probe.c:618: warning: unsigned int format, different type arg (arg 5)
> ide-cd.c: In function `cdrom_play_lba_range':
> ide-cd.c:1892: warning: `stat' might be used uninitialized in this function
> nfs2xdr.c: In function `nfs_xdr_readdirres':
> nfs2xdr.c:449: warning: int format, different type arg (arg 3)
> xdr.c: In function `nlm_decode_fh':
> xdr.c:99: warning: int format, different type arg (arg 3)
> xprt.c: In function `rpciod_tcp_dispatcher':
> xprt.c:757: warning: `result' might be used uninitialized in this function
> n file included from ioctl32.c:29:
> /usr/src/linux/include/linux/if_ppp.h:88: field `mode' has incomplete type
> /usr/src/linux/include/linux/if_ppp.h:100: field `stats' has incomplete type
> /usr/src/linux/include/linux/if_ppp.h:105: field `stats' has incomplete type
> ioctl32.c: In function `dev_ifsioc':
> ioctl32.c:314: sizeof applied to an incomplete type
> ioctl32.c:316: sizeof applied to an incomplete type
> ioctl32.c: In function `ppp_ioctl_trans':
> ioctl32.c:982: storage size of `idle' isn't known
> ioctl32.c:989: sizeof applied to an incomplete type
> ioctl32.c:982: warning: unused variable `idle'
> ioctl32.c:984: warning: `karg' might be used uninitialized in this function
> ioctl32.c: In function `sys32_ioctl':
> ioctl32.c:1864: `ext_accm' undeclared (first use in this function)
> ioctl32.c:1864: (Each undeclared identifier is reported only once
> ioctl32.c:1864: for each function it appears in.)
> make[1]: *** [ioctl32.o] Error 1
> make[1]: Leaving directory `/usr/src/linux/arch/sparc64/kernel'
> make: *** [_dir_arch/sparc64/kernel] Error 2
> --------------------------------------------------------------------------
> 
> Regards Franz
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-ultralinux-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 
> 

Dwarf
--
_-_-_-_-_-   Author of "The Debian Linux User's Guide"  _-_-_-_-_-_-

aka   Dale Scheetz                   Phone:   1 (850) 656-9769
      Flexible Software              11000 McCrackin Road
      e-mail:  dwarf@polaris.net     Tallahassee, FL  32308

_-_-_-_-_-_- See www.linuxpress.com for more details  _-_-_-_-_-_-_-


Reply to: