Programming :: Makefile - Error When Run The Make Run - No Rule To Make Target - Shell.h

Sep 15, 2010

I want to gave much details as possible. working directory (~/a1/shell) in the shell directory i have Makefile. also in the shell directory i have subdirectory's (obj, src, include)

My current Makefile

Quote:

#What needs to be built to make all files and dependencies

clean:

# End of Makefile

I wanted it so: all .o files are created in the obj subdirectory, and my application, sshell, is created in the shell directory.

I am getting this error when i run the make run: No rule to make target 'shell.h', needed by 'shutil.o'. stop

View 1 Replies


ADVERTISEMENT

Programming :: Makefile Error - No Rule To Make Target Modules

Mar 30, 2010

Code:
anisha@linux-p0mg:~> uname -r && cat /etc/*release
2.6.25.5-1.1-pae
openSUSE 11.0 (i586)
VERSION = 11.0
My small Makefile:

Code:
obj-m += serialPortISR.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
Errors I receive:

Code:
anisha@linux-p0mg:~/Desktop/serialPortISR_31_10_09> make
make -C /lib/modules/2.6.25.5-1.1-pae/build M=/home/anisha/Desktop/serialPortISR_31_10_09 modules
make[1]: Entering directory '/usr/src/linux-2.6.25.5-1.1-obj/i386/pae'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory '/usr/src/linux-2.6.25.5-1.1-obj/i386/pae'
make: *** [all] Error 2

View 12 Replies View Related

Programming :: No Rule To Make Target `linux26' Error

Feb 14, 2010

I'm using build root to make an embedded rootfs and compile some code. However I get the following error

make: *** No rule to make target `linux26', needed by `linux-fusion'. Stop.

View 7 Replies View Related

General :: Make Error - Make[2]: *** No Rule To Make Target

Oct 7, 2010

I am getting an error as below.

How do I resolve the error: make[2]: *** No rule to make target `', needed by `mpg123'.

How can I resolve this error.

View 4 Replies View Related

Programming :: No Rule To Make Target Needed By `all'

Feb 2, 2011

My make file has the following lines:

blah blah
INCLUDES= -I./src
-I./include
-I$(PROJECTPATH)/myproject/libs/liburi/include
LDFLAGS+= -L$(PROJECTPATH)/myproject/libs/liburl/

[code]....

The LDFLAGS specifies the library path, which is specified as -L$(PROJECTPATH)/myproject/libs/liburl/ When I check this directory on my machine I see that the file: liburi.so.1 is indeed there.

View 1 Replies View Related

General :: Getting Error (No Rule To Make Target Version) / Install Ns 2.31?

Mar 22, 2011

I am using Fedora 8. I tried to install ns 2.31. But error came as " No rule to make target "VERSION" needed by gen/version.c".

View 2 Replies View Related

Ubuntu :: Make: *** No Rule To Make Target `gconfig'. Stop?

Jan 24, 2009

I am following the instructions on Section 8.1.* Device Driver ConceptsHere I was able to proceed till section 8.1.4.After making the hello.c file,the make file and patching the Kconfig as mentioned,I tried to run the $ make ARCH=ARM CROSS_COMPILE=xscale_be- gconfig This gave error as:make: *** No rule to make target `gconfig'. Stop.I am not sure if my kernel is correctly compliled,but I was able to complie and build the kernel for arm before by cloning the kernel and building from the following link without any error. https://omapzoom.org/gf/project/omap...ux+OMAP+Kernel

View 2 Replies View Related

Fedora :: Kernel Compile Error : No Rule To Make Target `missing-syscalls'?

Dec 13, 2009

I am trying to compile a kernel in the following directory:/usr/src/kernels/2.6.30.9-102.fc11.x86_64

Note I am not trying to build an rpm but just do a simple make. After configuring with make menuconfig I issue the make command and get the following error:

Code:
[root@compaq 2.6.30.9-102.fc11.x86_64]# make
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
make[1]: *** No rule to make target `missing-syscalls'. Stop.
make: *** [prepare0] Error 2

how to resolve this error? It seems to be fedora-centric.

View 4 Replies View Related

OpenSUSE Network :: Installing Driver Error - No Rule To Make Target `modules' - Stop

Apr 13, 2011

I am relatively new to linux and am running into a problem. I just got a new laptop and need to configure/install it's wireless driver but am getting an error when running "make". The error is: make[1]: Entering directory `/lib/modules/2.6.37.1-1.2-desktop/build' make[1]: *** No rule to make target `modules'. Stop.

I have scoured these forums and know that others have the same issue (when configuring other drivers/programs). I am sorry if this post is redundant. It sounds like the Makefile is pointing to the wrong directory. I am using opensuse 11.4, have make and gcc installed. My kernel is linux-2.6.37.1-1.2 (I just re-installed the desktop kernel to make sure it was up to date). The driver I am trying to install is located here: AUR (en) - rtl8192ce.

Another forum suggests pointing somewhere in the /usr/src/linux-2.6.37.1-1.2 directory instead. Is this correct? Should I be pointing to a folder within this? I am not a programmer but any description about what I am actually putting in this directory and why would be awesome (so I can learn a bit more). Or just helping me solve the problem would be great too.

View 9 Replies View Related

Slackware :: Make: *** No Rule To Make Target `pkg'

Feb 25, 2011

I have down loaded: slapt-get-0.10.2h-i386-1.tgz I have read the install directions:

Quote:

- Using pkgtools: ----------------

To install:

$ make pkg
$ installpkg ./pkg/slapt-get-${VERSION}-${ARCH}-${RELEASE}.tgz

When I try make pkg, I get:

Code:

root@darkstar:/home/rob# make pkg
make: *** No rule to make target `pkg'. Stop.

I guess that I do not understand the instructions?

View 5 Replies View Related

Networking :: No Rule To Make Target `VERSION', Needed By `gen/version.c' / Fix This Error?

Apr 6, 2011

I am trying to install ns2.1b5 on fedora and I am getting the following error:

No rule to make target `VERSION', needed by `gen/version.c'

View 2 Replies View Related

Server :: Configuration Error "No Rule To Make Target 'install'. Stop" In Eclipse

May 18, 2011

I have googlled and get these commands to install extracted .tar.gz file such as ./configure, make and make install, after extraction it becomes a directory called eclipse. But when i giving these commands also i got error like this

[Code].....

View 2 Replies View Related

Fedora :: No Rule To Make Target Modules?

Dec 24, 2010

After reading all the forum entries and tutorials I could find, which all make it sound very easy to do, however I type the command 'make' in the folder where I have the "rtl8192su_linux_2.4_2.6.0003.1019.2009.tar.gz " unzipped and get the following output:

make[1]: Entering directory `/lib/modules/2.6.35.6-45.fc14.i686/build'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/2.6.35.6-45.fc14.i686/build'

[code]....

View 10 Replies View Related

General :: No Rule To Make Target `modules'?

Aug 2, 2011

I am getting this following error when I do compilation..Please let me know what is missing

ubuntu@ubuntu-desktop:/home/swamy/ttviewer/uvcvideo-2.6.32$ make
make -C /lib/modules/2.6.31-203-gee1fdae/build SUBDIRS=/home/swamy/ttviewer/uvcvideo-2.6.32 modules
make[1]: Entering directory `/usr/src/linux'

[code]....

View 1 Replies View Related

Debian Configuration :: No Rule To Make Target Modules

Sep 17, 2015

i'm trying to install driver for some PCI device but i have problems with it - when i run it it gives me an error

Code: Select allmake: Entering directory `/lib/modules/2.6.32-5-686/build'
make: *** No rule to make target `modules'.  Stop.
make: Leaving directory `/lib/modules/2.6.32-5-686/build'

i've tried to find solution in internets but have no success usually they say that problem is that ppl forget to download kernel-headers and kernel-sources or unpack kernel-sources or make symlink usr/src/linux but i've done it all and the result is the same.i think the root of problem is that `/lib/modules/ 2.6.32-5-686/build' folder is empty but there have to be this RULE, so what i have to do to have it there? my system is Debian 6.0.10 Squeeze, Kernel 2.6.32-5-686.

View 2 Replies View Related

Server :: Tacacs - No Rule To Make Target `all-am' - Stop

Aug 2, 2010

make /usr/bin/make all-am
make: Nothing to be done for `/usr/bin/make'.
make: *** No rule to make target `all-am'. Stop.

whats wrong with this???

View 2 Replies View Related

Software :: Qmail Authentication - No Rule To Make Target Certificate

Jun 9, 2010

I've had qmail running on a server for three years, almost forgot how difficult that installation was. I got away with it because I downloaded Qmail Rocks and followed all their instructions step by step. However, Qmail Rocks is based on qmail 1.03. I just had to install qmail on a new server, so this time I looked around and found netqmail 1.06 and decided to go with it, following the instructions on Life With Qmail. It was a good decision. A read a lot more documentation and now I understand qmail a lot better.

But I can't get past one point: authentication. Consider this test on Qmail Rocks:
Code:
telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 somewhere.anywhere.com ESMTP
ehlo localhost
250-somewhere.anywhere.com
250-AUTH LOGIN CRAM-MD5 PLAIN
250-AUTH=LOGIN CRAM-MD5 PLAIN
250-STARTTLS
250-PIPELINING
250 8BITMIME
starttls
220 ready for tls
quit
quit
Connection closed by foreign host.

That test works fine on my old server. But qmail behaves differently on my new server:
Code:
# netqmail-1.06> telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 domain.com ESMTP
ehlo localhost
250-domain.com
250-PIPELINING
250 8BITMIME
starttls
502 unimplemented (#5.5.1)
quit
221 domain.com
Connection closed by foreign host.

That same page on Qmail Rocks says that I need to have a certificate, the procedure is described here. The installation procedure given by LWQ does not include that step. Running 'make cert' inside the source directory of netqmail-1.06 does not work:
Code:
# netqmail-1.06> make cert
make: *** No rule to make target `cert'. Stop.

In my vast ignorance, I copied /var/qmail/control/servercert.pem from my old server over to the new one. I also fixed all ownership and permissions. I don't know if I am allowed to do that. But although those are two different boxes, I am in fact installing the same domain in the new box. The new server is going to replace the old one as soon as it's running perfectly. I restarted qmail and... authentication still does not work.

View 3 Replies View Related

Ubuntu Multimedia :: No Rule To Make Target `basic.html' Stop?

Sep 23, 2010

I am compiling libmp3lame from svn and I got following error No rule to make target `basic.html', needed by `all-am'. Stop. which package am I missing.....??

View 9 Replies View Related

Software :: Complains Saying "No Rule To Make Target `m4/libtool.m4'...."

Feb 13, 2011

I'm attempting to build cloog-ppl-0.15.10 but even the configure script tells that everything look good, "make" complains saying "No rule to make target `m4/libtool.m4`, ...". I'm running Scientific Linux 5.5 on a x86_64 machine.

View 1 Replies View Related

Programming :: Make Recursive Makefile Work?

Jun 8, 2011

I'm trying to make recursive makefile work but it's giving me two problems. I have a top folder with the main Makefile and one Makefile for each sub folder 'one' and 'two'. Makefile in subfolder 'one' and 'two' are identical. The top Makefile (still a bit messy) looking like this:

Code:
# Directories
CC = gcc
CFLAGS = -Wall -Wextra
TARGET_DIR = bin
MAIN_FILE = one.c

[Code]...

View 4 Replies View Related

OpenSUSE :: Error - Make Cannot Have Install Like Target

Aug 18, 2010

I want to install EVMS n machines with openSuse 11.2. The EVMS installation procedure (EVMS: Installation: Installing the EVMS Tools), point 3, says to do: "make install".
I'm in the correct folder, there is the file Makeinstall.ini, but just try to run the command I've an error (make cannot have install like target).

this is my output:

linux-vxth:/usr/src/evms-2.5.5 # ls
.makefile.swo INSTALL.initrd aclocal.m4 engine po
.makefile.swp Makefile.in autoconf include tests
COPYING PLUGIN.IDS config.h.in intl ui

[code]...

I tried too rename "Makefile.in" into "makefile" and "make.rules.in" into "make.rules", but then I have other problems

View 9 Replies View Related

General :: Make Install Error With Created Makefile

Jun 3, 2011

I am new to Linux and I am trying to install a C program from source using Makefile. So I 've created a "hello world" program and then a Makefile to install it. Then I logged in as root and used
make install

The following error occurs:
make: execvp: /usr/bin: Permission denied
make: *** [install] Error 127

Here is the Makefile:
CC=gcc
CFLAGS=-c -Wall
PROGS = hello
INSTDIR = $(prefix)/usr/bin/
INSTMODE = 0755
INSTOWNER = root
INSTGROUP = root

all: $(PROGS)
$(PROGS): main.o
$(CC) main.o
main.o: main.c
$(CC) $(CFLAGS) main.c
install:$(PROGS)
$(INSTALL) $(INSTDIR)
$(INSTALL) $(INSTMODE) $(INSTOWNER) -o $(INSTGROUP) $(PROGS) $(INSTDIR)
clean:
rm -rf $(PROGS) *o $(PROGS)
So, where are the errors

View 3 Replies View Related

CentOS 5 :: ISCSI Target Directory - Getting Error For Make Command

Feb 1, 2010

I am trying to install iscsi-target on centos 5.4 i386. When I go into the iscsi-target directory and type make I get the following error:
[root@cluster-storage iscsitarget-1.4.19]# make
cc: /lib/modules/2.6.18-164.el5/build/include/linux/version.h: Datei oder Verzeichnis nicht gefunden
cc: keine Eingabedateien
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -lt: unary operator expected
make -C usr
make[1]: Entering directory `/opt/iscsitarget-1.4.19/usr' .....
make: *** [kernel] Fehler 2

View 3 Replies View Related

Networking :: Error - Man/Makefile.am:11: `%'-style Pattern Rules Are A GNU Make Extension

Jun 24, 2011

I am facing an error when I run the following command.

Command: autoreconf -i
Error: man/Makefile.am:11: `%'-style pattern rules are a GNU make extension

[code]....

I'm using Fedora Core 11 on Dell Machine Precision 360

View 3 Replies View Related

Ubuntu :: Mousetrap Doesnot Work \ Error:make: *** No Targets Specified And No Makefile Found?

Dec 17, 2010

i have installed mouse trap by the Ubuntu "easy peasy" software center ,but for some reason it didn't work so i uninstalled it and start to install the mouse trap from herehttp://live.gnome.org/MouseTrap/Installationbut when did the "make" step it gave me that error:make: *** No targets specified and no makefile found. Stop.so how i fix thatand another problem that i have is when i go to a live radio on the net to listen it dose not work how do i change it to work like i changed to the "vlc player" to be the first program that opens

View 2 Replies View Related

Programming :: [Makefile] Run Command Conditionally In Target?

Nov 25, 2010

I'm learning about how to write Makefiles, and am a bit lost at how to run a command in a target depending on the value of a variable.

What I'm trying to do, is run "strip" only if the user is running a given version of a C compiler.

Here's the code:

Code:
$(LUA_T): $(LUA_O) $(LUA_A)
$(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)
#FDPIC ELF binaries can be stripped, but not FLAT binaries
$(if($(CROSS),bfin-linux-uclibc-),
$(STRIP) $@
;)

Does someone know the correct way to do this?

View 2 Replies View Related

Programming :: Makefile: Change Compilation Flags By Changing Target Name

Nov 12, 2010

I'd like to create a target named "debug" or something similar which will use some special optimization flags useful when debugging (for example -ggdb). At the moment my makefile is neat (which I like) and looks like

Code:
SRC = $(wildcard *.cxx)
OBJ = $(SRC:.cxx=.o)
INCDIR = -I.
LIB = -lm

[Code]....

View 2 Replies View Related

Fedora :: Error In Invoking Target 'agent Nmhs' Of Makefile

Jun 26, 2010

I am having an error during my Oracle 11g R2 installation on Fedora 13 that I couldn't get rid of or fix it, and I just continued the installation by clicking on the continue button to skip this error. The error message on the alert window is:

Error in invoking target 'agent nmhs' of makefile '/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/ins_emagent.mk'. See '/u01/app/oraInventory/logs/installActions2010-06-24_03-22-15PM.log' for details.

and here is the contenets (error part) of the installActions2010-06-24_03-22-15PM.log file

INFO: /usr/bin/ld: /u01/app/oracle/product/carried(nmectlt.o): undefined reference to symbol 'B_DestroyKeyObject'
/usr/bin/ld: note: 'B_DestroyKeyObject' is defined in DSO /u01/app/oracle/product/11.2.0/dbhome_1/lib/libnnz11.so so try adding it to the linker command line
/u01/app/oracle/product/11.2.0/dbhome_1/lib/libnnz11.so: could not read symbols: Invalid operation

[code]....

View 2 Replies View Related

Programming :: Apache Rewrite Rules - How To Make "not Some String" Rule

Jan 26, 2011

I am trying to create apache rule which will redirect each request not ending with .php prefix to php prefix. I am trying to make such a rule for hours, but none of my works.

Example: I don't know syntax of rewrite rules, but I'd like to make something like this:

RewriteRule ^(.*)(NOT .php) $1.php

(so everything not ending with .php will end in everything with .php extension.

EDIT: Maybe better question would be "how to negate string group" or "is not equal to string"...

View 4 Replies View Related

Fedora :: Emacs - Error "make: *** No Targets Specified And No Makefile Found. Stop"

Aug 5, 2010

I recently switched over to Fedora 13 but I'm having a bit of trouble. I've tried writing simple programs in Emacs and Eclipse but neither will compile. It always gives the error, "make: *** No targets specified and no makefile found. Stop."

I've looked around at a couple of forums, but people with the same issue can't install software, but I can. I got Fedora from the Fedora website so I know its complete, but I have the sneaking suspicion that I'm just missing a file or something.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved