Closed hjkit closed 6 months ago
Hello Wayne, I am not able to reply to your github mail :-( Here is my answer Hello Wayne, First of all, thank you for taking care of my problem. I am running the Debian variant Mint with an AMD Ryzan CPU. Here is the relevant Linux info:
Linux Version cat /etc/os-release NAME="Linux Mint" VERSION="21.2 (Victoria)" ID=linuxmint ID_LIKE="ubuntu debian" PRETTY_NAME="Linux Mint 21.2" VERSION_ID="21.2"
uname -a Linux Ryzan 5.15.0-91-generic
I have downloaded 3 packages and none of them I can compile successfully. They are:
Here is the output where it stops:
../../../Tools/Linux/zxcc ../../../Tools/cpm/bin80//SLR180 -xmhb/HF
../../../Tools/Linux/zxcc ../../../Tools/cpm/bin80//SLR180 -xmhb/HF zxcc: Cannot locate bios.bin
make[3]: *** [../../../Tools/Makefile.inc:104: xmhb.hex] Fehler 1
make[3]: Verzeichnis „/home/hajo/data/aaa-Local-Development/000-Z80/RomWBW/231205-RomWBW-v3.2.0-Package/Source/Apps/XM“ wird verlassen make[2]: [../../Tools/Makefile.inc:136: all] Fehler 2 make[2]: Verzeichnis „/home/hajo/data/aaa-Local-Development/000-Z80/RomWBW/231205-RomWBW-v3.2.0-Package/Source/Apps“ wird verlassen make[1]: [../Tools/Makefile.inc:136: all] Fehler 2 make[1]: Verzeichnis „/home/hajo/data/aaa-Local-Development/000-Z80/RomWBW/231205-RomWBW-v3.2.0-Package/Source“ wird verlassen make: *** [Makefile:3: all] Fehler 2
there is no log file !
../../../Tools/Linux/zxcc ../../../Tools/cpm/bin80//SLR180 -xmhb_old/HF
../../../Tools/Linux/zxcc ../../../Tools/cpm/bin80//SLR180 -xmhb_old/HF zxcc: Cannot locate bios.bin
make[3]: *** [../../../Tools/Makefile.inc:104: xmhb_old.hex] Fehler 1
make[3]: Verzeichnis „/home/hajo/data/aaa-Local-Development/000-Z80/RomWBW/231126-RomWBW-v3.2.1-Package/Source/Apps/XM“ wird verlassen make[2]: [../../Tools/Makefile.inc:136: all] Fehler 2 make[2]: Verzeichnis „/home/hajo/data/aaa-Local-Development/000-Z80/RomWBW/231126-RomWBW-v3.2.1-Package/Source/Apps“ wird verlassen make[1]: [../Tools/Makefile.inc:136: all] Fehler 2 make[1]: Verzeichnis „/home/hajo/data/aaa-Local-Development/000-Z80/RomWBW/231126-RomWBW-v3.2.1-Package/Source“ wird verlassen make: *** [Makefile:3: all] Fehler 2
It looks similar to be V3.2.0
No log file
Copying hd1k_prefix.dat to ../../Binary make[2]: Verzeichnis „/home/hajo/data/aaa-Local-Development/000-Z80/RomWBW/231205-RomWBW-v3.4.0-dev.27-Package/Source/Images“ wird verlassen make --directory HBIOS
Here the Makefile stops when generating the ROM images
Then I copied zxcc.c from RomWBW-v3.4.0-dev.27-Package/Tools/unix to
Here is the diff Output
readlink("/proc/self/exe", dir, CPM_MAXPATH - 8); /* allow room for bios.bin */
Now I started make clean and make in
Now the make runs through up to the ROM image build. It stops at the same point as with RomWBW-v3.4.0-dev.27-Package.
../../Tools/Linux/cpmchattr -f wbw_rom1024 rom1024_una.dat r 0:. make[2]: Verzeichnis „/home/hajo/data/aaa-Local-Development/000-Z80/RomWBW/231205-RomWBW-v3.2.0-Package/Source/RomDsk“ wird verlassen
I repeated the same for RomWBW-v3.2.1-Package
The make runs through to the ROM image build. It stops at the same point as RomWBW-v3.4.0-dev.27-Package.
make[2]: Verzeichnis „/home/hajo/data/aaa-Local-Development/000-Z80/RomWBW/231126-RomWBW-v3.2.1-Package/Source/RomDsk“ wird verlassen
My knowledge is not sufficient to analyze Build.sh.
No log files were generated during all my runs.
My last executable RomWBW version is RomWBW-v3.0.1-Package.
I hope this information is helpful for you.
Hi @hjkit,
Thank you for the additional information. It was very helpful.
In order to generate a log file when running make, you need to pipe the output to a file. For example:
make >make.log 2>&1
The change to zxcc.c
was a bug fix that only impacted a few versions of Linux. It appears that this bug does affect your version of Linux. By applying the fix to the older versions of RomWBW, the build got past that problem. That is a good. However, I recommend that you use the development branch (e.g., v3.4.0-dev.XX) to avoid this problem. The development branch is reliable at this point.
When you run make
without any parameters, the normal behavior is to prompt you to enter the platform and subsequently the configuration you want to build. It looks like this is what is happening and that is where the build stops (which is normal). At that point you just need to enter the platform and the build will continue.
To avoid getting the prompts, you can pass parameters to make
to specify the platform and configuration. For example, the following command will build the RCZ80 platform using the std configuration without prompting:
make ROM_PLATFORM=RCZ80 ROM_CONFIG=std
If your desire is to build all of the ROMs as in a full distribution build, you can use this command:
make dist
Thanks,
Wayne
Hi @hjkit,
I am checking on the status of this issue. Are you able to complete the build process OK now
Thanks,
Wayne
I am going to close this issue due to lack of activity. @hjkit, please reopen this issue if necessary.
Thanks,
Wayne
Hi @hjkit,
The distribution builds of RomWBW are all produced by an automated Linux build on GitHub. So, we just need to figure out why it is not working on your system.
Make sure you do a "make clean" in the top level directory before running a build.
I need some more information.
Thanks,
Wayne