Hi, When trying to build c-stubdom from the stubdoms directory, I get [...] ld -r -nostdlib -L/home/vb/code/xen/stubdom/cross-root-x86_64/x86_64-xen-elf/lib -m elf_x86_64 /home/vb /code/xen/stubdom/mini-os-x86_64-c/arch/x86/x86_64.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/mini-os_ app.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/blkfront.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/ events.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/fbfront.o /home/vb/code/xen/stubdom/mini-os-x86_64-c /gntmap.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/gnttab.o /home/vb/code/xen/stubdom/mini-os-x86_64-c /hypervisor.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/kernel.o /home/vb/code/xen/stubdom/mini-os-x86_ 64-c/lock.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/main.o /home/vb/code/xen/stubdom/mini-os-x86_64-c /mm.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/netfront.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/s ched.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/test.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/lib/ ctype.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/lib/math.o /home/vb/code/xen/stubdom/mini-os-x86_64-c /lib/printf.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/lib/stack_chk_fail.o /home/vb/code/xen/stubdom/ mini-os-x86_64-c/lib/string.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/lib/sys.o /home/vb/code/xen/stu bdom/mini-os-x86_64-c/lib/xmalloc.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/lib/xs.o /home/vb/code/xe n/stubdom/mini-os-x86_64-c/xenbus/xenbus.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/console/console.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/console/xencons_ring.o /home/vb/code/xen/stubdom/mini-os-x86_ 64-c/console/xenbus.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/lwip.a -L/home/vb/code/xen/stubdom/mini -os-x86_64-c/arch/x86 -lx86_64 -lc -o /home/vb/code/xen/stubdom/mini-os-x86_64-c/mini-os.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/test.o: In function `app_main'': /home/vb/code/xen/extras/mini-os/test.c:542: multiple definition of `app_main'' /home/vb/code/xen/stubdom/mini-os-x86_64-c/main.o:/home/vb/code/xen/extras/mini-os/main.c:187: first def ined here Apparently too many files are linked, but I’m no expert. Thanks in advance, Vincent.
Hi, When trying to build c-stubdom from the stubdoms directory, I get [...] ld -r -nostdlib -L/home/vb/code/xen/stubdom/cross-root-x86_64/x86_64-xen-elf/lib -m elf_x86_64 /home/vb /code/xen/stubdom/mini-os-x86_64-c/arch/x86/x86_64.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/mini-os_ app.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/blkfront.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/ events.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/fbfront.o /home/vb/code/xen/stubdom/mini-os-x86_64-c /gntmap.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/gnttab.o /home/vb/code/xen/stubdom/mini-os-x86_64-c /hypervisor.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/kernel.o /home/vb/code/xen/stubdom/mini-os-x86_ 64-c/lock.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/main.o /home/vb/code/xen/stubdom/mini-os-x86_64-c /mm.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/netfront.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/s ched.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/test.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/lib/ ctype.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/lib/math.o /home/vb/code/xen/stubdom/mini-os-x86_64-c /lib/printf.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/lib/stack_chk_fail.o /home/vb/code/xen/stubdom/ mini-os-x86_64-c/lib/string.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/lib/sys.o /home/vb/code/xen/stu bdom/mini-os-x86_64-c/lib/xmalloc.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/lib/xs.o /home/vb/code/xe n/stubdom/mini-os-x86_64-c/xenbus/xenbus.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/console/console.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/console/xencons_ring.o /home/vb/code/xen/stubdom/mini-os-x86_ 64-c/console/xenbus.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/lwip.a -L/home/vb/code/xen/stubdom/mini -os-x86_64-c/arch/x86 -lx86_64 -lc -o /home/vb/code/xen/stubdom/mini-os-x86_64-c/mini-os.o /home/vb/code/xen/stubdom/mini-os-x86_64-c/test.o: In function `app_main'': /home/vb/code/xen/extras/mini-os/test.c:542: multiple definition of `app_main'' /home/vb/code/xen/stubdom/mini-os-x86_64-c/main.o:/home/vb/code/xen/extras/mini-os/main.c:187: first def ined here Apparently too many files are linked, but I’m no expert. Thanks in advance, Vincent.