thanks, Tgirl,
I donwloaded the source code file 'code.tar.gz' from this site :
http://www.inference.phy.cam.ac.uk/m...odesFiles.html
the source code links is as,
Source code for lots of code-related functions: including "code6" for making Gallager codes; "mncN" and "gallager" for sum-product decoding and "fe" for decoding using variational free energy minimization (not the best decoder; sum-product is better) Before making executables, you may need to create some directories in both . and ./ansi thus:
mkdir bin$ARC; cd bin$ARC ; ln -s ../_Makefile Makefile ; cd ..
OR for example:
mkdir bini386; cd bini386; ln -s ../_Makefile Makefile ; cd ..
i decompressed this code.tar.gz ,created a directory "code" and put these source files into it.
Before compiling this project i have simply configured as the author describes, but when i try to make,
it displayed the error information as i described in this thread top.
In fact i checked the dependency in /code/Makefile, and found it includes a file as following,
include ./ansi/MMakefile
and then i opend that MMakefile , a very short file as below
# "MMakefile"
# fundamental Makefile included by many others
# define $(bin) to be binsun4 etc.
#
# this makes things happen
ALWAYS:
bin = bin$(ARC)
I suspected the rule format is wrong, so i corrected it and save it as
ALWAYS:
bin = bin$(ARC) # add a Tab before the command line
when i returned back to /code and tried 'make' again, it dispalyed a different ,but still error info and stop:
make: execvp:bin: Permission denied.
make: ***[ALWAYS] Error 127.
I believe the ALWAYS rule is the trouble ,however, i donnot know how to get rid of it yet.
i have suffered from this project for several days.
Many thanks.
heinzstoic