|
-
October 26th, 2011, 08:01 PM
#1
L2025 error
error L2025: sub_10 : symbol defined more than once
This function exists only once. But how come this error occurs?
I don't have .386 directive.
Thanks
Jack
-
October 26th, 2011, 08:34 PM
#2
Re: L2025 error
Just coming back with more problems.
If I have a long list of file awaiting to be assembled, I can't feed them directly into the command line.
What can I do if I need to assemble 100+ files all at once?
Thanks
Jack
-
October 26th, 2011, 08:58 PM
#3
Re: L2025 error
 Originally Posted by lucky6969b
error L2025: sub_10 : symbol defined more than once
This function exists only once. But how come this error occurs?
I don't have .386 directive.
Thanks
Jack
I can get away with this one. Thanks
-
October 27th, 2011, 06:59 AM
#4
Re: L2025 error
 Originally Posted by lucky6969b
What can I do if I need to assemble 100+ files all at once?
As probably all the files are to be assembled with the same set of command line parameters, I think it's not too much effort (and needs to be done only once) to create a batch file for that with an ordinary editor. You get rid of the most tideous part of typing in all the file names by starting with a text file listing all the files created by a DOS command like dir /b *.asm >filelist.txt.
If you have a make tool (and know how to use it), of course you can write a make file instead of a batch file. That would drastically cut down build time when just a few of the source files have been changed.
I was thrown out of college for cheating on the metaphysics exam; I looked into the soul of the boy sitting next to me.
This is a snakeskin jacket! And for me it's a symbol of my individuality, and my belief... in personal freedom.
-
October 27th, 2011, 08:22 AM
#5
Re: L2025 error
fatal error L1102: unexpected end-of-file
I got this error too. When I add a message to a function. Beforehand, the original program assembles and links.
My code added
Code:
seg_b segment word public
mess db 'sub_10', 13, 10 <<< I add this line here
proc_X proc far
.....
The file format seems to be incorrect, however, I have used and not used the /omf switch to no avail.
Last edited by lucky6969b; October 27th, 2011 at 08:30 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|