Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@debian:/home/fabian/mikrOS# make -B
- gcc -m32 -Wall -g -fno-stack-protector -nostdinc -c -o os/gdt.o os/gdt.c
- os/gdt.c:3: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gdt’
- os/gdt.c: In function ‘init_gdt’:
- os/gdt.c:19: warning: implicit declaration of function ‘set_entry’
- os/gdt.c:29: warning: implicit declaration of function ‘load_gdt’
- os/gdt.c: At top level:
- os/gdt.c:32: warning: conflicting types for ‘load_gdt’
- os/gdt.c:29: note: previous implicit declaration of ‘load_gdt’ was here
- os/gdt.c: In function ‘load_gdt’:
- os/gdt.c:34: error: expected specifier-qualifier-list before ‘uint16_t’
- os/gdt.c:37: error: unknown field ‘limit’ specified in initializer
- os/gdt.c:37: warning: excess elements in struct initializer
- os/gdt.c:37: warning: (near initialization for ‘gdtp’)
- os/gdt.c:38: error: unknown field ‘pointer’ specified in initializer
- os/gdt.c:38: error: ‘gdt’ undeclared (first use in this function)
- os/gdt.c:38: error: (Each undeclared identifier is reported only once
- os/gdt.c:38: error: for each function it appears in.)
- os/gdt.c:38: warning: excess elements in struct initializer
- os/gdt.c:38: warning: (near initialization for ‘gdtp’)
- os/gdt.c:50: error: expected ‘;’ before ‘}’ token
- os/gdt.c:60: error: expected declaration or statement at end of input
- make: *** [os/gdt.o] Fehler 1
Advertisement
Add Comment
Please, Sign In to add comment