I got warning message when compile eepro100.c with smp command

=?big5?B?Q2hpaCwgSm9lICimwKfTrssp?= chih.joe@inventec.com.tw
Thu Oct 14 02:15:15 1999


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01BF1607.D324E67A
Content-Type: text/plain;
	charset="big5"

Dear all:
	Here is the message when I compile the eepro100.c with smp
command.Hope someone can help to configue what's wrong with that .Thanks.
Best Regards								joe



[root@localhost /root]# gcc -D__SMP__ -DMOUDLE -D__KERNEL__ -Wall
-Wstrict-prototypes -O6 -c eepro100.c `[ -f /usr/include/linux/modversions.h
] && echo -DMODVERSIONS`

/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/mm.h:4,
                 from /usr/include/linux/slab.h:14,
                 from /usr/include/linux/malloc.h:4,
                 from eepro100.c:91:
/usr/include/asm/smp.h:209: warning: implicit declaration of function
`GET_APIC_ID'
/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)


------_=_NextPart_001_01BF1607.D324E67A
Content-Type: text/html;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">



I got  warning message when compile eepro100.c with smp =
command



Dear all:
        Here is the message when I compile the eepro100.c with = smp command.Hope someone can help to configue what's wrong with that = .Thanks.

Best Regards    =         =         =         =         =         =         =         joe



[root@localhost /root]# gcc = -D__SMP__ -DMOUDLE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c = eepro100.c `[ -f /usr/include/linux/modversions.h ] && echo = -DMODVERSIONS`

/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/mm.h:4,
           = ;      from = /usr/include/linux/slab.h:14,
           = ;      from = /usr/include/linux/malloc.h:4,
           = ;      from eepro100.c:91:
/usr/include/asm/smp.h:209: = warning: implicit declaration of function `GET_APIC_ID'
/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)

------_=_NextPart_001_01BF1607.D324E67A--