V2.2.0 & V2.2.2 kernel do not compile on a m68k Amiga A1200

V2.2.0 & V2.2.2 kernel do not compile on a m68k Amiga A1200

Post by Mr Gue » Wed, 03 Mar 1999 04:00:00



 I have tried to compile linux kernal v2_2_0 and v2_2_2 and get a
compilation error.
 My system is an Amiga A1200 with a Blizzard 1260 and SCSI interface.
 48Mb Ram and approx 5.5Gb of disk space on the SCSI port and .5Gb on
 the IDE port.
 A CDROM and a HP T4000s tape streamer are also on the SCSI port.

 I am running 2_0_36 at present and I would like to upgrade as I am
having trouble getting linux to boot when I have a Zip drive connected
 to the SCSI port.

 On typing make I get the following output.
 Has anyone tried to compile this before and if so how did you
overcome this error.

 Thank you.

 --------------------------------------------------------------------

  gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
 -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -ffixed-a2
-m68060
  -c -o init/main.o init/main.c

 /usr/src/linux/include/asm/semaphore.h: In function
`waking_non_zero':
 In file included from /usr/src/linux/include/linux/fs.h:161,
                  from /usr/src/linux/include/linux/capability.h:13,
                  from /usr/src/linux/include/linux/binfmts.h:5,
                  from /usr/src/linux/include/linux/sched.h:8,
                  from /usr/src/linux/include/linux/mm.h:4,
                  from /usr/src/linux/include/linux/slab.h:14,
                  from /usr/src/linux/include/linux/malloc.h:4,
                  from /usr/src/linux/include/linux/proc_fs.h:5,
                  from init/main.c:15:
 /usr/src/linux/include/asm/semaphore.h:61: `owner_depth' undeclared
 (first use this function)
 /usr/src/linux/include/asm/semaphore.h:61: (Each undeclared
identifier
 is reported only once
 /usr/src/linux/include/asm/semaphore.h:61: for each function it
appears in.)
 make: *** [init/main.o] Error 1

 
 
 

V2.2.0 & V2.2.2 kernel do not compile on a m68k Amiga A1200

Post by Martin Recktenwal » Thu, 04 Mar 1999 04:00:00



>  Has anyone tried to compile this before and if so how did you
> overcome this error.

There have been some changes in the semaphore code in 2.2.2 with the
effect that compilation breaks on most architectures. Try 2.2.1.

(I don't know of any problems with 2.2.0, but I'm not using Linux/68k
anyway.)

  Martin.