bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error with gnumach compilation


From: Almudena Garcia
Subject: Re: Error with gnumach compilation
Date: Fri, 15 Feb 2019 17:11:04 +0100

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 (<rbraun@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

[Prev in Thread] Current Thread [Next in Thread]