02-22-2008
Hi Marcintom,
->i was just trying to see if those checks would help you
->the error was interesting, not seen before, thats why i was keen on the version of make
->and secondly you can call make in these ways
->make
it will try to make the first target and there is no constraints, that the target name should be in the first line(make parses not in a single strech, it has do a lot of substitution, get the values of macros, include other makefiles etc etc and at last it tries to make targets)
->make target
here it will try to make the target
->but in any of the two cases there is no chance that it would give a error like that (assuming that the lines in make have proper spaces and tabs)
->i was not able to get the same error when tried in read had machine with make 3.80
->please post the solution if have found one
Best Regards,
Rakesh Uv
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Howdie everyone...
I have a shell script RemoveFiles.sh
Inside this file, it only has two commands as below:
rm -f ../../reportToday/temp/*
rm -f ../../report/*
My problem is that when i execute this script, nothing happened. Files remained unremoved. I don't see any error message as it... (2 Replies)
Discussion started by: cheongww
2 Replies
2. Programming
I am writing my first makefile, and I face a problem:
all: sequential pthreads1 pthreads2 openmp1 openmp2
sequential: sequential/main.c sequential/definitions.h
gcc -o seq sequential/main.c
pthreads1: pthreads1/main.c pthreads1/definitions.h
gcc -o pthr1 pthreads1/main.c -lpthread
... (0 Replies)
Discussion started by: myle
0 Replies
3. UNIX for Advanced & Expert Users
Hi, I'm trying to run the module load command in a Makefile and i'm getting the following error:
make: module: command not found
Why is this? Is there any way to run this command in a Makefile?
NOTE: command - module load msjava/sunjdk/1.5.0 works fine outside of the Makefile (2 Replies)
Discussion started by: hernandinho
2 Replies
4. Shell Programming and Scripting
Hi, I have problem related to makefile in c in linux(ubuntu).
What is the meaning of @prefix@
what this two @ symbols mean here?
Thanks,
Vivek (0 Replies)
Discussion started by: vivek146
0 Replies
5. Programming
hello,
I have a firts makefile who call others makefile. for this i use:
$ make -f linux.mak
and output his:
$ make -f linux.mak all
make -C DerelictAL all PLATFORM=linux
make: Entering directory `/home/builder/rpmbuild/SOURCES/derelict2-20100407/DerelictAL'
make: Nothing to be done for... (2 Replies)
Discussion started by: bioinfornatics
2 Replies
6. UNIX for Advanced & Expert Users
I have 2 libraries in 2 different directories that I build with Makefiles.
library B depends on library A. If I modify a .cpp file in library A and run lib B's Makefile can I have B's makefile to automatically rebuild library A?
I am now rebuilding A, followed by B... but I'd like B to... (0 Replies)
Discussion started by: wwuster
0 Replies
7. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Basically, the prompt is make a makefile with various sub makefiles in their respective subdirectories. All code... (1 Reply)
Discussion started by: Tatl
1 Replies
8. IP Networking
I have a client machine that was built and loaded with SCO UNIX 2.1.3, (yes it is old). The machine worked fine on the closed network that I tested on in my shop. I then had to change it to the network that it would be connected to. Below is the host file, router and subnet mask file that I usually... (0 Replies)
Discussion started by: NC user
0 Replies
9. Shell Programming and Scripting
My script work on Linux but not work in sun os.
my script.
logFiles="sentLog1.log sentLog2.log"
intial_time="0 0"
logLocation="/usr/local/tomcat/logs/"
sleepTime=600
failMessage=":: $(tput bold)Log not update$(tput rmso) = "
successMessage="OK"
arr=($logFiles)... (7 Replies)
Discussion started by: ooilinlove
7 Replies
10. IP Networking
hi all. and sorry for the random question, but this sparkled a raging flame-war at work and i want more points of view
situation
a router, with linux of some sort,
dhcp client requesting for ip in wan1 (as usual with wan ports)
dhcp server listening in lan1, and assigning ip (as usual... (9 Replies)
Discussion started by: broli
9 Replies
LEARN ABOUT DEBIAN
mrtg-ipv6
MRTG-IPV6(1) mrtg MRTG-IPV6(1)
NAME
mrtg-ipv6 - IPv6 support in MRTG
OVERVIEW
MRTG and cfgmaker support SNMP over IPv6. IPv6 targets can be specified by hostname or IPv6 address, and if the required libraries are
present (see below), queries will use IPv6.
USAGE
Enabling IPv6
IPv6 is currently disabled by default and must be explicitly enabled. In MRTG this is done by turning on the EnableIPv6 global option in
the configuration file. In cfgmaker, it is enabled with the --enable-ipv6 command-line option.
If IPv6 is disabled, MRTG and cfgmaker should behave in exactly the same way as previous versions. So the addition of IPv6 support should
have no effect on existing MRTG setups unless IPv6 is enabled.
IPv6 support requires the Socket6 and INET6 libraries (see below). If MRTG can't find them, IPv6 is disabled.
Specifying IPv6 targets
IPv6 targets may be specified by name or IPv6 address. Numeric IPv6 addresses may be used with both cfgmaker and MRTG, but they must be
enclosed in square brackets.
For example, a target could be specified as:
public@[2001:760:4::]:161
Hostnames work as expected: first an IPv6 name lookup is tried, then an IPv4 lookup.
Targets that do not support SNMP over IPv6
Many targets (this currently includes all Cisco routers) do not yet support SNMP over IPv6 and must be monitored over IPv4. This can cause
problems if you specify a target through its DNS name and the name maps to both the IPv6 address and the IPv4 address of the target: MRTG
will only try IPv6, and will fail.
To query these targets, use the IPv4Only per-target option, which tells MRTG not to use SNMP over IPv6 for the target.
MRTG does not fall back to IPv4 for performance and correctness reasons. If there are many routers to query, a timeout for every router
would make MRTG take too long to query them all. And if, for some reason, IPv6 connectivity to the target is lost, MRTG's error messages
can help figure out what is wrong.
cfgmaker does fall back from IPv6 to IPv4. If IPv6 is enabled and cfgmaker is given a hostname that resolves to both an IPv6 and an IPv4
address, it first tries to query the target over IPv6. If it receives no answer, it tries again using IPv4. If the target answers, cfgmaker
sets the IPv4Only option in the generated config file.
IPv6 LIBRARIES
Libraries required
IPv6 support requires the Socket6 and INET6 Perl modules. Both can be downloaded from CPAN:
http://search.cpan.org/author/UMEMOTO/Socket6/
http://search.cpan.org/author/MONDEJAR/INET6/
If you use Debian, you will need the packages libsocket6-perl and libio-socket-inet6-perl, which are (or should soon be) in unstable.
So far, IPv6 support has been tested on Linux only, and only with Socket6 version 0.12. Also note that IPv6 won't work at all if you don't
have INET6.pm version 2.00 or newer.
Installing the libraries
Building and installing Socket6 and INET6 is very simple. For each module, just unpack the archive and then do:
perl Makefile.PL
make
and then:
su
make install
If you have installed the libraries successfully, cfgmaker and mrtg should automatically detect them and allow IPv6 support to be enabled.
AUTHOR
Lorenzo Colitti <lorenzo location colitti.com>
2.17.4 2012-01-12 MRTG-IPV6(1)