Using grep, I've found *local_bh_count* and *local_irq_count. ffs *is defined correctly.
But I don't find the *intel_startCPU* definition. In *i386/i386/mp_desc.c *there are many calls to this, but It doesn't appear to be in any file. Do you know about this? 2018-07-03 17:49 GMT+02:00 Almudena Garcia <[email protected]>: > I've just tried to add this functions in Makefile.am, in clib_routines, as > this form > > clib_routines := htonl htons ntohl ntohs \ > udivdi3 __udivdi3 __udivmoddi4 __umoddi3 \ > __divdi3 \ > __rel_iplt_start __rel_iplt_end \ > __ffsdi2 \ > ffs intel_startCPU local_bh_count local_irq_count \ > _START _start etext _edata end _end # actually ld magic, > not li$ > > > But now It shows this error (attached file) > > Feels that It's necessary to define this functions but I don't know where > these functions are located. > > How can I define this? > > > 2018-07-03 13:00 GMT+02:00 <[email protected]>: > >> Thanks, I'll try it >> >> El Martes 3 de julio de 2018, Luca Dariz escribió: >> > Hello! >> > >> > Il 28/06/2018 20:31, Almudena Garcia ha scritto: >> > > Now the compiler gets the gnumach.o, but It returns another linker >> error. >> > > I attach logs also. >> > > >> > > >> > > How can I solve this? >> > >> > From the last lines of the log >> > >> > ... >> > ffs >> > intel_startCPU >> > local_bh_count >> > local_irq_count >> > ... >> > >> > these four functions are missing, see the code at lines 167-187 of >> > Makefile.am, probably they require a SMP-aware version. >> > >> > Cheers >> > Luca >> > >> >> -- >> Enviado desde mi Jolla >> > >
