Re: [Sqlrelay-discussion] rudiments will not build
Brought to you by:
mused
|
From: David M. <dav...@fi...> - 2009-01-22 03:07:46
|
I've seen this before, but I don't remember exactly what causes it.
Some program is missing from the server. Maybe it's the program called
"file".
Try searching the discussion group archives. I'll see if I can find it
in my notes.
David Muse
dav...@fi...
On Wed, 2009-01-21 at 20:25 -0500, Pepe Le Moko wrote:
> --
>
>
>
>
> I have a new redhat Enterprise linux 4 update 4 oracle server. It was
> built 4 days ago. This is what i get when i try to install rudiments 0.32
> on the machine:
>
> [root@dba4 rudiments-0.32]# make
> cd src; make all
> make[1]: Entering directory `/root/rudiments-0.32/src'
> /bin/sh ../libtool --mode=compile g++ -pipe -Wall -D_REENTRANT
> -D_THREAD_SAFE -D__EXTENSIONS__ -pthread -I/usr/kerberos/include
> -I../ -I../include -c namevaluepairs.C -o namevaluepairs.lo
> libtool: compile: unable to infer tagged configuration
> libtool: compile: specify a tag with `--tag'
> make[1]: *** [namevaluepairs.lo] Error 1
> make[1]: Leaving directory `/root/rudiments-0.32/src'
> make: *** [all] Error 2
>
>
> i have played with the tag flag like so:
>
> export CXX="--tag=CXX g++"
>
> which produces this:
>
> [root@dba4 rudiments-0.32]# make
> cd src; make all
> make[1]: Entering directory `/root/rudiments-0.32/src'
> /bin/sh ../libtool --mode=compile --tag=CXX g++ -D_REENTRANT
> -D_THREAD_SAFE -D__EXTENSIONS__ -I/usr/kerberos/include -I../
> -I../include -c namevaluepairs.C -o namevaluepairs.lo
> mkdir .libs
> g++ -D_REENTRANT -D_THREAD_SAFE -D__EXTENSIONS__ -I/usr/kerberos/include
> -I../ -I../include -c namevaluepairs.C -DPIC
> In file included from ../include/rudiments/private/charstringincludes.h:7,
> from ../include/rudiments/charstring.h:7,
> from ../include/rudiments/private/linkedlistutilinlines.h:6,
> from ../include/rudiments/private/linkedlistutil.h:24,
> from ../include/rudiments/private/linkedlistincludes.h:6,
> from ../include/rudiments/linkedlist.h:7,
> from ../include/rudiments/private/dictionaryincludes.h:4,
> from ../include/rudiments/dictionary.h:7,
> from namevaluepairs.C:5:
> /usr/include/sys/types.h:95: conflicting types for `typedef __off64_t off_t'
> /usr/include/sys/types.h:88: previous declaration as `typedef __off_t off_t'
> In file included from ../include/rudiments/private/linkedlistutilinlines.h:6,
> from ../include/rudiments/private/linkedlistutil.h:24,
> from ../include/rudiments/private/linkedlistincludes.h:6,
> from ../include/rudiments/linkedlist.h:7,
> from ../include/rudiments/private/dictionaryincludes.h:4,
> from ../include/rudiments/dictionary.h:7,
> from namevaluepairs.C:5:
> ../include/rudiments/charstring.h:46: type specifier omitted for parameter `
> uint32_t'
> ../include/rudiments/charstring.h:46: syntax error before `)' token
> ../include/rudiments/charstring.h:143: `static char*
> charstring::findFirst(char*, char*)' and `static char*
> charstring::findFirst(char*, char*)' cannot be overloaded
> ../include/rudiments/charstring.h:146: `static char*
> charstring::findFirst(char*, char)' and `static char*
> charstring::findFirst(char*, char)' cannot be overloaded
> ../include/rudiments/charstring.h:149: `static char*
> charstring::findLast(char*, char*)' and `static char*
> charstring::findLast(char*, char*)' cannot be overloaded
> ../include/rudiments/charstring.h:152: `static char*
> charstring::findLast(char*, char)' and `static char*
> charstring::findLast(char*, char)' cannot be overloaded
> ../include/rudiments/charstring.h:161: `static char*
> charstring::findFirstOfSet(char*, char*)' and `static char*
> charstring::findFirstOfSet(char*, char*)' cannot be overloaded
> ../include/rudiments/charstring.h:222: `uint16_t' was not declared in this
> scope
> ../include/rudiments/charstring.h:222: syntax error before `)' token
> ../include/rudiments/charstring.h:223: `uint32_t' was not declared in this
> scope
> ../include/rudiments/charstring.h:223: syntax error before `)' token
> ../include/rudiments/charstring.h:223: `static int
> charstring::integerLength(...)' and `static int
> charstring::integerLength(...)' cannot be overloaded
> ../include/rudiments/charstring.h:224: `uint64_t' was not declared in this
> scope
> ../include/rudiments/charstring.h:224: syntax error before `)' token
> ../include/rudiments/charstring.h:224: `static int
> charstring::integerLength(...)' and `static int
> charstring::integerLength(...)' cannot be overloaded
> ../include/rudiments/charstring.h:238: `uint16_t' was not declared in this
> scope
> ../include/rudiments/charstring.h:238: syntax error before `)' token
> ../include/rudiments/charstring.h:241: `uint16_t' was not declared in this
> scope
> ../include/rudiments/charstring.h:241: syntax error before `,' token
> ../include/rudiments/charstring.h:242: `static char*
> charstring::parseNumber(...)' and `static char*
> charstring::parseNumber(...)
> ' cannot be overloaded
> ../include/rudiments/charstring.h:244: `uint32_t' was not declared in this
> scope
> ../include/rudiments/charstring.h:244: syntax error before `)' token
> ../include/rudiments/charstring.h:244: `static char*
> charstring::parseNumber(...)' and `static char*
> charstring::parseNumber(...)
> ' cannot be overloaded
> ../include/rudiments/charstring.h:247: `uint32_t' was not declared in this
> scope
> ../include/rudiments/charstring.h:247: syntax error before `,' token
> ../include/rudiments/charstring.h:248: `static char*
> charstring::parseNumber(...)' and `static char*
> charstring::parseNumber(...)
> ' cannot be overloaded
> ../include/rudiments/charstring.h:250: `uint64_t' was not declared in this
> scope
> ../include/rudiments/charstring.h:250: syntax error before `)' token
> ../include/rudiments/charstring.h:250: `static char*
> charstring::parseNumber(...)' and `static char*
> charstring::parseNumber(...)
> ' cannot be overloaded
> ../include/rudiments/charstring.h:253: `uint64_t' was not declared in this
> scope
> ../include/rudiments/charstring.h:253: syntax error before `,' token
> ../include/rudiments/charstring.h:254: `static char*
> charstring::parseNumber(...)' and `static char*
> charstring::parseNumber(...)
> ' cannot be overloaded
> ../include/rudiments/charstring.h:290: ISO C++ forbids declaration of
> `uint64_t
> ' with no type
> ../include/rudiments/charstring.h:290: syntax error before `(' token
> ../include/rudiments/charstring.h:292: ISO C++ forbids declaration of
> `uint64_t
> ' with no type
> ../include/rudiments/charstring.h:292: syntax error before `(' token
> ../include/rudiments/charstring.h:297: ISO C++ forbids declaration of
> `uint64_t
> ' with no type
> ../include/rudiments/charstring.h:297: syntax error before `(' token
> ../include/rudiments/charstring.h:301: ISO C++ forbids declaration of
> `uint64_t
> ' with no type
> ../include/rudiments/charstring.h:301: syntax error before `(' token
> ../include/rudiments/charstring.h:340: type specifier omitted for parameter `
> uint64_t'
> ../include/rudiments/charstring.h:340: syntax error before `,' token
> ../include/rudiments/charstring.h:346: type specifier omitted for parameter `
> uint64_t'
> ../include/rudiments/charstring.h:346: syntax error before `,' token
> ../include/rudiments/charstring.h:357: type specifier omitted for parameter `
> uint64_t'
> ../include/rudiments/charstring.h:357: syntax error before `)' token
> ../include/rudiments/charstring.h:361: type specifier omitted for parameter `
> uint64_t'
> ../include/rudiments/charstring.h:361: syntax error before `,' token
> ../include/rudiments/charstring.h:363: `static void
> charstring::base64Encode(...)' and `static char*
> charstring::base64Encode(...)' cannot be overloaded
> ../include/rudiments/charstring.h:373: type specifier omitted for parameter `
> uint64_t'
> ../include/rudiments/charstring.h:373: syntax error before `)' token
> ../include/rudiments/charstring.h:377: type specifier omitted for parameter `
> uint64_t'
> ../include/rudiments/charstring.h:377: syntax error before `,' token
> ../include/rudiments/charstring.h:379: `static void
> charstring::base64Decode(...)' and `static unsigned char*
> charstring::base64Decode(...)' cannot be overloaded
> ../include/rudiments/charstring.h:439: type specifier omitted for parameter `
> uint64_t'
> ../include/rudiments/charstring.h:439: syntax error before `*' token
> ../include/rudiments/charstring.h:445: type specifier omitted for parameter `
> uint64_t'
> ../include/rudiments/charstring.h:445: syntax error before `*' token
> ../include/rudiments/charstring.h:445: `static void
> charstring::split(...)' and
> `static void charstring::split(...)' cannot be overloaded
> ../include/rudiments/charstring.h:451: type specifier omitted for parameter `
> uint64_t'
> ../include/rudiments/charstring.h:451: syntax error before `*' token
> ../include/rudiments/charstring.h:451: `static void
> charstring::split(...)' and
> `static void charstring::split(...)' cannot be overloaded
> ../include/rudiments/charstring.h:456: type specifier omitted for parameter `
> uint64_t'
> ../include/rudiments/charstring.h:456: syntax error before `*' token
> ../include/rudiments/charstring.h:456: `static void
> charstring::split(...)' and
> `static void charstring::split(...)' cannot be overloaded
> In file included from ../include/rudiments/private/linkedlistutilinlines.h:6,
> from ../include/rudiments/private/linkedlistutil.h:24,
> from ../include/rudiments/private/linkedlistincludes.h:6,
> from ../include/rudiments/linkedlist.h:7,
> from ../include/rudiments/private/dictionaryincludes.h:4,
> from ../include/rudiments/dictionary.h:7,
> from namevaluepairs.C:5:
> ../include/rudiments/charstring.h:292: duplicate member
> `charstring::uint64_t'
> ../include/rudiments/charstring.h:297: duplicate member
> `charstring::uint64_t'
> ../include/rudiments/charstring.h:301: duplicate member
> `charstring::uint64_t'
> In file included from ../include/rudiments/private/linkedlistutil.h:24,
> from ../include/rudiments/private/linkedlistincludes.h:6,
> from ../include/rudiments/linkedlist.h:7,
> from ../include/rudiments/private/dictionaryincludes.h:4,
> from ../include/rudiments/dictionary.h:7,
> from namevaluepairs.C:5:
> ../include/rudiments/private/linkedlistutilinlines.h:36: redefinition of
> `void
> linkedlistutil<datatype>::print(datatype) [with datatype = char*]'
> ../include/rudiments/private/linkedlistutilinlines.h:30: `void
> linkedlistutil<datatype>::print(datatype) [with datatype = char*]'
> previously declared here
> ../include/rudiments/private/linkedlistutilinlines.h:49: redefinition of `int
> linkedlistutil<datatype>::compare(datatype, datatype) [with datatype =
> char*]'
> ../include/rudiments/private/linkedlistutilinlines.h:42: `int
> linkedlistutil<datatype>::compare(datatype, datatype) [with datatype =
> char*]' previously declared here
> In file included from ../include/rudiments/private/dictionaryincludes.h:4,
> from ../include/rudiments/dictionary.h:7,
> from namevaluepairs.C:5:
> ../include/rudiments/linkedlist.h:74: syntax error before `,' token
> ../include/rudiments/linkedlist.h:79: syntax error before `,' token
> ../include/rudiments/linkedlist.h:85: syntax error before `)' token
> ../include/rudiments/linkedlist.h:102: syntax error before `,' token
> ../include/rudiments/linkedlist.h:108: syntax error before `,' token
> ../include/rudiments/linkedlist.h:115: syntax error before `)' token
> ../include/rudiments/linkedlist.h:118: syntax error before `)' token
> In file included from ../include/rudiments/linkedlist.h:138,
> from ../include/rudiments/private/dictionaryincludes.h:4,
> from ../include/rudiments/dictionary.h:7,
> from namevaluepairs.C:5:
> ../include/rudiments/private/linkedlist.h:5: 'uint64_t' is used as a type,
> but
> is not defined as a type.
> In file included from ../include/rudiments/linkedlist.h:151,
> from ../include/rudiments/private/dictionaryincludes.h:4,
> from ../include/rudiments/dictionary.h:7,
> from namevaluepairs.C:5:
> ../include/rudiments/private/linkedlistinlines.h:57: syntax error before `,'
> token
> ../include/rudiments/private/linkedlistinlines.h:65: syntax error before `,'
> token
> ../include/rudiments/private/linkedlistinlines.h:65: redefinition of `bool
> linkedlist<datatype, linkedlistnodetype>::insert(...)'
> ../include/rudiments/private/linkedlistinlines.h:57: `bool
> linkedlist<datatype,
> linkedlistnodetype>::insert(...)' previously declared here
> ../include/rudiments/private/linkedlistinlines.h:65: no `bool
> linkedlist<datatype, linkedlistnodetype>::insert(...)' member function
> declared in class `linkedlist<datatype, linkedlistnodetype>'
> ../include/rudiments/private/linkedlistinlines.h:102: syntax error before `,'
> token
> ../include/rudiments/private/linkedlistinlines.h:113: syntax error before `)'
> token
> ../include/rudiments/private/linkedlistinlines.h: In member function `bool
> linkedlist<datatype, linkedlistnodetype>::removeByData(datatype)':
> ../include/rudiments/private/linkedlistinlines.h:121: syntax error before `='
> token
> ../include/rudiments/private/linkedlistinlines.h: In member function `bool
> linkedlist<datatype, linkedlistnodetype>::removeAllByData(datatype)':
> ../include/rudiments/private/linkedlistinlines.h:136: syntax error before `='
> token
> ../include/rudiments/private/linkedlistinlines.h: At global scope:
> ../include/rudiments/private/linkedlistinlines.h:175: syntax error before `,'
> token
> ../include/rudiments/private/linkedlistinlines.h:186: syntax error before `<'
> token
> ../include/rudiments/private/linkedlistinlines.h:186: `datatype' was not
> declared in this scope
> ../include/rudiments/private/linkedlistinlines.h:186: `linkedlistnodetype'
> was
> not declared in this scope
> ../include/rudiments/private/linkedlistinlines.h:186: template argument 1 is
> invalid
> ../include/rudiments/private/linkedlistinlines.h:186: template argument 2 is
> invalid
> ../include/rudiments/private/linkedlistinlines.h:186: ISO C++ forbids
> declaration of `getLength' with no type
> ../include/rudiments/private/linkedlistinlines.h: In function `int
> getLength()':
> ../include/rudiments/private/linkedlistinlines.h:187: `length' undeclared
> (first use this function)
> ../include/rudiments/private/linkedlistinlines.h:187: (Each undeclared
> identifier is reported only once for each function it appears in.)
> ../include/rudiments/private/linkedlistinlines.h: At global scope:
> ../include/rudiments/private/linkedlistinlines.h:192: syntax error before `)'
> token
> ../include/rudiments/private/linkedlistinlines.h: In member function
> `linkedlistnodetype* linkedlist<datatype,
> linkedlistnodetype>::getNodeByIndex(...)':
> ../include/rudiments/private/linkedlistinlines.h:197: syntax error before `='
> token
> ../include/rudiments/private/linkedlistinlines.h: In member function `void
> linkedlist<datatype, linkedlistnodetype>::clear()':
> ../include/rudiments/private/linkedlistinlines.h:229: syntax error before `='
> token
> ../include/rudiments/private/linkedlistinlines.h: In member function `void
> linkedlist<datatype, linkedlistnodetype>::print()':
> ../include/rudiments/private/linkedlistinlines.h:243: syntax error before `='
> token
> ../include/rudiments/private/linkedlistinlines.h: At global scope:
> ../include/rudiments/linkedlist.h: In instantiation of
> `linkedlist<dictionarynode<char*, char*>*, dictionarylistnode<char*,
> char*> >':
> namevaluepairs.C:14: instantiated from `dictionarylist<char*, char*>'
> namevaluepairs.C:14: instantiated from `stringdictionarylist<char*>'
> namevaluepairs.C:14: instantiated from here
> ../include/rudiments/private/linkedlistinlines.h:57: `bool
> linkedlist<datatype,
> linkedlistnodetype>::insert(...) [with datatype = dictionarynode<char*,
> char*>*, linkedlistnodetype = dictionarylistnode<char*, char*>]' and `bool
> linkedlist<datatype, linkedlistnodetype>::insert(...) [with datatype =
> dictionarynode<char*, char*>*, linkedlistnodetype =
> dictionarylistnode<char*, char*>]' cannot be overloaded
> namevaluepairs.C:34: duplicate explicit instantiation of `class
> dictionarynode<char*, char*>'
> namevaluepairs.C:35: duplicate explicit instantiation of `class
> dictionarylistnode<char*, char*>'
> namevaluepairs.C:36: duplicate explicit instantiation of `class
> dictionarylist<char*, char*>'
> namevaluepairs.C:42: duplicate explicit instantiation of `class
> linkedlistnode<dictionarynode<char*, char*>*>'
> namevaluepairs.C:44: duplicate explicit instantiation of `class
> linkedlist<dictionarynode<char*, char*>*, dictionarylistnode<char*,
> char*> >
> '
> ../include/rudiments/private/linkedlistinlines.h: In member function `bool
> linkedlist<datatype, linkedlistnodetype>::insert(...) [with datatype =
> dictionarynode<char*, char*>*, linkedlistnodetype =
> dictionarylistnode<char*, char*>]':
> namevaluepairs.C:27: instantiated from here
> ../include/rudiments/private/linkedlistinlines.h:68: `index' undeclared
> (first
> use this function)
> ../include/rudiments/private/linkedlistinlines.h:74: `node' undeclared (first
> use this function)
> ../include/rudiments/private/linkedlistinlines.h: In member function `bool
> linkedlist<datatype, linkedlistnodetype>::removeByData(datatype) [with
> datatype = dictionarynode<char*, char*>*, linkedlistnodetype =
> dictionarylistnode<char*, char*>]':
> namevaluepairs.C:27: instantiated from here
> ../include/rudiments/private/linkedlistinlines.h:121: `i' undeclared
> (first use
> this function)
> ../include/rudiments/private/linkedlistinlines.h: In member function `bool
> linkedlist<datatype, linkedlistnodetype>::setDataByIndex(...) [with
> datatype
> = dictionarynode<char*, char*>*, linkedlistnodetype =
> dictionarylistnode<char*, char*>]':
> namevaluepairs.C:27: instantiated from here
> ../include/rudiments/private/linkedlistinlines.h:105: `data' undeclared
> (first
> use this function)
> make[1]: *** [namevaluepairs.lo] Error 1
> make[1]: Leaving directory `/root/rudiments-0.32/src'
> make: *** [all] Error 2
>
> has anyone else seen this? How can I fix this problem?
>
>
> Thanks
> -Dave
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Sqlrelay-discussion mailing list
> Sql...@li...
> https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion
>
> __________________________________________________
> D O T E A S Y - "Join the web hosting revolution!"
> http://www.doteasy.com
__________________________________________________
D O T E A S Y - "Join the web hosting revolution!"
http://www.doteasy.com
|