[SOLVED] Error while adding another function.

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
User avatar
gravity0
Posts: 16
Joined: Fri Jan 09, 2009 8:47 am
Location: Belluno, Italy
Contact:

[SOLVED] Error while adding another function.

Post by gravity0 »

Hello everybody,
I am currently working on my kernel written in C and ASM (x86 32-bit) when I came across a problem while compiling a new kernel version (that sets up a GDT on startup)... I got that my main.o file (compiled from main.c, the kernel entry point) has a undefined reference to "monitor_write_dec" (used to print decimal numbers, monitor.c). I still have some other funcion in monitor.c and they are all working (such as "monitor_write", used to print a string).

I have attached a screen of my command prompt when I try to compile it.

I cannot come over this problem by myself since i am not able to see what's going on. Any help will be much appreciated.


Thanks in advice,

Mattias

EDIT: by commenting out the line with that function, everything is working fine!
Attachments
error.JPG
Last edited by gravity0 on Tue Aug 25, 2009 8:09 am, edited 1 time in total.
apollo
Posts: 2
Joined: Mon Aug 24, 2009 6:33 pm
Location: Earth, Europe, Germany, Heidelberg

Re: Error while adding another function.

Post by apollo »

source? :-)
User avatar
gravity0
Posts: 16
Joined: Fri Jan 09, 2009 8:47 am
Location: Belluno, Italy
Contact:

Re: Error while adding another function.

Post by gravity0 »

Solved... It was just a typo.... Damn it! #-o
Post Reply