Skip to content

make Cannot find a rule to create target connect1.o from dependencies.#

Version#

7.1.0 or later

Explanation#

This error occurs if a source file is compiled using the Make utility of a sample source.

$ cd $ALTIBASE_HOME/sample/APRE
$ make connect1
make: Cannot find a rule to create target connect1.o from dependencies.
Stop.

Cause#

The Makefile in the $ALTIBASE_HOME/sample directory was created based on the GNU Make. Thus, this error occurs if a Make other than GNU Make is executed in the $ALTIBASE_HOME/sample directory.

In a platform such as Linux, this error does not occur as the GNU Make is installed by default.

Action#

Change it to GNU Make (install, if necessary) then re-execute Make.

Reference#

Information about GNU Make can be checked as below:

$ make -v
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for rs6000-ibm-aix