Re: [CAD_CAM_EDM_DRO] rtlinux-2.0
Posted by
George Fouse
on 2000-03-08 12:21:22 UTC
Hi Joel,
You can see what happens from the following snip of a log file with
__SMP__ defined:
/*
/usr/include/asm/smp.h: In function `hard_smp_processor_id':
In file included from /usr/include/linux/smp.h:11,
from /usr/include/linux/sched.h:20,
from /usr/include/linux/vmalloc.h:4,
from /usr/include/asm/io.h:101,
from parport.c:62:
/usr/include/asm/smp.h:209: `APIC_BASE' undeclared (first use in this
function)
/usr/include/asm/smp.h:209: (Each undeclared identifier is reported only
once
/usr/include/asm/smp.h:209: for each function it appears in.)
/usr/include/asm/smp.h:209: `APIC_ID' undeclared (first use in this
function)
*/
The reference to __SMP__ doesn't occur until /usr/include/linux/smp.h,
#ifdef __SMP__
#include <asm/smp.h>
.
.
.etc
/usr/include/asm/smp.h is the actual include file where the unresolved
references occur.
If __SMP__ isn't defined, then <asm/smp.h> is never loaded, and
therefore no unresolved references.
Hope that helps.
George
Joel Jacobs wrote:
-------------------------------
George Fouse,
President
G F I Consulting
-------------------------------
You can see what happens from the following snip of a log file with
__SMP__ defined:
/*
/usr/include/asm/smp.h: In function `hard_smp_processor_id':
In file included from /usr/include/linux/smp.h:11,
from /usr/include/linux/sched.h:20,
from /usr/include/linux/vmalloc.h:4,
from /usr/include/asm/io.h:101,
from parport.c:62:
/usr/include/asm/smp.h:209: `APIC_BASE' undeclared (first use in this
function)
/usr/include/asm/smp.h:209: (Each undeclared identifier is reported only
once
/usr/include/asm/smp.h:209: for each function it appears in.)
/usr/include/asm/smp.h:209: `APIC_ID' undeclared (first use in this
function)
*/
The reference to __SMP__ doesn't occur until /usr/include/linux/smp.h,
#ifdef __SMP__
#include <asm/smp.h>
.
.
.etc
/usr/include/asm/smp.h is the actual include file where the unresolved
references occur.
If __SMP__ isn't defined, then <asm/smp.h> is never loaded, and
therefore no unresolved references.
Hope that helps.
George
Joel Jacobs wrote:
>--
> From: "Joel Jacobs" <jj@...>
>
> Hi George,
> Would you happen to remember which .h file that was? I tried to compile EMC
> last night and got a few errors. One defiantly mentioned SMP.
>
-------------------------------
George Fouse,
President
G F I Consulting
-------------------------------
Discussion Thread
Matt Shaver
2000-03-07 09:24:57 UTC
Re: [CAD_CAM_EDM_DRO] rtlinux-2.0
Joel Jacobs
2000-03-07 09:48:04 UTC
Re: [CAD_CAM_EDM_DRO] rtlinux-2.0
George Fouse
2000-03-07 10:19:54 UTC
Re: [CAD_CAM_EDM_DRO] rtlinux-2.0
Joel Jacobs
2000-03-08 11:10:12 UTC
Re: [CAD_CAM_EDM_DRO] rtlinux-2.0
jguenthe
2000-03-08 11:42:26 UTC
RE: [CAD_CAM_EDM_DRO] rtlinux-2.0
Joel Jacobs
2000-03-08 11:52:10 UTC
Re: [CAD_CAM_EDM_DRO] rtlinux-2.0
George Fouse
2000-03-08 12:21:22 UTC
Re: [CAD_CAM_EDM_DRO] rtlinux-2.0