Still Yet another Sokoban Make-problem
I hav got a problem with the game "Still Yet another Sokoban"
Code:
lars@lars-lenovo-b50-30 ~/Downloads/Programme/Linux/Spiele/syasokoban-2.0.1 $ make Thanks Lars |
Code:
Error: 'chdir' was not declared in this scope Code:
#include <unistd.h> |
I added the line in Main.cpp.
Here the Screeenoutput: Code:
lars@lars-lenovo-b50-30 ~/Downloads/Programme/Linux/Spiele/syasokoban-2.0.1 $ make |
see man atoi, man strchr ... to find out which includes are required
|
Quote:
Please make it slow, I'm beginner in matters of linux sabayon. |
type: man atoi (or man 3 atoi) and you will see at the beginning:
Code:
ATOI(3) Linux Programmer's Manual ATOI(3) |
I added the line
Code:
#include <stdlib.h> The Output: Code:
lars@lars-lenovo-b50-30 ~/Downloads/Programme/Linux/Spiele/syasokoban-2.0.1 $ make |
see post #4
|
I haven't got the "man atoi"-command .
Code:
lars@lars-lenovo-b50-30 ~ $ man atoi |
but you can check my post and also you can look for that man page on the net.
|
I have the libs in djsettings.cpp.
The Output: Code:
lars@lars-lenovo-b50-30 ~/Downloads/Programme/Linux/Spiele/syasokoban-2.0.1 $ make |
there are still several errors:
put -fPIC -pthread into CFLAGS (or similar probably) I do not really know because I did not see that makefile do not use -lpthread. |
Syasokoban-2.0.1 builds OK with e.g. gcc-4.9.2 :
syasokoban-gcc43.patch sed -i '13i #include <unistd.h>' src/Main.cpp From http://download.opensuse.org/reposit....1-9.1.src.rpm >>> The file syasokoban.spec - |
That doesn't work.
The Windowsversion from SYAsokoban works. |
Quote:
Quote:
|
All times are GMT -5. The time now is 05:25 PM. |