Solved.

I merged imps/cpu_number.h code in kern/cpu_number.h and
i386/i386/cpu_number.h
Also, I removed APIC_LOCAL_APIC_ID symbol, which has not defined in the
code.

And now It compiles. Probably It will not work yet, because the APIC Table
address could be not correct, but these can be fixed in other time.

https://github.com/AlmuHS/GNUMach_SMP/commits/wip

El vie., 15 feb. 2019 a las 16:04, Richard Braun (<rbr...@sceen.net>)
escribió:

> On Fri, Feb 15, 2019 at 03:56:03PM +0100, Almudena Garcia wrote:
> > After a couple of changes, this assembly errors disappeared, but now It
> > show newer errors in the linker step.
>
> There's a "trick" in the building process that cherry picks functions
> from the C library when they're undefined in the kernel (correct me if
> I'm wrong about this). But when a symbol is undefined in both the kernel
> and the C library, the link just fails. The symbol in question here is
> APIC_LOCAL_APIC_ID. The fix should be obvious.
>
> --
> Richard Braun
>

Reply via email to