Subject: Re: Error while compiling 1.3 kernel
To: None <kenneth.lind@mbox2.swipnet.se>
From: Ignatios Souvatzis <ignatios@theory.cs.uni-bonn.de>
List: port-amiga
Date: 03/16/1998 14:15:44
> Hello!
> 
> I've been a 'passive member' of this list for a while, and I had
> hoped that I would never have to write to it. But.. ;)
> 
> Anyway.. I'm making my first serious attempt at compiling a
> 'personalized' kernel, and after about an hour it stoped
> and brought me this message:
> 
> ---8<----
> 
> making sure the 68040 FPSP is up to date...
> `fpsp.o' is up to date.
> cc  -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -m68040
> -msoft-float -I. -I../../../../arch -I../../../.. -nostdinc -DEXEC_AOUT
> -DEXEC_SCRIPT -DBB060STUPIDROM -DM68040 -DFPSP -DINET -DNS -DISO -DTPIP -DEON
> -DCCITT -DLLC -DHDLC -DNETATALK -DPPP_BSDCOMP -DPPP_DEFLATE -DPPP_FILTER
> -DPFIL_HOOKS -DIPFILTER_LOG -DFFS -DMFS -DNFS -DADOSFS -DCD9660 -DMSDOSFS
> -DFDESC -DKERNFS -DNULLFS -DPROCFS -DUMAPFS -DUNION -DNFSSERVER -DFIFO -DQUOTA
> -DTCP_COMPAT_42 -DCOMPAT_43 -DCOMPAT_09 -DCOMPAT_10 -DCOMPAT_12 -DCOMPAT_SUNOS
> -DCOMPAT_NOMID -DSYSVSHM -DSYSVMSG -DSYSVSEM -DKTRACE -DLKM
> -DNKMEMCLUSTERS="0x100" -DNTP -DDDB -DDIAGNOSTIC -DMACHINE_NONCONTIG
> -DSERIBUF_SIZE="0x1000" -DSEROBUF_SIZE="0x20" -DGRF_ECS -DGRF_NTSC -DGRF_PAL
> -DGRF_AGA -DGRF_SUPER72 -DMAXUSERS=8 -D_KERNEL  -Dmc68040 -Damiga -DFPCOPROC 
> -c ../../../../arch/amiga/amiga/amiga_init.c
> /var/tmp/[tempfile]: Assembler message:
> /var/tmp/[tempfile]: 814: Error: "instruction/operand mismatch" -- Statement
> 'pmove a0@,srp' ignored
> /var/tmp/[tempfile]: 819: Error: "instruction/operand mismatch" -- Statement
> 'pmove a0@,tc' ignored
> *** Error code 1

The assembler tries to tell you that it doesnt understand the 68020/30/851 
opcodes in the inlien assembler in amiga_init.c.

If you insist to use unsupported compile modes (-m68040 above, which no normal
configuration process would add), you should at least tell it to understand 
them. An example how to do this is in /sys/arch/amiga/conf/Makefile.amiga
in the -m68060 line.

Regards,
	-is