All of lore.kernel.org
 help / color / mirror / Atom feed
* Problems compiling 2.2.4 Ultrasparc kernel...
@ 1999-03-25  2:01 Shawn Hooton
  1999-03-25  2:17 ` David Miller
  1999-03-25  2:43 ` Shawn Hooton
  0 siblings, 2 replies; 3+ messages in thread
From: Shawn Hooton @ 1999-03-25  2:01 UTC (permalink / raw)
  To: ultralinux

I cannot compile the 2.2.4 linux kernel.

System: Stock 1.1.9 Ultrapenguin dist/Ultra 10/256MB RAM/Creator
Kernel obtained from: ftp://ftp.us.kernel.org/pub/linux/kernel/v2.2/

Just to trying to get the kernel to build I followed these steps:

make oldconfig
make dep
make

This is where I run into problems.  During the make I get the output
listed below (Along with more if needed).  Can anyone help me or 
point me in the right direction?

Thanks.

make -C  kernel
make[1]: Entering directory `/usr/src/linux/kernel'
make all_targets
make[2]: Entering directory `/usr/src/linux/kernel'
egcs -O2 -fomit-frame-pointer -funroll-loops -fno-strength-reduce  
-DEXPORT_SYMTAB -c signal.c
In file included from /usr/include/asm/uaccess.h:6,
                 from signal.c:15:
/usr/include/asm-sparc/uaccess.h:313: warning: `__copy_to_user'
redefined
/usr/include/linux/modules/sparc64_ksyms.ver:200: warning: this is the
location of the previous definition
/usr/include/asm-sparc/uaccess.h:337: warning: `__copy_from_user'
redefined
/usr/include/linux/modules/sparc64_ksyms.ver:202: warning: this is the
location of the previous definition
/usr/include/asm-sparc/uaccess.h: In function `verify_area':
In file included from /usr/include/asm/uaccess.h:6,
                 from signal.c:15:
/usr/include/asm-sparc/uaccess.h:49: `current' undeclared (first use
this function)
/usr/include/asm-sparc/uaccess.h:49: (Each undeclared identifier is
reported only once
/usr/include/asm-sparc/uaccess.h:49: for each function it appears in.)
/usr/include/asm-sparc/uaccess.h:49: `STACK_TOP' undeclared (first use
this function)
/usr/include/asm-sparc/uaccess.h:49: `EFAULT' undeclared (first use this
function)
/usr/include/asm-sparc/uaccess.h: At top level:
/usr/include/asm-sparc/uaccess.h:295: parse error before `__copy_user'
/usr/include/asm-sparc/uaccess.h:295: parse error before
`__kernel_size_t'
/usr/include/asm-sparc/uaccess.h:295: warning: data definition has no
type or storage class
/usr/include/asm-sparc/uaccess.h:344: parse error before `__clear_user'
/usr/include/asm-sparc/uaccess.h:344: parse error before
`__kernel_size_t'
/usr/include/asm-sparc/uaccess.h: In function `__clear_user':
/usr/include/asm-sparc/uaccess.h:346: `__kernel_size_t' undeclared
(first use this function)
/usr/include/asm-sparc/uaccess.h:346: parse error before `ret'
/usr/include/asm-sparc/uaccess.h:357: `ret' undeclared (first use this
function)
/usr/include/asm-sparc/uaccess.h:357: `addr' undeclared (first use this
function)
/usr/include/asm-sparc/uaccess.h:357: `size' undeclared (first use this
function)
/usr/include/asm-sparc/uaccess.h: In function `strlen_user':
/usr/include/asm-sparc/uaccess.h:391: `current' undeclared (first use
this function)
/usr/include/asm-sparc/uaccess.h:391: `STACK_TOP' undeclared (first use
this function)

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

* Re: Problems compiling 2.2.4 Ultrasparc kernel...
  1999-03-25  2:01 Problems compiling 2.2.4 Ultrasparc kernel Shawn Hooton
@ 1999-03-25  2:17 ` David Miller
  1999-03-25  2:43 ` Shawn Hooton
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 1999-03-25  2:17 UTC (permalink / raw)
  To: ultralinux

   Date: 	Thu, 25 Mar 1999 02:01:30 +0000
   From: Shawn Hooton <shooton@cms.cendant.com>

   egcs -O2 -fomit-frame-pointer -funroll-loops -fno-strength-reduce  
   -DEXPORT_SYMTAB -c signal.c

It's using the wrong compiler.  Does "uname -a" output "sparc64" as
the cpu type?

Later,
David S. Miller
davem@redhat.com

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

* Re: Problems compiling 2.2.4 Ultrasparc kernel...
  1999-03-25  2:01 Problems compiling 2.2.4 Ultrasparc kernel Shawn Hooton
  1999-03-25  2:17 ` David Miller
@ 1999-03-25  2:43 ` Shawn Hooton
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Hooton @ 1999-03-25  2:43 UTC (permalink / raw)
  To: ultralinux

I want to apologize to everyone for being an idiot.
I figured that it should be using the sparc64-linux-gcc
compiler. I figured it was getting egcs from my $CC
so I unset all of my build vars, but I think the damage
had already propagated to the makefiles. Sorry.

FYI: uname -a="Linux {hostname} 2.2.0-pre4 #1 Tue Jan 5 17:08:15 CET
1999 sparc64 unknown"

I really appreciate the quick response!!!

David Miller wrote:
> 
>    Date:        Thu, 25 Mar 1999 02:01:30 +0000
>    From: Shawn Hooton <shooton@cms.cendant.com>
> 
>    egcs -O2 -fomit-frame-pointer -funroll-loops -fno-strength-reduce
>    -DEXPORT_SYMTAB -c signal.c
> 
> It's using the wrong compiler.  Does "uname -a" output "sparc64" as
> the cpu type?
> 
> Later,
> David S. Miller
> davem@redhat.com

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

end of thread, other threads:[~1999-03-25  2:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-25  2:01 Problems compiling 2.2.4 Ultrasparc kernel Shawn Hooton
1999-03-25  2:17 ` David Miller
1999-03-25  2:43 ` Shawn Hooton

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.