A little experimentation has revealed that it doesn't seem to be the "rel" keyword that is causing the problem, but the dot on ".LC0" etc. Nasm can't find that local label (apparently out of scope). As for the "absolute address can't be RIP relative", it seems Nasm "always says that" if it can't find the symbol. Or so it seems to me, at this point. The dword data does not seem to be a problem.
So I think what you're going to have to do is figure out which variable those lines are referencing, and make the names match. If "LC0", "LC1", etc are not duplicated it may be as simple as removing the dots. If they are, the "full names" in the "undefined" errors may give a clue to which one you want. (although that seems weird to me) If you can discern the "purpose" of these variables, now might be a good time to give them meaningful names.
Best,
Frank