Slackware :: Makefile:535: /usr/src/linux- No Such File Or Directory

May 31, 2010

I just downloaded slackware 13.1(x86) and i'm trying to compile ndiswrapper-1.56 using the slackbuild from and i'm getting this error:


Makefile:535: /usr/src/linux- No such file or directory
make[2]: *** No rule to make target `/usr/src/linux-'. Stop.
make[1]: *** [modules] Error 2
make: *** [all] Error 2

looks like the folder i486 doesn't exist

View 2 Replies


Software :: Loading Drivers - Directory / Makefile Not Found

Sep 19, 2010

I'm trying to load drivers from .tar.bz2 file. I got the .tar opened and extracted to directory ABC. When I try to CD to that directory, I get a message the directory does not exist even tho' I'm looking right at it and the ls command shows it. The full path is user/downloads.ABC.

When I try to run the next command $tar -xvzf DPB_RT2870_Linux_STA_x.x.x.x.tgz I get a message Ubuntu 10.04 cannot find -xvzf. When I try to run the Makefile command locate in the same ABC directory, I again the error message cannot find Makefile.

View 4 Replies View Related

Programming :: Compiling Recursive Makefile In Directory Structure

May 18, 2011

I'm having problems with compiling recursive Makefiles in my directory structure:
My folder layout is:
top/|- one/|- one.c (With main function)|- zero.c|- two/|- two.cin my top folder the make file looks like:

.PHONY: all

@echo $@
$(MAKE) --directory=$@
in my one and two folder I have the following Makefile:

.PHONE: all
@echo $@
$(CC) $(CFLAGS) *.c
But when I compile it from top folder: make

I get following output:
Which states that directory statement by echo in main Makefile is ok but the files are not compiled in one and two.

View 5 Replies View Related

General :: Compile Multiple File Using Makefile ?

Jun 1, 2011

How to compile single file in Linux environment using gcc. Now i dont know how to use make file to compile multiple file.

View 5 Replies View Related

Programming :: Calling Gcc From Executable File / (makefile)

Oct 4, 2010

I am trying to use a software package written in ANSI C. It has a makefile which has to be executed first.

As soon as I execute it I get messages like: line i: command not found.

Commands for which I am getting errors :

CC = /usr/bin/gcc
GCCFLAGS = -c -Wall

My gcc compiler is located in the above directory only. In ROOTDIR also I tried giving the path in which all the required files & folders are present but still I get the command not found error in all the lines.

View 7 Replies View Related

Ubuntu Installation :: Difference Between "makefile" And ""s

Jan 4, 2010

I'm installing a package but that package doesn't has "makeFile" file, it only has "" and "". therefore when ever i use the "make" command i get: "make: *** No targets specified and no makefile found. Stop."

View 2 Replies View Related

Slackware :: Differences Php-5.2.13-i486-2 And Php-5.3.6-i486-1

Mar 19, 2011

different versions of php, php-5.2.13-i486-2 "slackware-stable" and php-5.3.6-i486-1 "slackware-current", why and not in the version of php-5.3. 6-i486-1? see the differences below

ls -all /usr/lib/php/extensions/
total 3892
drwxr-xr-x 2 root root 4096 Mar 18 08:47 ./


View 1 Replies View Related

General :: Makefile - Break Out The Compilation Into Individual Gcc Commands For Each C File

Apr 28, 2010

I have ~200 c files in my makefile[$(SRCS)], and it compiles all of the files using a single gcc command. So each time I make a change in one c file, it ends up re-compiling all the files, then linking to make the
binary. How can I break out the compilation into individual gcc commands for each c file, so that make checks the timestamp and accordingly compiles only the modified files.

My current Makefile looks like this.


View 5 Replies View Related

Ubuntu :: Gopenvpn Compile Error - Cannot Find Input File: `po/'

Mar 6, 2010

Ubuntu 9.10 64-bit
Lenovo T400

I'm trying to install gopenvpn from source. [URL] I'm pretty sure I have all the necessary libraries installed.

