Skip to content
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

Cannot build rom rev48 with ca65 2.18 : "ld65: Error: Cannot use -Ln twice" #298

Open
FredBezies opened this issue Sep 7, 2024 · 2 comments

Comments

@FredBezies
Copy link

Hello.

I tried to build this morning rom rev 48 on my archlinux using ca65 2.18 and I got this error message:

INFO: unique module name text_input_ did not appear map file modules. We're going to wing it...
INFO: we're going to go with text_input_CODE_000B.
INFO: unique module name match_ did not appear map file modules. We're going to wing it...
INFO: we're going to go with match_BSS_0001_CODE_01C5.
ld65: Error: Cannot use -Ln twice
make: *** [Makefile:404: build/x16/basic.bin] Error 1

Any idea on how to fix this annoying issue? Thanks!

@FredBezies FredBezies changed the title Cannot build rom rev48 with ca65 2.18 : ld65: Error: Cannot use -Ln twice Cannot build rom rev48 with ca65 2.18 : "ld65: Error: Cannot use -Ln twice" Sep 7, 2024
@mooinglemur
Copy link
Contributor

Version 2.18 might be too old. I would recommend building the current git master of cc65 and using that, or at least try with 2.19.

@FredBezies
Copy link
Author

I tried with cc65 2.19 and it is the same issue. Strangely when I try to build on the last commit, it worked perfectly. Strange.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants