flat assembler
Message board for the users of flat assembler.

Index > Main > Strange error using 'dd' -- "invalid use of symbol"

Author
Thread Post new topic Reply to topic
ronware



Joined: 08 Jan 2004
Posts: 179
Location: Israel
ronware 21 Jan 2004, 19:00
The attached zip has code which is intended to run on linux and windows. Never mind that the Windows code is not correct at the moment, that's not the problem.

When I compile for linux, the code compiles fine. But the same code (except for the start file and the drivers file) doesn't compile for Windows.

Can anyone help me figure out the problem here? I can't see anything wrong Sad

Here is the FASM output (the sources are attached):

Code:
[C:\proj\f\private]fasm flin.asm f
flat assembler  version 1.50
LINUX build
4 passes, 5210 bytes.

[C:\proj\f\private]fasm fwin.asm f.exe
flat assembler  version 1.50
WINDOWS build
forth.asm [7]:
var 'h', h, h0
macros [135] var [2]:
        code qname,aname
macros [117] code [3]:
        dd vlink        ; link to previous word in vocab
error: invalid use of symbol.

[C:\proj\f\private]
    


Description: FASM 1.50 difference between linux and windows build
Download
Filename: fasm150dd.zip
Filesize: 9.22 KB
Downloaded: 871 Time(s)

Post 21 Jan 2004, 19:00
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8353
Location: Kraków, Poland
Tomasz Grysztar 21 Jan 2004, 19:31
Perhaps you are using the symbols that cannot be relocated.
I you know what you are doing, you can try the solution from this thread:
http://board.flatassembler.net/topic.php?t=37
Post 21 Jan 2004, 19:31
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.