From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jody Bruchon Subject: Re: [PATCH] Changes to reduce warnings using ia16-unknown-elks-gcc Date: Sat, 13 Jun 2015 10:25:20 -0400 Message-ID: <557C3D50.8070306@jodybruchon.com> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-8086-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: ELKS On 2015/06/02 11:10, Juan Perez-Sanchez wrote: > The previous patch has a problem. Attached to this mail is the correct > patch. Sorry for the inconvenience. > > Juan > This patch causes ELKS to fail to build due to missing symbols. Make sure you run 'make clean' in the elks/elks directory (better yet, run './build.sh clean') before you run a test build to reset the build state. Can you fix it back up and send me a patch? I've already committed all your patches to my repo and I'll send it up to Github in case you want to sync with what I've got. Here's the failure output: make[3]: Leaving directory `/home/daivox/projects/github/elks/elks/arch/i86/lib' (cd ../.. ; ld86 -0 -i -t -M \ arch/i86/boot/crt0.o arch/i86/boot/crt1.o \ init/main.o kernel/kernel.a fs/fs.a lib/lib.a net/net.a fs/minix/minixfs.a arch/i86/kernel/akernel.a arch/i86/lib/lib86.a arch/i86/mm/mm.a arch/i86/drivers/char/chr_drv.a arch/i86/drivers/block/blk_drv.a \ -o arch/i86/boot/system > System.tmp ; \ sort -k4 System.tmp > System.map ; rm -f System.tmp ) undefined symbol: _sys_dlload undefined symbol: _no_syscall tools/build boot/bootsect boot/setup boot/system > boot/Image Root device is (3, -128) Boot sector 512 bytes. Setup is 1660 bytes. Unable to open 'system' make[2]: *** [Image] Error 1 make[2]: Leaving directory `/home/daivox/projects/github/elks/elks/arch/i86' make[1]: *** [Image] Error 2 make[1]: Leaving directory `/home/daivox/projects/github/elks/elks' make: *** [elks] Error 2 Build script has terminated with error 4