Mr. Xsism: IDTkernel.zip

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
xxchrisxx

Mr. Xsism: IDTkernel.zip

Post by xxchrisxx »

I downloaded your kernel, and tryed to compile it with GCC on NetBSD. I get the following error:

idt.c: In function 'LoadIDTR':
idt.c:12: parse error before '*'
idt.c:13: 'IDTRptr' undeclared (first use in this function)

and I'm not sure what's wrong.
mr. xsism

Re:Mr. Xsism: IDTkernel.zip

Post by mr. xsism »

what the!? Hmmm, i haev had probs b4 with ppl compilinf with cygwin and ld giving an error(diff obj format) but never this. I thought i tested it on linux too. I'll check into it and get back soon. I gtg now. Thx for telling me....
User avatar
Neo
Member
Member
Posts: 842
Joined: Wed Oct 18, 2006 9:01 am

Re:Mr. Xsism: IDTkernel.zip

Post by Neo »

@xxchris: the IDTKernel.zip worked for me. I use windows. It helped understand the basics. Try understanding them even if they dont compile.
Only Human
User avatar
df
Member
Member
Posts: 1076
Joined: Fri Oct 22, 2004 11:00 pm
Contact:

Re:Mr. Xsism: IDTkernel.zip

Post by df »

if there is any inline asm in there (i presume, by its name there is a LIDT or something) then my guess is your gcc is not the same version as xsisms gcc...

gcc breaks inline asm nearly every version.. inline asm rules change too much with gcc...
-- Stu --
User avatar
Neo
Member
Member
Posts: 842
Joined: Wed Oct 18, 2006 9:01 am

Re:Mr. Xsism: IDTkernel.zip

Post by Neo »

whats the latest?
Only Human
xxchrisxx

Re:Mr. Xsism: IDTkernel.zip

Post by xxchrisxx »

I've got gcc-2.95 and btw xsism this is NetBSD not linux... there may be differences...
Post Reply