I'm trying to port something over from linux world. Made some makefiles on the pc/linux. Tranfered it to the amiga. After replacing some bash with sh and gawt with nawt i can now run make. But i get some errors with sigc++. Seems to be many related to sigc++.
In file included from ./../../protocol/extensions.h:47,
from ./../../protocol/peer_connection_base.h:47,
from block.cc:44:
./../../torrent/download_info.h:43:27: error: sigc++/signal.h: No such file or directory
Seems that this signal.h doesn't exist. Hmmm.. Any help?
And this one,is it ok or need to change and into what? :)
build_triplet = i686-pc-linux-gnu
host_triplet = i686-pc-linux-gnu
That is wrong. "build" mean the platform on which you are runing the build process, and if you do it on linux then that part can be ok as you already have: build_triplet = i686-pc-linux-gnu, but if that on amigaos4, then should be ppc-amigaos. As about "host", it mean a platform on which builded stuff will runs, so in your case should be host_triplet = ppc-amigaos (and does not matter if that will be on cross-compiler , or native) I.e if you on crosscompiler:
And if on aos4 directly:
Then, all the includes and libs will gets from aos4 sdk, and all will be fine. There is also 3st option related to building process with which you can meet someday : target. But that one mostly irrelevant, so you can skip/delete it most of the time.
If you still in interst in the details, then signal.h are here: SDK:Local/common/include/sigc++/signal.h. Usually when you will have any "no such file or directory", just go to the SDK directory and do searching in the whole for particular file. If you still have error, then check source itself. Pretty possible that you have not
#include <sigc++/signal.h>
, but#include "sigc++/signal.h"
instead.In your case pretty possible that you have and wrong makefile, and something in the source itself, check it step by step.
@Antikken
You can get libsigc++ development files from here:
libsigc.lha
Got that issue fixed. :-)