News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_JohnElliott

JOYCE releases

Started by JohnElliott, 23:01, 03 August 22

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

CPCBEGIN

I try to compile xjoyce/xanne 2.5.4 in Debian 13 with these commands:
sudo apt install build-essential pkg-config libsdl1.2-dev libpng-dev libxml2-dev zlib1g-dev
wget -c http://www.seasip.info/Unix/Joyce/joyce-2.5.4.tar.gz
tar zxvf joyce-2.5.4.tar.gz
cd joyce-2.5.4
./configure
make clean
make

But I get this error:
g++ -DHAVE_CONFIG_H -I. -I..  -I../765/include -I../SdlTerm  -I../Xbm -I../SdSdl -I../guest -I/opt/linuxutils/retromultiinstaller/tmp/joyce-2.5.4 -I/opt/linuxutils/retromultiinstaller/tmp/joyce-2.5.4/cpmredir/include -I/opt/linuxutils/retromultiinstaller/tmp/joyce-2.5.4/LibLink/include -DALIBROOT=/usr/local/share/Joyce  -I/opt/linuxutils/retromultiinstaller/tmp/joyce-2.5.4/LibDsk/include -DAUTOSHARE=/usr/local/share/LibDsk -DHAVE_LIBDSK_H=1 -DNOTWINDLL -I/opt/linuxutils/retromultiinstaller/tmp/joyce-2.5.4/765/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -g -O2  -I/usr/include/libxml2 -MT PcwGSX.o -MD -MP -MF .deps/PcwGSX.Tpo -c -o PcwGSX.o PcwGSX.cxx
mv -f .deps/PcwGSX.Tpo .deps/PcwGSX.Po
g++ -DHAVE_CONFIG_H -I. -I..  -I../765/include -I../SdlTerm  -I../Xbm -I../SdSdl -I../guest -I/opt/linuxutils/retromultiinstaller/tmp/joyce-2.5.4 -I/opt/linuxutils/retromultiinstaller/tmp/joyce-2.5.4/cpmredir/include -I/opt/linuxutils/retromultiinstaller/tmp/joyce-2.5.4/LibLink/include -DALIBROOT=/usr/local/share/Joyce  -I/opt/linuxutils/retromultiinstaller/tmp/joyce-2.5.4/LibDsk/include -DAUTOSHARE=/usr/local/share/LibDsk -DHAVE_LIBDSK_H=1 -DNOTWINDLL -I/opt/linuxutils/retromultiinstaller/tmp/joyce-2.5.4/765/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -g -O2  -I/usr/include/libxml2 -MT PcwGuest.o -MD -MP -MF .deps/PcwGuest.Tpo -c -o PcwGuest.o PcwGuest.cxx
PcwGuest.cxx: In member function 'virtual void PcwGuest::yield()':
PcwGuest.cxx:479:9: error: 'sched_yield' was not declared in this scope
  479 |        sched_yield();
      |        ^~~~~~~~~~~
make[2]: *** [Makefile:797: PcwGuest.o] Error 1
make[2]: se sale del directorio '/opt/linuxutils/retromultiinstaller/tmp/joyce-2.5.4/bin'
make[1]: *** [Makefile:433: all-recursive] Error 1
make[1]: se sale del directorio '/opt/linuxutils/retromultiinstaller/tmp/joyce-2.5.4'
make: *** [Makefile:365: all] Error 2

I think than I need any extra package, any idea?

Thanks in advance.
Retro & opensource

robcfg

Try adding the following include to PcwGuest.cxx : #include <sched.h>

It doesn't look like a package issue as the scheduler is part of the kernel.

Powered by SMFPacks Menu Editor Mod