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

Version

All versions

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 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

Copyright ⓒ 2000~2016 Altibase Corporation. All Rights Reserved.

These documents are for informational purposes only. These information contained herein is not warranted to be error-free and is subject to change without notice. Decisions pertaining to Altibase’s product characteristics, features and development roadmap are at the sole discretion of Altibase. Altibase may own related patents, trademarks, copyright or other intellectual property rights of products and/or features discussed in this document.