Re: need help compiling EMC
Hi Jon
If a fatal compiler error occurs, the rest of the Makefile is not run. The
realtime and non-realtime Makefiles are usually called by a shell script, so
even if the non-rt fails, the rt side is attempted. Log the output from the
compile (I use ./compile 2>&1 | tee err.log), and see what leads up to the
fatal error(s).
As far as the problem with loading your module is concerned, I suspect you
are attempting to reference a pointer before it as initialized. Judicious use
of rtl_printf will help unless you want to get involved in setting up kdbg.
The ksymoops utility (found in the kernel-utils package) may also help in
locating the source of the error.
Regards, Paul.
On Thursday 01 Aug 2002 5:48 am, Jon Elson wrote:
> Ugh! Another problem cropped up. My code hasen't even gotten to this
> point, yet, but I discovered when trying to run the reference version of
> EMC from the BDI 2-12 CDROM, after recompiling, that bridgeporttask
> and minimilltask are not built. Is there a bug in the Makefile in
> usr/local/emc? It looks like there could be a problem with the nested
> #ifdef commands that is leaving out the execution of the Makefile in
> emctask - or else something is somehow shortcircuiting that Makefile so it
> doesn't build all the routines. Any suggestions?
>
> I'm still trying to figure out how to debug the crashing ppmcmod kernel
> module.
Date Index |
Thread Index |
Back to archive index |
Back to Mailing List Page
Problems or questions? Contact