-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lesson 17 error #18
Comments
Hi Skeevert What platform/software versions are you using? I'm not getting any errors on: |
I can replicate the error if you remove the fullstop off one of the ".finished" labels on either line 23 or 34? |
Hi. I'm using Debian 9.9 32-bit and NASM 2.12.01. I also tried copying functions.asm and namespace.asm into online compiler, which led to the same error. Yes, removing fullstop also leads to redefinition error for other finished labels |
Hi Skeevert, I think you might be using a version of functions.asm which has a global "finished:" label in it. This file got refactored, you can see the line difference between lesson 15 & lesson 17 (slen function); If you put this code from lesson 17 (cut & pasted functions.asm + namespace.asm): Into this online nasm compiler: You'll see the correct output. Can you link to a paste of the code you're trying to execute please? |
If that's the case I think I might do one of 2 things;
|
Ah, I see. Thanks! I really had a global label "finished" in functions.asm |
Perfect, thanks for contacting me. I'll update the tutorial later this weekend to make that more clear. |
Trying to compile lesson 17 "namespace" results in error: symbol 'finished' redefined
The text was updated successfully, but these errors were encountered: