Tardiss
01-18-2003, 01:13 AM
I downloaded and was installing the newest ShowEQ and keep getting this error when I try to `make` . Does anyone know how to fix this? I'm using a canned version of Redhat v8
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/temp/qt/include -I/usr/X11R6/include -DMAPDIR=\"/usr/local/share/showeq\" -DLOGDIR=\"/usr/local/share/showeq\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -c -o xmlconv.o `test -f 'xmlconv.cpp' || echo './'`xmlconv.cpp
In file included from xmlconv.cpp:25:
xmlconv.h:24: parse error before `&' token
xmlconv.h:25: parse error before `&' token
xmlconv.h:26: type specifier omitted for parameter `QDomElement'
xmlconv.h:26: parse error before `&' token
xmlconv.h:30: parse error before `&' token
xmlconv.h:31: parse error before `&' token
xmlconv.h:33: `QDomElement' was not declared in this scope
xmlconv.h:33: `e' was not declared in this scope
xmlconv.h:33: invalid data member initialization
xmlconv.h:33: (use `=' to initialize static data members)
xmlconv.h:33: variable or field `clearAttributes' declared void
xmlconv.h:36: syntax error before `&' token
xmlconv.cpp:28: parse error before `&' token
xmlconv.cpp:33: parse error before `&' token
xmlconv.cpp: In member function `bool DomConvenience::elementToVariant(...)':
xmlconv.cpp:38: `e' undeclared (first use this function)
xmlconv.cpp:38: (Each undeclared identifier is reported only once for each
function it appears in.)
xmlconv.cpp:42: `v' undeclared (first use this function)
xmlconv.cpp:212: `QDomNodeList' undeclared (first use this function)
xmlconv.cpp:212: parse error before `=' token
xmlconv.cpp:214: `QDomElement' undeclared (first use this function)
xmlconv.cpp:214: parse error before `;' token
xmlconv.cpp:216: `stringNodeList' undeclared (first use this function)
xmlconv.cpp:218: `stringElement' undeclared (first use this function)
xmlconv.cpp: At global scope:
xmlconv.cpp:250: type specifier omitted for parameter `QDomElement'
xmlconv.cpp:250: parse error before `&' token
xmlconv.cpp: In member function `bool DomConvenience::variantToElement(...)':
xmlconv.cpp:254: `this->DomConvenience::clearAttributes' cannot be used as a
function
xmlconv.cpp:351: `QDomNode' undeclared (first use this function)
xmlconv.cpp:351: parse error before `;' token
xmlconv.cpp:353: `QDomElement' undeclared (first use this function)
xmlconv.cpp:362: `stringElem' undeclared (first use this function)
xmlconv.cpp:382: `m_doc' undeclared (first use this function)
xmlconv.cpp: At global scope:
xmlconv.cpp:432: parse error before `&' token
xmlconv.cpp:446: parse error before `&' token
xmlconv.cpp:490: variable or field `clearAttributes' declared void
xmlconv.cpp:490: `int DomConvenience::clearAttributes' is not a static member
of `class DomConvenience'
xmlconv.cpp:490: syntax error before `{' token
xmlconv.cpp:492: 'QDomNode' is used as a type, but is not defined as a type.
xmlconv.cpp:494: parse error before `for'
xmlconv.cpp:494: syntax error before `>' token
make[3]: *** [xmlconv.o] Error 1
make[3]: Leaving directory `/seq/showeq/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/seq/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/seq/showeq'
make: *** [all] Error 2
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/temp/qt/include -I/usr/X11R6/include -DMAPDIR=\"/usr/local/share/showeq\" -DLOGDIR=\"/usr/local/share/showeq\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -c -o xmlconv.o `test -f 'xmlconv.cpp' || echo './'`xmlconv.cpp
In file included from xmlconv.cpp:25:
xmlconv.h:24: parse error before `&' token
xmlconv.h:25: parse error before `&' token
xmlconv.h:26: type specifier omitted for parameter `QDomElement'
xmlconv.h:26: parse error before `&' token
xmlconv.h:30: parse error before `&' token
xmlconv.h:31: parse error before `&' token
xmlconv.h:33: `QDomElement' was not declared in this scope
xmlconv.h:33: `e' was not declared in this scope
xmlconv.h:33: invalid data member initialization
xmlconv.h:33: (use `=' to initialize static data members)
xmlconv.h:33: variable or field `clearAttributes' declared void
xmlconv.h:36: syntax error before `&' token
xmlconv.cpp:28: parse error before `&' token
xmlconv.cpp:33: parse error before `&' token
xmlconv.cpp: In member function `bool DomConvenience::elementToVariant(...)':
xmlconv.cpp:38: `e' undeclared (first use this function)
xmlconv.cpp:38: (Each undeclared identifier is reported only once for each
function it appears in.)
xmlconv.cpp:42: `v' undeclared (first use this function)
xmlconv.cpp:212: `QDomNodeList' undeclared (first use this function)
xmlconv.cpp:212: parse error before `=' token
xmlconv.cpp:214: `QDomElement' undeclared (first use this function)
xmlconv.cpp:214: parse error before `;' token
xmlconv.cpp:216: `stringNodeList' undeclared (first use this function)
xmlconv.cpp:218: `stringElement' undeclared (first use this function)
xmlconv.cpp: At global scope:
xmlconv.cpp:250: type specifier omitted for parameter `QDomElement'
xmlconv.cpp:250: parse error before `&' token
xmlconv.cpp: In member function `bool DomConvenience::variantToElement(...)':
xmlconv.cpp:254: `this->DomConvenience::clearAttributes' cannot be used as a
function
xmlconv.cpp:351: `QDomNode' undeclared (first use this function)
xmlconv.cpp:351: parse error before `;' token
xmlconv.cpp:353: `QDomElement' undeclared (first use this function)
xmlconv.cpp:362: `stringElem' undeclared (first use this function)
xmlconv.cpp:382: `m_doc' undeclared (first use this function)
xmlconv.cpp: At global scope:
xmlconv.cpp:432: parse error before `&' token
xmlconv.cpp:446: parse error before `&' token
xmlconv.cpp:490: variable or field `clearAttributes' declared void
xmlconv.cpp:490: `int DomConvenience::clearAttributes' is not a static member
of `class DomConvenience'
xmlconv.cpp:490: syntax error before `{' token
xmlconv.cpp:492: 'QDomNode' is used as a type, but is not defined as a type.
xmlconv.cpp:494: parse error before `for'
xmlconv.cpp:494: syntax error before `>' token
make[3]: *** [xmlconv.o] Error 1
make[3]: Leaving directory `/seq/showeq/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/seq/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/seq/showeq'
make: *** [all] Error 2