Hi everybody.
I am trying to compile can4linux to MCF5282
Error while compiling, what is wrong when I get this error message,
m68k-elf-gcc -D__KERNEL__ -DMODULE -D__linux__ -DMAGIC_ROM_PTR -DNO_MM
-DNO_FPU -m5307 -Wa,-S -Wa,-m5307 -O1 -g -Wall -Wstrict-prototypes
-Wno-trigraphs -pipe -fno-builtin -fno-strict-aliasing -fno-common
-nostdinc -I/usr/local/lib/gcc-lib/m68k-elf/2.95.3/include
-I/usr/local/uClinux-dist-20030909-SSV20030922/linux-2.4.x/include
-DMCF5282 -DMAX_CHANNELS=1 -DVERSION=\"3.2_ColdFire_FlexCAN\"
-DCan_MAJOR=91 -c -o can_util.o can_util.c
can_util.c: In function `mcf_irqsetup':
can_util.c:117: `MCFICM_INTC1' undeclared (first use in this function)
can_util.c:117: (Each undeclared identifier is reported only once
can_util.c:117: for each function it appears in.)
can_util.c:118: `MCFINTC_ICR0' undeclared (first use in this function)
can_util.c:118: `MCFINT_CAN_BUF00' undeclared (first use in this function)
can_util.c:123: `MCFINT_CAN_BUF01' undeclared (first use in this function)
can_util.c:128: `MCFINT_CAN_BUF02' undeclared (first use in this function)
can_util.c:133: `MCFINT_CAN_WARN' undeclared (first use in this function)
can_util.c:138: `MCFINT_CAN_BUSOFF' undeclared (first use in this function)
can_util.c:152: `MCFINTC_IMRL' undeclared (first use in this function)
can_util.c:87: warning: `icrp' might be used uninitialized in this function
can_util.c: In function `mcf_irqreset':
can_util.c:176: `MCFICM_INTC1' undeclared (first use in this function)
can_util.c:177: `MCFINTC_IMRL' undeclared (first use in this function)
can_util.c:178: `MCFINT_CAN_BUF00' undeclared (first use in this function)
can_util.c:179: `MCFINT_CAN_BUF01' undeclared (first use in this function)
can_util.c:180: `MCFINT_CAN_BUF02' undeclared (first use in this function)
can_util.c:181: `MCFINT_CAN_WARN' undeclared (first use in this function)
make: *** [Can.o] Error 1
Can some one tell me what to do?
thanks in advance, Patrik
--
Patrik Nylund
R&D Manager, Software
http://www.tkengineering.fi/
Wolffintie 36 F2/III
FIN-65200 Vaasa
FINLAND
tel: +358 6 325 9740
fax: +358 6 325 9479
--
Patrik Nylund
R&D Manager, Software
http://www.tkengineering.fi/
Wolffintie 36 F2/III
FIN-65200 Vaasa
FINLAND
tel: +358 6 325 9740
fax: +358 6 325 9479
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev