This is defined in imps/cpu_number.h , included in kern/cpu_number.h I've disabled the ASSEMBLY macro, but the error continues
El vie., 15 feb. 2019 a las 3:20, James Clarke (<jrt...@jrtc27.com>) escribió: > On 15 Feb 2019, at 00:48, Almudena Garcia <liberamenso10...@gmail.com> > wrote: > > > > Hi all: > > > > I'm doing some experiments with my GNUMach SMP fork, and now I'm trying > to recover old imps files. > > > > But, when I try to compile this, It shows an assembly error in cswitch.S > (attach file) > > > > ../i386/i386/cswitch.S: Mensajes del ensamblador: > > ../i386/i386/cswitch.S:42: Error: carácter inválido '(' en el mnemónico > > ../i386/i386/cswitch.S:60: Error: carácter inválido '(' en el mnemónico > > ../i386/i386/cswitch.S:112: Error: carácter inválido '(' en el mnemónico > > make: *** [Makefile:4804: i386/i386/cswitch.o] Error 1 > > > > My full code is here: https://github.com/AlmuHS/GNUMach_SMP/tree/wip > > > > Can you help me to find the error? > > Your cpu_number.h doesn't define CPU_NUMBER for NCPUS > 1. > > James > >