Fam error portmap error

Vincent VANDAELE vincent.vandaele at tele2.fr
Tue Mar 30 13:05:47 PST 2004

I want to install fam
It requires portmap et portmap requires tcpwrappers
Tcpwrappers was installes
Portmap too
But in the scrip configuration in the blfs book it's write:
--->   source /etc/rc.d/init.d/functions
But I haven't this file so I have error in my boot and halt system!!!!!!!!!
How to have this file????

When I compile fam in the make I have this errors

make[2]: Leaving directory `/usr/src/fam-2.6.10/include'
Making all in support
make[2]: Entering directory `/usr/src/fam-2.6.10/support'
Makefile:410: no file name for `-include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/fam-2.6.10/support'
Making all in libfam
make[2]: Entering directory `/usr/src/fam-2.6.10/libfam'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/fam-2.6.10/libfam'
Making all in fam
make[2]: Entering directory `/usr/src/fam-2.6.10/fam'
Makefile:576: no file name for `-include'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include
-DCONFIG_ETC_CONFIG_PATH=\"/etc/fam.conf\"    -g -O2 -c -o DNotify.o `test
-f 'DNotify.c++' || echo './'`DNotify.c++
DNotify.c++:24:1: warning: "_GNU_SOURCE" redefined
<command line>:4:1: warning: this is the location of the previous definition
In file included from /usr/include/c++/3.3.1/backward/alloc.h:46,
                 from DNotify.c++:40:
/usr/include/c++/3.3.1/backward/backward_warning.h:32:2: warning: #warning
This file includes at least one deprecated or antiquated header. Please
consider using one of the 32 headers found in section of the C++
standard. Examples include substituting the <X> header for the <X.h> header
for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
DNotify.c++:626: error: duplicate initialization of DNotify::pipe_write_fd
DNotify.c++:626: error: redefinition of `int DNotify::pipe_write_fd'
DNotify.c++:43: error: `int DNotify::pipe_write_fd' previously defined here
DNotify.c++:627: error: duplicate initialization of DNotify::pipe_read_fd
DNotify.c++:627: error: redefinition of `int DNotify::pipe_read_fd'
DNotify.c++:44: error: `int DNotify::pipe_read_fd' previously defined here
DNotify.c++:628: error: duplicate initialization of
DNotify.c++:628: error: redefinition of `volatile sig_atomic_t 
DNotify.c++:45: error: `volatile sig_atomic_t DNotify::queue_overflowed' 
   previously defined here
DNotify.c++:629: error: duplicate initialization of DNotify::queue_changed
DNotify.c++:629: error: redefinition of `volatile sig_atomic_t 
DNotify.c++:46: error: `volatile sig_atomic_t DNotify::queue_changed' 
   previously defined here
DNotify.c++:630: error: redefinition of `int DNotify::change_queue[1024]'
DNotify.c++:47: error: `int DNotify::change_queue[1024]' previously declared

DNotify.c++:631: error: duplicate initialization of DNotify::queue_head
DNotify.c++:631: error: redefinition of `volatile int DNotify::queue_head'
DNotify.c++:48: error: `volatile int DNotify::queue_head' previously defined

DNotify.c++:632: error: duplicate initialization of DNotify::queue_tail
DNotify.c++:632: error: redefinition of `volatile int DNotify::queue_tail'
DNotify.c++:49: error: `volatile int DNotify::queue_tail' previously defined

DNotify.c++:633: error: redefinition of `void (*DNotify::ehandler)(long long

   unsigned int, long unsigned int, int)'
DNotify.c++:50: error: `void (*DNotify::ehandler)(long long unsigned int,
   unsigned int, int)' previously declared here
DNotify.c++:635: error: redefinition of `
DNotify.c++:52: error: `DNotify::DirWatch*DNotify::dir_hash[257]' previously

   declared here
DNotify.c++:636: error: redefinition of `
DNotify.c++:53: error: `DNotify::FileWatch*DNotify::file_hash[257]'
   declared here
DNotify.c++:639: error: redefinition of `struct DNotify::FileWatch'
DNotify.c++:56: error: previous definition of `struct DNotify::FileWatch'
DNotify.c++:65: error: `struct DNotify::DirWatch' is private
DNotify.c++:640: error: within this context
DNotify.c++:648: error: redefinition of `struct DNotify::DirWatch'
DNotify.c++:65: error: previous definition of `struct DNotify::DirWatch'
DNotify.c++:639: error: `struct DNotify::FileWatch' is private
DNotify.c++:654: error: within this context
DNotify.c++:658: error: redefinition of `struct DNotify::ChangeEventData'
DNotify.c++:75: error: previous definition of `struct
DNotify.c++:664: error: redefinition of `DNotify::DNotify(void (*)(long long

   unsigned int, long unsigned int, int))'
DNotify.c++:81: error: `DNotify::DNotify(void (*)(long long unsigned int,
   unsigned int, int))' previously defined here
DNotify.c++:664: error: no `DNotify::DNotify(void (*)(long long unsigned
   long unsigned int, int))' member function declared in class `DNotify'
DNotify.c++:81: confused by earlier errors, bailing out
make[2]: *** [DNotify.o] Error 1
make[2]: Leaving directory `/usr/src/fam-2.6.10/fam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/fam-2.6.10'
make: *** [all] Error 2

Can somebody help me? Thanks a lot

More information about the lfs-support mailing list