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

Does it compile? #2

Open
adotsch opened this issue Oct 20, 2022 · 0 comments
Open

Does it compile? #2

adotsch opened this issue Oct 20, 2022 · 0 comments

Comments

@adotsch
Copy link

adotsch commented Oct 20, 2022

The project does not compile with a recent version of cc65:

~/private$ docker run -it --rm adotsch/dev6502
[~] $ git clone http://github.com/steph72/wolves.git
Cloning into 'wolves'...
warning: redirecting to https://github.com/steph72/wolves.git/
remote: Enumerating objects: 274, done.
remote: Counting objects: 100% (274/274), done.
remote: Compressing objects: 100% (131/131), done.
remote: Total 274 (delta 130), reused 246 (delta 110), pack-reused 0
Receiving objects: 100% (274/274), 243.46 KiB | 2.06 MiB/s, done.
Resolving deltas: 100% (130/130), done.
[~] $ make -C wolves/
make: Entering directory '/home/dev/wolves'
make TARGETS=c64 all
make[1]: Entering directory '/home/dev/wolves'
Using saved OPTIONS=optsize
mkdir -p obj/c64
cl65 -t c64 -c --create-dep obj/c64/commonIO.d -Or -o obj/c64/commonIO.o src/commonIO.c
src/commonIO.c:209: Warning: Incomplete array 'wtitle[]' assumed to have one element
src/commonIO.c:209: Warning: Incomplete array 'helpPages[]' assumed to have one element
cl65 -t c64 -c --create-dep obj/c64/highscore.d -Or -o obj/c64/highscore.o src/highscore.c
cl65 -t c64 -c --create-dep obj/c64/levels.d -Or -o obj/c64/levels.o src/levels.c
cl65 -t c64 -c --create-dep obj/c64/title.d -Or -o obj/c64/title.o src/title.c
cl65 -t c64 -c --create-dep obj/c64/utils.d -Or -o obj/c64/utils.o src/utils.c
cl65 -t c64 -c --create-dep obj/c64/wolves.d -Or -o obj/c64/wolves.o src/wolves.c
cl65 -t c64 -c --create-dep obj/c64/io.d -Or -o obj/c64/io.o src/c64/io.c
src/c64/io.c:130: Warning: Variable 'cColor' is defined but never used
src/c64/io.c:141: Warning: Incomplete array 'wtitle[]' assumed to have one element
src/c64/io.c:141: Warning: Incomplete array 'helpPages[]' assumed to have one element
cl65 -t c64  -o bin/wolves.c64 -C src/c64/c64.cfg obj/c64/commonIO.o obj/c64/highscore.o obj/c64/levels.o obj/c64/title.o obj/c64/utils.o obj/c64/wolves.o obj/c64/io.o
ld65: Error: Duplicate external identifier: '_helpPages'
make[1]: *** [Makefile:303: bin/wolves.c64] Error 1
make[1]: Leaving directory '/home/dev/wolves'
make: *** [Makefile:319: all] Error 2
make: Leaving directory '/home/dev/wolves'
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

1 participant