Page 1 of 1
Mr. Xsism: IDTkernel.zip
Posted: Sat Dec 06, 2003 4:10 pm
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.
Re:Mr. Xsism: IDTkernel.zip
Posted: Sun Dec 07, 2003 10:34 am
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....
Re:Mr. Xsism: IDTkernel.zip
Posted: Sun Dec 07, 2003 12:01 pm
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.
Re:Mr. Xsism: IDTkernel.zip
Posted: Sun Dec 07, 2003 12:11 pm
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...
Re:Mr. Xsism: IDTkernel.zip
Posted: Sun Dec 07, 2003 12:27 pm
by Neo
whats the latest?
Re:Mr. Xsism: IDTkernel.zip
Posted: Sun Dec 07, 2003 2:44 pm
by xxchrisxx
I've got gcc-2.95 and btw xsism this is NetBSD not linux... there may be differences...