Problem with Makefile: No rule to make target 'all' - makefile

I am trying to run a code on Eclipse in C, however I keep getting the same Error in my make file. I have read similar blogposts, but i can't seem to solve my problem. I am relatively new to programming and not sure what the problem is.
Here is a copy of my makefile:
#CCE_Board_Definitions:BMI085;BMI088
COINES_INSTALL_PATH ?= ../../../..
EXAMPLE_FILE ?= bmi08x_read_sensor_data.c
SHUTTLE_BOARD ?= BMI085
include $(COINES_INSTALL_PATH)/examples/examples.mk
When i try to run my code I get the following error:
mingw32-make all
mingw32-make: *** No rule to make target 'all'. Stop.
"mingw32-make all" terminated with exit code 2. Build might be incomplete.
In Properties I have renamed the build command to "mingw32-make" (because I was told to do so in the guide for this code).
Can anyone think of what the problem might be?
Thank you in advance :)
Samboff

Related

Disable building Xcode documentation for specific targets?

In Xcode, I have a project where one of the targets is using an external build system (Make).
When I select Product → Build Documentation, it fails on the Make target, since it’s trying to run make docbuild and have no such target in my makefile:
make: *** No rule to make target `docbuild'. Stop.
Command ExternalBuildToolExecution failed with a nonzero exit code
I can’t seem to find a way to disable this for only this target. Can someone tell me how to do this, please?

Makefile error while making clean check and install libneo4j-client library

Update: It was my fault, since I do not have the library libcypher-parser installed I should have run ./configure --disable-tools. It works perfectly now :-)
It may be a silly issue, but I have a problem while completing the installation of the C library neo4j-client.
Since I have ArchLinux on my laptop I downloaded the whole repository from https://github.com/cleishm/libneo4j-client and done the following operations:
$ ./autogen.sh
$ ./configure
that completed without any error, leading to the generation of the file Makefile.in
Then I tried
$ make clean check
$ sudo make install
but the results are:
$ make: *** No rule to make target 'clean'. Stop.
$ make: *** No rule to make target 'install'. Stop.
I don't know why both targets are missing from the Makefile, but I'm stuck on this issue.
I tried to look inside Makefile.in, but there are so many targets that I don't know how to recognize the ones I need...
Please help me :-(
Thank you in advance for your time :-)

make: No rule to make target in Kitkat

I am working in Android source code with Kitkat version, and I encounter a weird problem when I executing make command, the error message are listed below.
make: No rule to make target `out/target/product/msm8909_512/obj/STATIC_LIBRARIES/revlib_intermediates/export_includes',
needed by `out/target/product/msm8909_512/obj/STATIC_LIBRARIES/third_party_harfbuzz_ng_harfbuzz_ng_gyp_intermediates/import_includes'.
Stop.make: Waiting for unfinished jobs....
I can't find a proper answer so far, do I need to install any additional libraries ?
Env: ubuntu 12.04 && java version 1.6.0_45
Please do me a favor.
No rule to make target xxx, needed by yyy.
This means that make decided it needed to build a target, but then couldn't find any instructions in the makefile on how to do that, either explicit or implicit (including in the default rules database). If you want that file to be built, you will need to add a rule to your makefile describing how that target can be built. Other possible sources of this problem are typos in the makefile (if that filename is wrong) or a corrupted source tree (if that file is not supposed to be built, but rather only a prerequisite).
reference

No rule to make target error halfway down the make

On a Leopard Mac mini (PowerPC) I'm trying to compile Apple-GCC-3.3 which I got from https://opensource.apple.com/tarballs/gcc_os/gcc_os-1819.tar.gz
./configure gets completed w.o. any error but make gives the following errors:
When input only "make" it says
make: *** No rule to make target `all', needed by `default'. Stop.
When input make -f Makefile, the make starts fine but somewhere halfway down the process it stops with:
gcc tclAppInit.o -L/Users/macmini/Downloads/gcc_os-1819/tcl/unix -ltcl8.0 -lc \-o tclsh
make[1]: *** No rule to make target `all'. Stop.
make: *** [all-expect] Error 2
For this type of error, it's said that the tar might be dropping long filenames during the untar operation but I tried with different versions of tar such as 1.14, 1.27 and the error is the same.
What should I do? Thanks.
!(http://i.hizliresim.com/Kl9rRJ.png)
(Just in case you may wonder why I want to compile GCC-3.3, it's because it's needed to compile GIMP on PowerPC Macs)
Problem solved. It turned really hard to compile GCC-3.3 from source, so I made it easy and installed it from XCode 3.1 DVD, under the Packages directory where GCC-3.3.pkg was present.
Now the GIMP can be compiled.
Summary: It's a good idea to install the Apple's compiler group of programs from the XCode DVD.
Thanks.

Makefile.in:12: *** commands commence before first target. Stop

When I try to run "make clean" it gives me make: ** No rule to make target clean'. Stop.
So I do make -f Makefile.in clean
and it tells me Makefile.in:12: *** commands commence before first target. Stop.
I went into the Makefile.in and removed the tab on line 12 and retried
make -f Makefile.in clean
but then it gives me Makefile.in:12: *** missing separator. Stop.
Does anyone know what is going on here? I would really appreciate some help.
This was too long for a comment:
checking for Tcl library... not found checking for Tcl header... found /usr/local/include/tcl.h checking whether the Tcl system has changed... yes configure: error:
Tcl cannot be found on this system.
Eggdrop requires Tcl and the Tcl development files to compile. If you already have Tcl installed on this system, make sure you also have the development files (common package names include 'tcl-dev' and 'tcl-devel'). If I just wasn't looking in the right place for it, re-run ./configure using the --with-tcllib='/path/to/libtcl.so' and --with-tclinc='/path/to/tcl.h' options.
See doc/COMPILE-GUIDE's 'Tcl Detection and Installation' section for more information.
I am following this guide to get tcl installed correctly. http://botlending.com/docs/eggdrop/compile/19#19
Makefile.in is not a makefile. It's input to for the configure script, which will convert it into a makefile.
Please read the INSTALL or README file that came with the software for instructions, but typically you need to first run configure:
./configure
Then you can run make and/or make install:
make

Resources