./configure ends with:
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pixmaps/Makefile
config.status: creating src/Makefile
config.status: error: cannot find input file: `po/'

View 4 Replies View Related

Ubuntu Networking :: Wireless Dongle Makefile Nightmare - Don't See The Driver File In The Folder Contents

Apr 1, 2010

I'm trying to get my new Wireless USB dongle to work with Xubuntu 9.10 Karmic Koala. I've extracted the .rar file that was on the drivers CD that came with the dongle. According to the ReadMe....

The Model Name is: RT2870 Wireless Lan Linux Driver Driver Name: rt2870.o/rt2870.ko Hardware: Ralink 802.1n Wireless LAN Card Description: This is a linux device driver for Ralink RT2870 USB ABGN WLAN Card. My issues:

1. I do not see the driver file anywhere in the folder contents... I suppose that I have to "build" it.
2. In the makefile the chipset is default set to "CHIPSET = 3070" & the folder that holds all the extracted files is named 2008_1128_RT3070_Linux_STA_v2.0.1.0 so I'm confused as to whether this dongle has a 2870 or 3070 chipset inside. Does it matter?
3. Sorry, I'm a bit of a n00bster when it comes to all this, but I'm having some problems with the build instructions. It reads:


View 9 Replies View Related

Slackware :: Kernel Image In /usr/src/linux/arch/i386/boot?

Jan 5, 2010

's/ARCHTYPE=i386/ARCHTYPE=x86/'If your looking for a kernel image in /usr/src/linux/arch/i386/boot, your not likely to find one.

View 3 Replies View Related

Software :: Makefile - File Not Recognized - File Format Not Recognized Collect2 - Ld Returned 1 Exit

Mar 27, 2010

I was installing DYMOUM from [url]. "make" command is issuing this error:


Prior to this, ns-2.34 was working fine. Patches are applied very well.

I am in under fedora 9 and:


View 9 Replies View Related

Slackware :: When I Used Arch Linux, One Of Favorite Stops At The Forums Was The Community Contributions Section?

Feb 3, 2010

One thing that really bothers me about Slackware is the lack of unified, well maintained, and up-to-date documentation, but what keeps me coming back is the outstanding community. I see a lot of community contributions floating around on these forums, but they often get buried in all the questions and other posts people create. I know there's a search feature, but sometimes it's fun to browse an organized list of the community's work and see if I find anything fun or interesting.

Back when I used Arch Linux, one of my favorite stops at the forums was the Community Contributions section. The FreeBSD forums also have a section for user-contributed HOWTOse should have a section like this. Call it "Contributions" and place it by the "Installation" section at the top of this forum. It would provide a great place for users to check out what the other slackers have come up with without making a thread of their own to ask (which will probably result in many duplicate threads) or digging up an ancient thread.The only new threads allowed there could be a HOWTO, a new process or method a user discovered, or a user-made script/program/etc. Of course, other users should be able to comment with their replies for suggestions and/or improvements.

View 14 Replies View Related

Programming :: Makefile Flags ?

May 19, 2010

I have problems with linking object files.

This is what I get:

View 8 Replies View Related

General :: Debugging A Makefile ?

Feb 24, 2011

Is it possible to debug a makefile? In a bash script I can use "set -x" so that all variables are shown with their values. I am looking for such feature in makefile to see the variables and their values.

View 2 Replies View Related

Programming :: MY_DEFINES In Makefile

Jul 20, 2010

I want to define _LINUX in my makefile which I would be using in my source code like #if _Linux. I do not want to #define _Linux __linux__ in my source code.

View 2 Replies View Related

Programming :: Set Different Paths In Makefile?

Oct 8, 2010

at present I compile the same code for different systems (cross compilers)I need to call libs and include paths for the different processors. At present I simply comment out the paths not needed

#INCDIR = -I/cross1/.......
#INCDIR = -I/cross2/.......


View 2 Replies View Related

Debian :: No Targets Specified And No Makefile Found

Feb 21, 2016

I seem to be running into this issue a lot when installing various programs. I downloaded and installed a tar file (Linux Wacom Project. xf86-input-wacom-0.32.0 specifically) for my Bamboo tablet. Here's what I did:

Code: Select allsudo apt-get install build-essential

Looks like everything went well, but it asked me for a CD?... I just ignored that and went to the next step in the guide.

Code: Select allsudo apt-get build-dep wacom-tools

Looks like everything went well here. But near the end I get this...

Code: Select allchecking for doxygen... no
configure: WARNING: doxygen not found - documentation targets will be skipped
checking for rint in -lm... yes
checking for XORG... no
configure: error: in `/home/mason/Desktop/xf86-input-wacom-0.32.0':
configure: error: The pkg-config script could not be found or is too old.  Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config.

Alternatively, you may set the environment variables XORG_CFLAGS and XORG_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.

I didn't really pay attention to THAT until I do...

Code: Select allcd ~/Desktop/linuxwacom-0.8.8-6
./configure --prefix=/usr

Where in I get this error message after I enter in Code: Select allmake at the terminal

