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
ADVERTISEMENT
Nov 17, 2009
Does anyone know if it is possible to make rules in a Makefile that would work like this:
> make debug module
or
> make module debug
where module can be any module that has a specific rule in the Makefile.
The thing I have is a Makefile with different rules that I compile like this:
> make module
What I would like is to add an option so I can compile whichever module with debug-information just by adding a debug to the make command. The debug-information I know how to do, the problem is how to make the Makefile work...
View 2 Replies
View Related
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
View Related
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
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
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
Mar 22, 2011
I have a machine with 3 internet facing nics, all of which have static IP's. The IP's are all in the same subnet, and use the same default gateway.Using ip tables and rules, will I be able to make all three of these able to handle traffic?I have the following configured, but it doesn't appear to work:
# ip rule
0:from all lookup local
500:from 72.43.220.146/29 lookup 1
[code].....
View 5 Replies
View Related
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
May 12, 2011
I need assistance with my Snort Installation. I used Bodhi Zazen's Network Intrusion Detection System post and found it easier than the previous time I had done it. I am currently running Ubuntu 10.04 server and Snort 2.8.6.1 with BASE 1.4.5. I followed Bodhi Zazen's instructions and when I tested snort it ended with a Fatal Error due to ERROR: /etc/snort/rules/exploit.rules(264) => 'fast_pattern' does not take an argument
Fatal Error, Quitting.. Here is the entire output once I ran the test command: snort -c /etc/snort/snort.con -T Running in Test mode
[Code]...
View 2 Replies
View Related
Sep 20, 2009
I've been trying to figure out how to use make and makefile to compile and link some .cpp/.h. All i seem to find on google says to read the README for the software. But this is my own created c++ project. Im just looking for a simple makefile for my own .cpp/.h files( about 20 total).
I have tried using 2 different makefile "examples" as a template, but neither worked. I am getting error saying "file1.cpp: no newline character at end of file". or something to that degree.
View 5 Replies
View Related
Aug 4, 2011
im trying to install Squid clamav with squid(fedora11, 386MB, 2.6kernel)..i configured clamd and is working fine,(squid wrking fine) then i tried to install squidclamav via (yum -y install curl-devel).then i downloaded squidclamav-4.0.tar.gz and extracted.. then i run ./configure and then make.but make install command wont work; it shows an error.
View 4 Replies
View Related
Mar 6, 2010
I have a number of projects, say test1, test2, test3,. I want to make and install all of them in exactly the same way; so I would like to say
make test2
make install test2
with the same Makefile.
In other words, I would like to pass the argument test2 (or just 2) to the Makefile, so this is taken as the target for make or make install. This must be a common wish; but I don't see any appropriate option with "man make" on my Fedora-12 system.
View 1 Replies
View Related
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
Aug 7, 2010
i tried searching on google but found it difficult to say exactly what I was looking for.Task - Capitalise x number of letters at the start of words.eg. Original line - one.two.three.fourRevised line - One.Two.three.four (here only requiring 2 changes)Test data:
Code:
wire.in.the.blood.s04e01.ws.pdtv.xvid-river.avi
wire.in.the.blood.s04e02.ws.pdtv.xvid-river.avi
[code]...
View 7 Replies
View Related
Mar 11, 2010
How can i make an application ignore widget style configurations in kde? Like Synaptic and some other applications do.
View 4 Replies
View Related
May 20, 2011
How do I write a script to convert all DOS style backslashes to UNIX style slashes in a list of files /
View 3 Replies
View Related
May 23, 2011
Trying to build a driver for a TV tuner card. When I enter 'make menuconfig', I get this error:
make[2]: Entering directory `/usr/src/linux-headers-2.6.32-5-amd64'
/lib/modules/2.6.32-5-amd64/source/scripts/Makefile.build:44: /lib/modules/2.6.32-5-amd64/source/scripts/basic/Makefile: No such file or directory
make[3]: *** No rule to make target `/lib/modules/2.6.32-5-amd64/source/scripts/basic/Makefile'. Stop.
make[2]: *** [scripts_basic] Error 2
Suspect I need another package in addition to linux-headers.
Running Squeeze, amd64, KDE.
View 7 Replies
View Related
Dec 11, 2009
I'm just learning to use Eclipse (have previously been a vim+make developer). I created the standard Hello World project following the tutorial. The program compiles fine, but if I build it again without cleaning the project, make aborts with a glibc double free message (pasted below). The same thing happens if I run make in the Debug directory outside eclipse. I don't know make well enough to figure out what the problem is, and to my mind Eclipse shouldn't be generating a buggy makefile anyway.
I've attached a tarfile of the project directory. Download the file and the following sequence of commands should show you the problem:
tar xvzf HelloWorld.tar.gz && cd HelloWorld/Debug && make && make
Also, if you think it would be worthwhile submitting a bugreport to the Fedora Eclipse dev team, let me know where I can do that and I'll be happy to.
Error messages:
11:07:34 [michael@tablet Debug]$ make
*** glibc detected *** make: double free or corruption (fasttop): 0x0000000001fd5780 ***
= Backtrace: =
/lib64/libc.so.6[0x3b03e75a96]
make[0x411f46]
make[0x411fb2]
make[0x411feb]
make[0x40771e]
make[0x411177]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x3b03e1ea2d]
make[0x402429]
= Memory map: =
00400000-00428000 r-xp 00000000 fd:04 1517952 /usr/bin/make
00628000-0062a000 rw-p 00028000 fd:04 1517952 /usr/bin/make
01fc0000-01fe1000 rw-p 00000000 00:00 0 [heap]
3b03a00000-3b03a1f000 r-xp 00000000 fd:00 81929 /lib64/ld-2.10.1.so
3b03c1e000-3b03c1f000 r--p 0001e000 fd:00 81929 /lib64/ld-2.10.1.so
3b03c1f000-3b03c20000 rw-p 0001f000 fd:00 81929 /lib64/ld-2.10.1.so
3b03e00000-3b03f64000 r-xp 00000000 fd:00 81933 /lib64/libc-2.10.1.so
3b03f64000-3b04164000 ---p 00164000 fd:00 81933 /lib64/libc-2.10.1.so
3b04164000-3b04168000 r--p 00164000 fd:00 81933 /lib64/libc-2.10.1.so
3b04168000-3b04169000 rw-p 00168000 fd:00 81933 /lib64/libc-2.10.1.so
3b04169000-3b0416e000 rw-p 00000000 00:00 0
3b08e00000-3b08e19000 r-xp 00000000 fd:00 81991 /lib64/libgcc_s-4.4.1-20090729.so.1
3b08e19000-3b09019000 ---p 00019000 fd:00 81991 /lib64/libgcc_s-4.4.1-20090729.so.1
3b09019000-3b0901a000 rw-p 00019000 fd:00 81991 /lib64/libgcc_s-4.4.1-20090729.so.1
7f6032b9d000-7f6037c70000 r--p 00000000 fd:04 1155417 /usr/lib32/locale/locale-archive
7f6037c70000-7f6037c74000 rw-p 00000000 00:00 0
7fffa6c19000-7fffa6c2e000 rw-p 00000000 00:00 0 [stack]
7fffa6c44000-7fffa6c45000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Aborted
View 1 Replies
View Related
Oct 26, 2009
when i install bochs and make the makefile why undefined reference to `pthread_create'
View 1 Replies
View Related
Dec 5, 2010
I needed an open source alternative to after effects so i went for jahshaka but after following the instructions, i type in 'make' and hit return and it says "make: *** No targets specified and no makefile found. Stop." am i missing something obvious? i have looked around the web, but no-one has this problem that i can find i am using ubuntu 10.04.
View 2 Replies
View Related
Mar 6, 2010
To search a string pattern in all files in a directory and subdirectories, I am using;
Code:
grep -R "myclass::my-func(" mydirectory/
Now I want grep, to search in only specific file types say *.cc. Please help me. I have read manual of grep, but could not deduce any hint.
Best Regards.
View 7 Replies
View Related
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:
Code:
Makefile:535: /usr/src/linux-2.6.33.4/arch/i486/Makefile: No such file or directory
make[2]: *** No rule to make target `/usr/src/linux-2.6.33.4/arch/i486/Makefile'. Stop.
make[1]: *** [modules] Error 2
make: *** [all] Error 2
looks like the folder i486 doesn't exist
View 2 Replies
View Related
Feb 24, 2010
I want to search a file for a particular pattern and if pattern found replace the line with new text. i am using awk 'match($0,"pattern") != 0 {print $0} ' filename to check if the pattern exists.how do i get the line number of the pattern and delete that line and replace the line with my new text?
View 1 Replies
View Related
Nov 14, 2015
which kind of package enables the notification bar ("(A) Connection Established I'm running Code: Select allLinux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u5 (2015-10-09) x86_64 GNU/Linux on two machines with i3 window manager but one have notifications in a box, the other one in a bar on the top of the screen. I would like two enable the "bar style" on the second machine as well.
View 4 Replies
View Related
Apr 29, 2010
I have to enhance the behaviour of a backup script written in perl. I don't need to change it, what I need to do is to create a bash script that does some checks like file name and file size, execute the backup script then check if the backup files match the original files.Here's how I try to do it:
- read the files from the original files folder
- store them in an array
- search in the array the files that have a specific file extension
- store the file names that match the search pattern (I know the backup script skips some files so I can hardcode the search pattern)
- run the backup script
- read the files from the backup folder
- store them in an array
- compare the original files name and size stored in an array with those from the backup folder
- send a report email
View 3 Replies
View Related
Aug 30, 2009
I'm writing a bash script to search html files, and when I find any occurrence of an img src tag like this:
<img src="123-picture-normal.jpg" alt="some random user entered text" border="0">
I want to add a second line below it that looks like:
<img src="123-picture-thumbnail.jpg" alt="some random user entered text" border="0">
All I need to do is duplicate the line but replace "normal" with "thumbnail"
Each file can have multiple img src tags with different numbered jpgs.
I have a feeling this is a job for sed, but I'm struggling with it. Any ideas?
View 2 Replies
View Related
Apr 23, 2011
I am trying to strip the .wav file extension from a file name so that I can pass the result to lame encoder. I started to write a BASH script that looks like this:
Code:
for f in /home/user/wavfiles*; do FILE=basename $f .wav; lame $FILE; done
It doesn't work very well though. For the life of me I can't seem to discover how to use basename in a suitable way for a script like this.
View 8 Replies
View Related
Apr 23, 2010
I set up a squid transparent proxy and I have a problem with an iptable rules. I have a rule to redirect all request to port 80 to go on port 3128. To do so, I'm using this iptables command :
Code:
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128
This command is working like a charm. The only problem is, for some unknown reasons, this rule will be dropped at some point. I did not manage to identify what is causing this to happen. It occurs during night, but I have nothing about that in my log files. messages / firewall / ...) The only way I managed to reproduce this 'dropping' is this one: I type the command like as root. The command is effective and working fine. I open yast, I go to the firewall module, the I do a simple "save changes and restart firewall" (without changing anything). As soon as this process is finished, the iptables rule is gone.
-How can I make this rule permanent ?
-Is there a place where I can launch a script executing this rule, after the yast firewall module is 'touched' or something ?
View 3 Replies
View Related
Jul 16, 2010
I've spent all day trying to sort this out and I'm beginning to think this problem is specific to a Mac because I've managed to build this extension just fine on a debian vpsI'm trying to build the PECL extension amfext.I download the source to a folder and run the following:
Code:
sudo phpize --clean
sudo phpize
[code]...
View 13 Replies
View Related
Oct 11, 2010
I want to go through a log file and find pattern1 and then a pattern2 only after pattern 1.So for example I want to know howManyRecords was in 13:30.I figured I grep for "start time for the job" and then only after that (and before the next occurence of that) grep for "howManyRecords". Is this a sane way?
View 1 Replies
View Related