Mtgxyz

Fail Make log

Dec 6th, 2013
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.75 KB | None | 0 0
  1. [morten@MORTEN_PC MTGos]$ make
  2. nasm -f elf32 -g -o boot.o boot.asm
  3. gcc -m32 -Wall -g -fno-stack-protector -nostdinc -I./include -c -o bootloader.o bootloader.c
  4. nasm -f elf32 -g -o init.o init.asm
  5. gcc -m32 -Wall -g -fno-stack-protector -nostdinc -I./include -c -o main.o main.c
  6. In file included from main.c:16:0:
  7. ./include/print.h:81:6: Warnung: In Konflikt stehende Typen für eingebaute Funktion »putchar« [standardmäßig aktiviert]
  8. void putchar(char ch) {
  9. ^
  10. ./include/print.h:100:6: Warnung: In Konflikt stehende Typen für eingebaute Funktion »puts« [standardmäßig aktiviert]
  11. void puts(const char *s) {
  12. ^
  13. ./include/print.h: In Funktion »printf«:
  14. ./include/print.h:140:4: Warnung: Implizite Deklaration der Funktion »kputs« [-Wimplicit-function-declaration]
  15. kputs(s);
  16. ^
  17. ./include/print.h:160:4: Warnung: Implizite Deklaration der Funktion »putc« [-Wimplicit-function-declaration]
  18. putc('%'); // "%%" wird nicht ausgegeben als "" sondern als "%"
  19. ^
  20. ./include/print.h:170:7: Warnung: Implizite Deklaration der Funktion »kputc« [-Wimplicit-function-declaration]
  21. kputc(*fmt);
  22. ^
  23. main.c: Auf höchster Ebene:
  24. main.c:24:6: Warnung: Rückgabetyp von »main« ist nicht »int« [-Wmain]
  25. void main(unsigned short totalMem, unsigned char lowerMem, unsigned char upperMem, unsigned int fails)
  26. ^
  27. main.c:24:6: Warnung: erstes Argument von »main« sollte »int« sein [-Wmain]
  28. main.c:24:6: Warnung: zweites Argument von »main« sollte »char **« sein [-Wmain]
  29. main.c:24:6: Warnung: drittes Argument von »main« sollte wahrscheinlich »char **« sein [-Wmain]
  30. main.c:24:6: Warnung: »main« benötigt entweder null oder zwei Argumente [-Wmain]
  31. main.c: In Funktion »main«:
  32. main.c:28:3: Warnung: unbekanntes Konvertierungstyp-Zeichen »b« im Format [-Wformat=]
  33. printf("Zahl -1 in Base 36: %b%B", 36, -1);
  34. ^
  35. main.c:28:3: Warnung: unbekanntes Konvertierungstyp-Zeichen »B« im Format [-Wformat=]
  36. main.c:28:3: Warnung: zu viele Argumente für Format [-Wformat-extra-args]
  37. ld -melf_i386 -Ttext=0x7C00 -o kernel boot.o bootloader.o init.o main.o
  38. ld: warning: cannot find entry symbol _start; defaulting to 0000000000007c00
  39. bootloader.o: In function `init':
  40. /home/morten/MTGos/bootloader.c:81: undefined reference to `.1'
  41. main.o: In function `printf':
  42. /home/morten/MTGos/./include/print.h:140: undefined reference to `kputs'
  43. /home/morten/MTGos/./include/print.h:160: undefined reference to `putc'
  44. /home/morten/MTGos/./include/print.h:165: undefined reference to `putc'
  45. /home/morten/MTGos/./include/print.h:166: undefined reference to `putc'
  46. /home/morten/MTGos/./include/print.h:170: undefined reference to `kputc'
  47. Makefile:10: recipe for target 'kernel' failed
  48. make: *** [kernel] Error 1
  49. [morten@MORTEN_PC MTGos]$
Advertisement
Add Comment
Please, Sign In to add comment