Skip to content

Instantly share code, notes, and snippets.

@AmaanC AmaanC/appstart.o-build.log Secret
Last active Mar 10, 2018

Embed
What would you like to do?
amaan@asus-ubuntu [06:24:44 IST] [/media/commonhdd/repos/rtems/b-i386-smp-fresh/i386-rtems5/c/pc586-sse/lib/libbsp/i386/pc386]
-> % make appstart.o
i386-rtems5-ld -N -T ../../../../../../../../kernel/c/src/lib/libbsp/i386/pc386/startup/linkcmds \
-Ttext 0x70000 -e app_processor_start -nostdlib \
-o appstart_tmp.exe appcpustart.o
start.o: In function `zero_bss':
/home/amaan/repos/rtems/b-i386-smp-fresh/i386-rtems5/c/pc586-sse/lib/libbsp/i386/pc386/../../../../../../../../kernel/c/src/lib/libbsp/i386/pc386/start/start.S:207: undefined reference to `_IBMPC_initVideo'
/home/amaan/repos/rtems/b-i386-smp-fresh/i386-rtems5/c/pc586-sse/lib/libbsp/i386/pc386/../../../../../../../../kernel/c/src/lib/libbsp/i386/pc386/start/start.S:210: undefined reference to `vesa_realmode_bootup_init'
/home/amaan/repos/rtems/b-i386-smp-fresh/i386-rtems5/c/pc586-sse/lib/libbsp/i386/pc386/../../../../../../../../kernel/c/src/lib/libbsp/i386/pc386/start/start.S:217: undefined reference to `checkCPUtypeSetCr0'
/home/amaan/repos/rtems/b-i386-smp-fresh/i386-rtems5/c/pc586-sse/lib/libbsp/i386/pc386/../../../../../../../../kernel/c/src/lib/libbsp/i386/pc386/start/start.S:235: undefined reference to `boot_card'
start.o: In function `enable_sse':
/home/amaan/repos/rtems/b-i386-smp-fresh/i386-rtems5/c/pc586-sse/lib/libbsp/i386/pc386/../../../../../../../../kernel/c/src/lib/libbsp/i386/pc386/start/start.S:249: undefined reference to `x86_capability'
start.o: In function `_sse_panic':
/home/amaan/repos/rtems/b-i386-smp-fresh/i386-rtems5/c/pc586-sse/lib/libbsp/i386/pc386/../../../../../../../../kernel/c/src/lib/libbsp/i386/pc386/start/start.S:281: undefined reference to `printk'
start.o: In function `start':
/home/amaan/repos/rtems/b-i386-smp-fresh/i386-rtems5/c/pc586-sse/lib/libbsp/i386/pc386/../../../../../../../../kernel/c/src/lib/libbsp/i386/pc386/start/start.S:170: undefined reference to `_load_segments'
Makefile:2227: recipe for target 'appstart.o' failed
make: *** [appstart.o] Error 1
amaan@asus-ubuntu [06:24:45 IST] [/media/commonhdd/repos/rtems/b-i386-smp-fresh/i386-rtems5/c/pc586-sse/lib/libbsp/i386/pc386]
-> % make appstart.o # note the -r flag
i386-rtems5-ld -r -N -T ../../../../../../../../kernel/c/src/lib/libbsp/i386/pc386/startup/linkcmds \
-Ttext 0x70000 -e app_processor_start -nostdlib \
-o appstart_tmp.exe appcpustart.o
i386-rtems5-objcopy -O binary appstart_tmp.exe appstart.bin
i386-rtems5-objcopy -I binary -O elf32-i386 -B i386 appstart.bin appstart.o
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.