Sorry I don't have a clue about Linux, but a quick look at the code your trying to assemble...
move.l 4.w,a6 ; execbase
cmp.b #50,VBlankFrequency(a6)
beq.s .pal
jmp I'm NTSC
.pal jmp I'm PAL
move.l GfxBase,a6
btst #2,gb_DisplayFlags(a6) ; Check for PAL
bne.s .pal
jmp I'm NTSC
.pal jmp I'm PALFirstly this would not assemble into anything useable even from the cli/shell. It needs routine's to print out on the cli/shell the result ie: PAL or NTSC. All this bit of code is for is to show you which bit's of the exec.library & graphics.library you would need to check in order to find out whether your Amiga is running in PAL or NTSC mode.
So unless you have the source code for the rest of the routines their is not much point in trying to assemble it at all, sorry...
