Error compiling

Rob mol-general@lists.maconlinux.org
11 Sep 2003 15:29:58 -0400


When i try to compile MOL i get the same error wether i try using
emerge(gentoo) to compile or use the src d/l from maconlinux.org.

this is the error i recieve:

as mainloop_asm.o.s  -o mainloop_asm.o
Making all in booter
Making all in kmod
Making all in Linux
===========================================================
 Kernel headers:          /lib/modules/2.4.21-ppc-r2/build/include
 Module compiled for:     2.4.21-ppc-r2-noav
 Running kernel:          2.4.21-ppc-r2-noav
===========================================================
Generating asm_offsets.h (from ../shared/asm_offsets.c asm_offsets.inc
include/archinclude.h ../shared/kernel_vars.h ../shared/mac_registers.h)
gcc -E -D__ASSEMBLY__  -I../..  -I./ -D__KERNEL__ -DMODULE
-I../../src/kmod/include -I../../src/shared -I-
-I/lib/modules/2.4.21-ppc-r2/build/include actions.S | m4 -s  | tr ';'
'\n' > actions.o.s
as actions.o.s  -o actions.o
gcc -E -D__ASSEMBLY__  -I../..  -I./ -D__KERNEL__ -DMODULE
-I../../src/kmod/include -I../../src/shared -I-
-I/lib/modules/2.4.21-ppc-r2/build/include traps.S | m4 -s  | tr ';'
'\n' > traps.o.s
as traps.o.s  -o traps.o
emulation.S: Assembler messages:
emulation.S:731: Error: too many positional arguments
emulation.S:735: Error: too many positional arguments
emulation.S:739: Error: too many positional arguments
emulation.S:743: Error: too many positional arguments
emulation.S:747: Error: too many positional arguments
emulation.S:751: Error: too many positional arguments
emulation.S:755: Error: too many positional arguments
emulation.S:759: Error: too many positional arguments
emulation.S:763: Error: too many positional arguments
emulation.S:767: Error: too many positional arguments
emulation.S:771: Error: too many positional arguments
emulation.S:775: Error: too many positional arguments
emulation.S:779: Error: too many positional arguments
emulation.S:783: Error: too many positional arguments
emulation.S:787: Error: too many positional arguments
emulation.S:791: Error: too many positional arguments
make[3]: *** [traps.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
 
!!! ERROR: app-emulation/mol-0.9.68-r4 failed.
!!! Function src_compile, Line 31, Exitcode 2
!!! Failed to compile MOL
 
I am still learning linux but i am not sure how to troubleshoot this
problem. Any help would be appreciatedd....

here is some configuration info

yuna maclinux # cat /proc/version
Linux version 2.4.21-ppc-r2 (root@yuna.localhost.com) (gcc version 3.2.3
20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)) #4 Thu Aug 28 18:53:47
EDT 2003

/etc/make.conf

# Example:
USE="X gtk gnome radeon -alsa -qt -kde"
                                                                                #
CFLAGS="-O3 -pipe -mcpu=750"