I'm trying to buid and install ltp-aiodio but am running into an error.
In testcases/kernel/io/ltp-aiodio, 'make' runs fine and appears to build
everything, but 'make install' returns this error message:
ln: creating hard link `../bin/ltp-diorh' to `ltp-diorh': No such file or directory
make: *** [install] Error 1
The file exists in the current directory, though:
-rwxrwxr-x 1 root root 13583 2004-07-14 14:44 ltp-diorh
Here is the install target from the Makefile:
@set -e; for i in $(TARGETS) ; do ln -f $$i ../bin/$$i ; done ;
I notice in the direct_io Makefile the line looks like this:
ln -f $(BINS) ../../../bin
When I change the line in ltp-aiodio to this, it seems to work without
@set -e; for i in $(TARGETS) ; do ln -f $$i ../../../bin/$$i ; done ;
But is this correct?