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

Re: Hard problems to compile kernel !!!

Dale Scheetz <dwarf@polaris.net> writes:

> On Wed, 14 Jul 1999, Franz Skale wrote:
> I am currently using egcs64 version 19990402-2, and libc6 version 2.1.1-9
> and compiling a stock 2.2.7 kernel yields:

> In 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

I never tried ppp on the Ultra...

The field stats is of type: ppp_comp_stats, defined in ppp_defs.h.

IIRC, there are other issues with stock 2.2.7 kernels on sparc64, so
you probably want to use different source.

> followed by more warnings from ioctl32.c

> Why is a 64 bit build calling a 32 bit piece of code?

ioctl32.c does 32-bit -> 64-bit translation for 32-bit sparc-linux
userspace binaries.  (Syscalls for 32bit sparc binaries are handled by
sys_sparc32.c which calls stuff in ioctl32.c.)


Reply to: