- priority: 5 --> 7
- assigned_to: nobody --> prez
I've been trying to compile Magick-II services on two
different Linux platforms, neither with any success. I
have installed the ACE5.4 libraries, as well as zlib
and pthreads, but my attempts to compile result with this:
Makefile:387: warning: overriding commands for target
`distclean'
Makefile:358: warning: ignoring old commands for target
`distclean'
Making all in docs
make[1]: Entering directory
`/home/username/Magick-2.0/docs'
Making all in en
make[2]: Entering directory
`/home/username/Magick-2.0/docs/en'
make[2]: Leaving directory
`/home/username/Magick-2.0/docs/en'
Making all in man
make[2]: Entering directory
`/home/username/Magick-2.0/docs/man'
if test -n "`which pod2man 2>/dev/null`" ;\
then if test -r `which pod2man 2>/dev/null` ;\
then if test -x `which pod2man 2>/dev/null` ;\
then rm -fr man1 ;\
mkdir man1 ;\
for x in magick.pod magick_keygen.pod
magick_stampkeys.pod ;\
do echo "`which pod2man 2>/dev/null`
--center="Magick Development T
eam" --release="Magick 2.0" $x >man1/`echo $x | cut -f1
-d.`.1" ;\
`which pod2man 2>/dev/null` --center="Magick
Development Team" --release
="Magick 2.0" $x >man1/`echo $x | cut -f1 -d.`.1 ;\
done ;\
fi; fi; fi
/usr/bin/pod2man --center=Magick Development Team
--release=Magick 2.0 magick.po
d >man1/magick.1
/usr/bin/pod2man --center=Magick Development Team
--release=Magick 2.0 magick_ke
ygen.pod >man1/magick_keygen.1
/usr/bin/pod2man --center=Magick Development Team
--release=Magick 2.0 magick_st
ampkeys.pod >man1/magick_stampkeys.1
make[2]: Leaving directory
`/home/username/Magick-2.0/docs/man'
make[2]: Entering directory
`/home/username/Magick-2.0/docs'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/username/Magick-2.0/docs'
make[1]: Leaving directory `/home/username/Magick-2.0/docs'
Making all in ircd
make[1]: Entering directory
`/home/username/Magick-2.0/ircd'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/username/Magick-2.0/ircd'
Making all in src
make[1]: Entering directory `/home/username/Magick-2.0/src'
Making all in crypt
make[2]: Entering directory
`/home/username/Magick-2.0/src/crypt'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/username/Magick-2.0/src/crypt'
Making all in xml
make[2]: Entering directory
`/home/username/Magick-2.0/src/xml'
c++ -DHAVE_CONFIG_H -I. -I. -I../../include -W -Wall
-Wimport -Wmissing-prototypes -Wpointer-arith
-Wsign-compare -Wwrite-strings -I../../include
-DBUILD_NODE="\"compname\""
-DBUILD_TYPE="\"Linux/i686\""
-DBUILD_REL="\"2.4.27-2-386\"" -Wno-unused -W -Wall
-Wimport -Wmissing-prototypes
-Wpointer-arith-Wsign-compare -Wwrite-strings
-I../../include -g -O2 -Woverloaded-virtual -Wsynth
-Wno-deprecated -c sxp.cpp
In file included from ../../include/pch.h:235,
from sxp.cpp:1:
../../include/ace_memory.h:37: error: parse error
before `{' token
../../include/ace_memory.h:53: error: destructors must
be member functions
../../include/ace_memory.h:53: error: `void
ACE_Expandable_Cached_Allocator()'
redeclared as different kind of symbol
../../include/ace_memory.h:36: error: previous
declaration of `template<class
T, class ACE_LOCK> class
ACE_Expandable_Cached_Allocator'
../../include/ace_memory.h:36: error: previous
non-function declaration `
template<class T, class ACE_LOCK> class
ACE_Expandable_Cached_Allocator'
../../include/ace_memory.h:53: error: conflicts with
function declaration `void
ACE_Expandable_Cached_Allocator()'
../../include/ace_memory.h:66: error: non-member
function `size_t chunks()'
cannot have `const' method qualifier
../../include/ace_memory.h: In function `size_t chunks()':
../../include/ace_memory.h:67: error: `pool_'
undeclared (first use this
function)
../../include/ace_memory.h:67: error: (Each undeclared
identifier is reported
only once for each function it appears in.)
../../include/ace_memory.h: At global scope:
../../include/ace_memory.h:70: error: non-member
function `size_t used()'
cannot have `const' method qualifier
../../include/ace_memory.h: In function `size_t used()':
../../include/ace_memory.h:71: error: `n_chunks_'
undeclared (first use this
function)
../../include/ace_memory.h:71: error: `free_list_'
undeclared (first use this
function)
../../include/ace_memory.h: At global scope:
../../include/ace_memory.h:74: error: parse error
before `private'
../../include/ace_memory.h:79: error:
`ACE_Cached_Mem_Pool_Node' was not
declared in this scope
../../include/ace_memory.h:79: error: `T' was not
declared in this scope
../../include/ace_memory.h:79: error: wrong number of
template arguments (1,
should be 2)
/usr/include/ace/Free_List.h:67: error: provided for
`template<class T, class
ACE_LOCK> class ACE_Locked_Free_List'
../../include/ace_memory.h:79: error: parse error
before `,' token
../../include/ace_memory.h:82: error:
`ACE_Array_Base<char*> pool_' used prior
to declaration
../../include/ace_memory.h:86: error: parse error
before `}' token
../../include/ace_memory.h:89: error: invalid use of
undefined type `class
ACE_Expandable_Cached_Allocator<T, ACE_LOCK>'
../../include/ace_memory.h:36: error: declaration of `class
ACE_Expandable_Cached_Allocator<T, ACE_LOCK>'
../../include/ace_memory.h:89: error: template
definition of non-template `void
ACE_Expandable_Cached_Allocator<T,
ACE_LOCK>::free(void*)'
../../include/ace_memory.h:95: error: invalid use of
undefined type `class
ACE_Expandable_Cached_Allocator<T, ACE_LOCK>'
../../include/ace_memory.h:36: error: declaration of `class
ACE_Expandable_Cached_Allocator<T, ACE_LOCK>'
../../include/ace_memory.h:95: error: template
definition of non-template `
ACE_Expandable_Cached_Allocator<T,
ACE_LOCK>::ACE_Expandable_Cached_Allocator(unsigned
int)'
../../include/ace_memory.h: In constructor
`ACE_Expandable_Cached_Allocator<T,
ACE_LOCK>::ACE_Expandable_Cached_Allocator(unsigned
int)':
../../include/ace_memory.h:95: error: class
`ACE_Expandable_Cached_Allocator<T,
ACE_LOCK>' does not have any field named `n_chunks_'
../../include/ace_memory.h:95: error: class
`ACE_Expandable_Cached_Allocator<T,
ACE_LOCK>' does not have any field named `free_list_'
../../include/ace_memory.h:96: error: class
`ACE_Expandable_Cached_Allocator<T,
ACE_LOCK>' does not have any field named `pool_'
../../include/ace_memory.h: At global scope:
../../include/ace_memory.h:119: error: invalid use of
undefined type `class
ACE_Expandable_Cached_Allocator<T, ACE_LOCK>'
../../include/ace_memory.h:36: error: declaration of `class
ACE_Expandable_Cached_Allocator<T, ACE_LOCK>'
../../include/ace_memory.h:119: error: template
definition of non-template `
ACE_Expandable_Cached_Allocator<T,
ACE_LOCK>::~ACE_Expandable_Cached_Allocator()'
../../include/ace_memory.h:125: error: invalid use of
undefined type `class
ACE_Expandable_Cached_Allocator<T, ACE_LOCK>'
../../include/ace_memory.h:36: error: declaration of `class
ACE_Expandable_Cached_Allocator<T, ACE_LOCK>'
../../include/ace_memory.h:125: error: template
definition of non-template `
void* ACE_Expandable_Cached_Allocator<T,
ACE_LOCK>::malloc(unsigned int)'
../../include/ace_memory.h:161: error: parse error
before `{' token
../../include/ace_memory.h:172: error: destructors must
be member functions
../../include/ace_memory.h:172: error: `void
ACE_Cached_Fixed_Allocator()'
redeclared as different kind of symbol
../../include/ace_memory.h:160: error: previous
declaration of `template<class
ACE_LOCK> class ACE_Cached_Fixed_Allocator'
../../include/ace_memory.h:160: error: previous
non-function declaration `
template<class ACE_LOCK> class
ACE_Cached_Fixed_Allocator'
../../include/ace_memory.h:172: error: conflicts with
function declaration `
void ACE_Cached_Fixed_Allocator()'
../../include/ace_memory.h:184: error: non-member
function `size_t size()'
cannot have `const' method qualifier
../../include/ace_memory.h:188: error: non-member
function `size_t nodesize()'
cannot have `const' method qualifier
../../include/ace_memory.h:192: error: non-member
function `size_t chunksize()'
cannot have `const' method qualifier
../../include/ace_memory.h:196: error: non-member
function `size_t count()'
cannot have `const' method qualifier
../../include/ace_memory.h:200: error: parse error
before `private'
../../include/ace_memory.h:204: error: `size_t
n_chunks_' used prior to
declaration
../../include/ace_memory.h:208: error:
`ACE_Cached_Mem_Pool_Node' was not
declared in this scope
../../include/ace_memory.h:208: error: parse error
before `*' token
../../include/ace_memory.h:212: error: conflicting
types for `char*pool_'
../../include/ace_memory.h:82: error: previous
declaration as `
ACE_Array_Base<char*> pool_'
../../include/ace_memory.h:216: error: parse error
before `}' token
../../include/ace_memory.h:219: error: invalid use of
undefined type `class
ACE_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:160: error: declaration of
`class
ACE_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:219: error: template
definition of non-template `
void*
ACE_Cached_Fixed_Allocator<ACE_LOCK>::malloc(unsigned int)'
../../include/ace_memory.h:230: error: invalid use of
undefined type `class
ACE_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:160: error: declaration of
`class
ACE_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:230: error: template
definition of non-template `
void ACE_Cached_Fixed_Allocator<ACE_LOCK>::free(void*)'
../../include/ace_memory.h:236: error: invalid use of
undefined type `class
ACE_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:160: error: declaration of
`class
ACE_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:236: error: template
definition of non-template `
size_t ACE_Cached_Fixed_Allocator<ACE_LOCK>::size()
const'
../../include/ace_memory.h:241: error: invalid use of
undefined type `class
ACE_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:160: error: declaration of
`class
ACE_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:241: error: template
definition of non-template `
size_t
ACE_Cached_Fixed_Allocator<ACE_LOCK>::nodesize() const'
../../include/ace_memory.h:246: error: invalid use of
undefined type `class
ACE_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:160: error: declaration of
`class
ACE_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:246: error: template
definition of non-template `
size_t
ACE_Cached_Fixed_Allocator<ACE_LOCK>::chunksize() const'
../../include/ace_memory.h:251: error: invalid use of
undefined type `class
ACE_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:160: error: declaration of
`class
ACE_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:251: error: template
definition of non-template `
size_t ACE_Cached_Fixed_Allocator<ACE_LOCK>::count()
const'
../../include/ace_memory.h:255: error: invalid use of
undefined type `class
ACE_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:160: error: declaration of
`class
ACE_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:255: error: template
definition of non-template `
ACE_Cached_Fixed_Allocator<ACE_LOCK>::ACE_Cached_Fixed_Allocator(unsigned
int, unsigned int)'
../../include/ace_memory.h: In constructor `
ACE_Cached_Fixed_Allocator<ACE_LOCK>::ACE_Cached_Fixed_Allocator(unsigned
int, unsigned int)':
../../include/ace_memory.h:256: error: class `
ACE_Cached_Fixed_Allocator<ACE_LOCK>' does not have
any field named `n_size_
'
../../include/ace_memory.h:256: error: class `
ACE_Cached_Fixed_Allocator<ACE_LOCK>' does not have
any field named `
n_chunks_'
../../include/ace_memory.h:256: error: class `
ACE_Cached_Fixed_Allocator<ACE_LOCK>' does not have
any field named `
free_list_'
../../include/ace_memory.h:256: error: class `
ACE_Cached_Fixed_Allocator<ACE_LOCK>' does not have
any field named `pool_'
../../include/ace_memory.h: At global scope:
../../include/ace_memory.h:272: error: invalid use of
undefined type `class
ACE_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:160: error: declaration of
`class
ACE_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:272: error: template
definition of non-template `
ACE_Cached_Fixed_Allocator<ACE_LOCK>::~ACE_Cached_Fixed_Allocator()'
../../include/ace_memory.h:277: error: parse error
before `{' token
../../include/ace_memory.h:291: error: destructors must
be member functions
../../include/ace_memory.h:291: error: `void
ACE_Expandable_Cached_Fixed_Allocator()' redeclared
as different kind of
symbol
../../include/ace_memory.h:276: error: previous
declaration of `template<class
ACE_LOCK> class ACE_Expandable_Cached_Fixed_Allocator'
../../include/ace_memory.h:276: error: previous
non-function declaration `
template<class ACE_LOCK> class
ACE_Expandable_Cached_Fixed_Allocator'
../../include/ace_memory.h:291: error: conflicts with
function declaration `
void ACE_Expandable_Cached_Fixed_Allocator()'
../../include/ace_memory.h:303: error: non-member
function `size_t size()'
cannot have `const' method qualifier
../../include/ace_memory.h:307: error: non-member
function `size_t nodesize()'
cannot have `const' method qualifier
../../include/ace_memory.h:311: error: non-member
function `size_t chunksize()'
cannot have `const' method qualifier
../../include/ace_memory.h:315: error: non-member
function `size_t count()'
cannot have `const' method qualifier
../../include/ace_memory.h:319: error: parse error
before `private'
../../include/ace_memory.h:323: error: redefinition of
`size_t n_chunks_'
../../include/ace_memory.h:204: error: `size_t
n_chunks_' previously declared
here
../../include/ace_memory.h:327: error:
`ACE_Cached_Mem_Pool_Node' was not
declared in this scope
../../include/ace_memory.h:327: error: parse error
before `*' token
../../include/ace_memory.h:331: error: conflicting
types for `
ACE_Array_Base<char*> pool_'
../../include/ace_memory.h:212: error: previous
declaration as `char*pool_'
../../include/ace_memory.h:335: error: parse error
before `}' token
../../include/ace_memory.h:338: error: invalid use of
undefined type `class
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:276: error: declaration of
`class
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:338: error: template
definition of non-template `
void
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>::free(void*)'
../../include/ace_memory.h: In member function `void
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>::free(void*)':
../../include/ace_memory.h:340: error: parse error
before `<' token
../../include/ace_memory.h: At global scope:
../../include/ace_memory.h:344: error: invalid use of
undefined type `class
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:276: error: declaration of
`class
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:344: error: template
definition of non-template `
size_t
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>::size()
const'
../../include/ace_memory.h:349: error: invalid use of
undefined type `class
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:276: error: declaration of
`class
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:349: error: template
definition of non-template `
size_t
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>::nodesize()
const'
../../include/ace_memory.h:354: error: invalid use of
undefined type `class
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:276: error: declaration of
`class
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:354: error: template
definition of non-template `
size_t
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>::chunksize()
const'
../../include/ace_memory.h:359: error: invalid use of
undefined type `class
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:276: error: declaration of
`class
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:359: error: template
definition of non-template `
size_t
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>::count()
const'
../../include/ace_memory.h:364: error: invalid use of
undefined type `class
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:276: error: declaration of
`class
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:364: error: template
definition of non-template `
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>::ACE_Expandable_Cached_Fixed_Allocator(unsigned
int, unsigned int)'
../../include/ace_memory.h: In constructor `
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>::ACE_Expandable_Cached_Fixed_Allocator(unsigned
int, unsigned int)':
../../include/ace_memory.h:364: error: class `
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>'
does not have any field
named `n_size_'
../../include/ace_memory.h:364: error: class `
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>'
does not have any field
named `n_chunks_'
../../include/ace_memory.h:365: error: class `
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>'
does not have any field
named `free_list_'
../../include/ace_memory.h:365: error: class `
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>'
does not have any field
named `pool_'
../../include/ace_memory.h:380: error: parse error
before `<' token
../../include/ace_memory.h: At global scope:
../../include/ace_memory.h:387: error: invalid use of
undefined type `class
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:276: error: declaration of
`class
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:387: error: template
definition of non-template `
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>::~ACE_Expandable_Cached_Fixed_Allocator()
'
../../include/ace_memory.h:393: error: invalid use of
undefined type `class
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:276: error: declaration of
`class
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>'
../../include/ace_memory.h:393: error: template
definition of non-template `
void*
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>::malloc(unsigned
int)'
../../include/ace_memory.h: In member function `void*
ACE_Expandable_Cached_Fixed_Allocator<ACE_LOCK>::malloc(unsigned
int)':
../../include/ace_memory.h:416: error: parse error
before `<' token
make[2]: *** [sxp.o] Error 1
make[2]: Leaving directory
`/home/username/Magick-2.0/src/xml'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/username/Magick-2.0/src'
make: *** [all-recursive] Error 1
gcc version: 3.3.5 (Debian 1:3.3.5-13)
make version: GNU Make 3.80