Code: Select allmake: *** No targets specified and no makefile found.  Stop.

View 11 Replies View Related

Fedora :: Need Info On Makefile Basics?

Sep 27, 2010

Try to understand a Makefile. It has (all: $(VAR1) $(VAR20) Makefile). What does this "Makefile" mean?

View 2 Replies View Related

Fedora :: Installing The Driver From Makefile?

Oct 7, 2010

I have a linksys AE1000 wireless adapter, I have the proper driver, and I was able to install it on ubuntu to by typing cd (directory) make make install On Fedora 13 when i type su Cd (directory) make I get this after i hit enter after i type make

[root@Renegade wireless]# make
make -C tools
make[1]: Entering directory `/home/Renegade/wireless/tools'
gcc -g bin2h.c -o bin2h


View 3 Replies View Related

General :: What Is Purpose Of Makefile In Nis Server

Aug 17, 2010

can anybody tell the use of make file in Nis server.

View 1 Replies View Related

General :: Why Some Makefile Is Missing After ./configure

Sep 1, 2010

I have encountered some cases that the ./configure log says:

config.status: creating xxx/Makefile

but when make fails on:

make[2]: Entering directory xxx
make[2]: *** No rule to make target `all', Stop

and xxx/Makefile is absent in the disk. Why does it happened?

View 1 Replies View Related

Installation :: How To Use A Makefile - Kernel Programming

Feb 25, 2009

I am a beginner in Linux. Never did any kernel programming in Linux/Windows before. I am now on a project and I am supposed to understand a Linux Device Driver Code. It contains 6 .c files and 1 Makefile.

The make file goes as this:

I have a.c b.c c.c d.c d.c e.c f.c in the director along with the Makefile mentioned.

I am using Fedora Red Hat Linux 32 bit.

How to compile the Makefile.

View 4 Replies View Related

General :: Can Source Filename Be Used In Makefile

May 7, 2010

in directory a_dir, have a file named a_file.i can type "source a_file" under directory a_dir and execute successfully.but if i write the command to a Makefile under directory b_dir, the "source" function can't be executed well. it will generate some error message like this:

./a_file: line 1: setenv: command not found
./a_file: line 2: setenv: command not found
./a_file: line 3: setenv: command not found
./a_file: line 5: setenv: command not found

View 3 Replies View Related

General :: How To Write Non Recursive Makefile

Dec 14, 2010

I want to write simple non recursive makefile, but I am not getting syntax of it. Please give me example with simple description. I had read docs, html's but I am not getting how that works please give simple example. consider I have following directory structure.


View 1 Replies View Related

General :: Writing Else If Condition In Makefile?

Mar 18, 2010

I need to write an else-if condition in a makefile, and though the format is posted on several websites, nothing seem to be working, andI get an error everytime. Could anybody please write a small example with an else-if conditional in a maekefile?

View 1 Replies View Related

Software :: [makefile] Complementing Env't Variables?

Jan 19, 2011

I'd like to write a top-level Makefile, and define environment variables further in deeper Makefiles:

/tmp# cat
export TEST=dummy
/tmp# cat


1. How to complement an environment variable to add data as we chain multiple Makefiles?
2. How to actually export variables from Makefiles so that they are available in other Makefiles?

View 4 Replies View Related

Software :: No Targets Specified And Makefile Not Found

May 1, 2010

I download a package of tar.gz ...

1:firstly I extract it on desktop
2:Then use cd command and go to extracted folder
3:To install that package i use

sudo make install. Then I got a error message
"make: *** No targets specified and no makefile found. Stop."

View 4 Replies View Related

Software :: Makefile Conditional Does Not Work?

Jan 29, 2010

I'm trying to write a make file to deploy software in a production setup.

The first thing I'm trying to do is detect if the user running the make is root.

From the documentation scattered about, I came up with this:


USERID=$(shell id -u)
$(info User Id is $(USERID))
ifeq ($(REQUIRED_USER),0)
$(info Running as root... OK)


As you can see, in both situations, make executes both branches of the conditional.

View 6 Replies View Related

Software :: Makefile To Not Default Directories

Jun 3, 2010

I'm compiling some applications in a pc, using:

make install

but I want to run the applications in another pc, so I have used the option --prefix=/some/directory/ when executing ./configure, so I could just copy this folder to the other pc. However, my programs now need to have libraries and shared files in the same location that I used with --prefix, instead of /lib, /usr, etc.

View 2 Replies View Related

Copyrights 2005-15, All rights reserved