Slackware :: Makefile:535: /usr/src/linux-220.127.116.11/arch/i486/Makefile: 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 slackbuils.org and i'm getting this error:
Makefile:535: /usr/src/linux-18.104.22.168/arch/i486/Makefile: No such file or directory
make: *** No rule to make target `/usr/src/linux-22.214.171.124/arch/i486/Makefile'. Stop.
make: *** [modules] Error 2
make: *** [all] Error 2
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.
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:
Code: MAKE_DIRECTORIES = one two .PHONY: all all: $(MAKE_DIRECTORIES)
.PHONY: $(MAKE_DIRECTORIES) $(MAKE_DIRECTORIES): @echo $@ $(MAKE) --directory=$@ in my one and two folder I have the following Makefile:
Code: .PHONE: all all: @echo $@ $(CC) $(CFLAGS) *.c But when I compile it from top folder: make
I get following output: Code: one two Which states that directory statement by echo in main Makefile is ok but the files are not compiled in one and two.
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 ROOTDIR = .
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.
I'm installing a package but that package doesn't has "makeFile" file, it only has "makefile.am" and "makefile.in". therefore when ever i use the "make" command i get: "make: *** No targets specified and no makefile found. Stop."
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.
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_v126.96.36.199 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:
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.
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.
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:
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 make
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.
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: Entering directory `/home/Renegade/wireless/tools' gcc -g bin2h.c -o bin2h
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.
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
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.
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?
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.