medley icon indicating copy to clipboard operation
medley copied to clipboard

build maiko fails -DRELEASE=201

Open masinter opened this issue 2 years ago • 6 comments

I thought I would try to compile for release 201 (following inc/versions.h) and I edited makefile-linux.x86_64-x changing 351 to 201.

o ../linux.x86_64-x/rplcons.o
../src/rplcons.c:47:10: warning: implicit declaration of function 'POINTER_PAGE' is invalid in C99 [-Wimplicit-function-declaration]
  page = POINTER_PAGE(list);
         ^
../src/rplcons.c:51:5: warning: implicit declaration of function 'GCLOOKUP' is invalid in C99 [-Wimplicit-function-declaration]
    GCLOOKUP(item, ADDREF);
    ^
../src/rplcons.c:51:20: error: use of undeclared identifier 'ADDREF'
    GCLOOKUP(item, ADDREF);
                   ^
../src/rplcons.c:52:25: error: use of undeclared identifier 'DELREF'
    GCLOOKUP(cdr(list), DELREF);
                        ^
2 warnings and 2 errors generated.

same error with or without cast-align.

You said you had done this not long ago, so I'm wondering if I'm doing something wrong.

masinter avatar Sep 08 '22 19:09 masinter

Couple of missing include files when it's version 201 because it's NOT BIGVM and NOT NEWCDRCODING. I've pushed a branch named build-201 which will compile (at least it does for me).

If you want to build sysouts you'll need a version 201 sysout to start from...

DON'T merge this branch.

nbriggs avatar Sep 08 '22 19:09 nbriggs

p.s., you'll still need to change the RELEASE for Linux, I only included 201 in the darwin versions I built on my mac. (luckily, I've managed to tether my phone to my mac, have a minimal signal, and have 20 minutes to spare after lunch)

nbriggs avatar Sep 08 '22 19:09 nbriggs

Alas, no response to keyboard or mouse running on linux pi to Windows/WSL.At least I can try Loops on Hemlock and see if it runs Truckin.

masinter avatar Sep 08 '22 22:09 masinter

Yeah, same on my mac. I had did get the screen up, though, and the cursor blinking -- but any input or mouse click caused it to go away. It will take more debugging than I can do here.

You might want to clone and rebuild on hemlock -- the /usr/local/ versions there are not up to date (as far as I know). I have never seen different behavior on hemlock vs my mac -- I seriously doubt that's the problem with Loops/Truckin. It's coming up with unnamed players (when it creates them and says NIL as the name) it's going to fail when it tries to use NIL as the object name for the target of any operations.

nbriggs avatar Sep 08 '22 23:09 nbriggs

see #260 and https://github.com/masinter/homedir/blob/master/LOADLOOPS.DRIBBLE

@skaisler1

masinter avatar Sep 09 '22 04:09 masinter