OSDev.org https://forum.osdev.org/ |
|
kernel.cpp Undefined Reference Error https://forum.osdev.org/viewtopic.php?f=13&t=56270 |
Page 1 of 1 |
Author: | iansjack [ Sat May 07, 2022 9:39 am ] |
Post subject: | Re: kernel.cpp Undefined Reference Error |
You cannot keep coming here and asking people to solve every trivial error you encounter. I sincerely hope that no-one is stupid enough to spoon-feed you the answer. |
Author: | Demindiro [ Sat May 07, 2022 9:44 am ] |
Post subject: | Re: kernel.cpp Undefined Reference Error |
Mehmet, this is already the 10th topic where you show no sign of having tried to understand the issue on your own, let alone solve it. All you do is recite the error and paste a lot of code each time. It seems you do not even know how to copy an error from a terminal. I suggest you: a) Read the forum rules. Specifically, they state that: Quote: We are not here to babysit new programmers. Operating system development requires academic thinking and a large amount of knowledge. If you don't have the required knowledge then you may learn faster elsewhere. b) Learn C++ and assembly outside an OS development context. With the knowledge you have demonstrated so far you will end up nowhere and only achieve endless frustration. |
Author: | Mehmetdev1 [ Sat May 07, 2022 10:33 am ] |
Post subject: | Re: kernel.cpp Undefined Reference Error |
I am writing the codes in the development video series of your operating system https://www.youtube.com/watch?v=1rnA6wpF0o4 and I am trying to solve the error, I am opening a topic for the errors that I cannot find. |
Author: | iansjack [ Sat May 07, 2022 10:56 am ] |
Post subject: | Re: kernel.cpp Undefined Reference Error |
You should learn how to program rather than blindly following a tutorial. That tutorial is not connected with these forums. |
Author: | nullplan [ Sat May 07, 2022 12:10 pm ] |
Post subject: | Re: kernel.cpp Undefined Reference Error |
Mehmetdev1 wrote: I am writing the codes in the development video series of your operating system https://www.youtube.com/watch?v=1rnA6wpF0o4 and I am trying to solve the error, I am opening a topic for the errors that I cannot find. Maybe a dumb question, but why do you keep following a tutorial after finding out it has errors? Whoever put it together obviously didn't care enough to ensure correctness, so what are you going to learn from it? Plus, if there are errors in it a compiler can find, maybe there are also errors in it a compiler can't find, and then what do you do?
|
Author: | davmac314 [ Sat May 07, 2022 6:45 pm ] |
Post subject: | Re: kernel.cpp Undefined Reference Error |
In general, people will be happy to help you learn and understand concepts, but nobody wants to repeatedly fix trivial compilation and link errors for you, and it's annoying when you ask for it. You could solve this problem yourself if you learned the underlying concepts - what is linking, how does it work. Go and read up on that. Try some things out to test and build your understanding. Come back if you need clarification on any concept with specific, detailed questions. I'm personally happy to help you with understanding things, but I'm not happy to help you fix errors when you clearly don't understand what the problem is or why the fix works; that's not fulfilling. I'm sure others here feel the same way. |
Author: | Ethin [ Sun May 08, 2022 8:26 pm ] |
Post subject: | Re: kernel.cpp Undefined Reference Error |
I've just stopped trying to help at this point and usually just read the topics in question or skip them because the OP continues to show that they either cannot or will not figure out these trivial problems on their own -- which is half the battle of programming and part of what makes a good programmer to begin with. I sincerely hope that the OP develops the inclination necessary to actually learn how to code instead of blindly following what people tell them to do online. Part of learning how to code is getting your own initiative. You can have a ton of unfinished projects, but one thing you must do is practice, continuously. I'm not trying to be rude but this is getting ridiculous, and I wouldn't be surprised if the OP walks away from programming because they got too frustrated, and it was primarily due to their own refusal to try to resolve the problems themselves instead of an actual issue that was extremely difficult to solve. Like I said: trying not to be rude, but this is getting irritating. |
Author: | iansjack [ Sun May 08, 2022 11:38 pm ] |
Post subject: | Re: kernel.cpp Undefined Reference Error |
To be fair, I think I’ve seen this before. Because the tutorial references osdev.org some people think that these forums are the place to ask questions about the tutorial. Just to emphasise again; the tutorial that the OP is following is nothing to do with these forums. Even if it were, the questions are trivial problems caused by copying errors on the part of the OP. Read error messages from the compiler - they normally tell you what and where the mistake is. No-one should ever need to ask “Why does the compiler tell me there is a missing ‘;’”. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |