Hai everybody,
I
have included my protocol in packet.h predefined header file, but while
compiling, it produces the following errors. please suggest me some
guidelines for rectifying these errors.
g++ packet.h
In file included from config.h:24,
                 from packet.h:7:
tclcl.h:6:17: error: tcl.h: No such file or directory
tclcl.h:8:18: error: otcl.h: No such file or directory
tclcl.h:11:26: error: tclcl-config.h: No such file or directory
tclcl.h:12:23: error: tracedvar.h: No such file or directory
tclcl.h:126:28: error: tclcl-mappings.h: No such file or directory
In file included from scheduler.h:4,
                 from
 config.h:277,
                 from packet.h:7:
config.h:1:1: error: unterminated #ifndef
In file included from 
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/backward/heap.h:58,
                 from scheduler.h:88,
                 from config.h:277,
                 from packet.h:7:
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/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 17.4.1.2 of the C++ standard. Examples include substituting the
<X> header for the <X.h> header for C++ includes, or
<iostream> instead of the deprecated header <iostream.h>.
To disable this warning use -Wno-deprecated.
In file included from packet.h:7:
config.h:1:1: error: unterminated #ifndef
In file included from packet.h:10:
bsd-list.h:44: error: stray ‘\’ in program
bsd-list.h:44: error: stray ‘\’ in program
In file included from packet.h:10:
bsd-list.h:47:3: error: #endif without #if
In file included from packet.h:11:
packet-stamp.h:11:21: error: antenna.h: No such file or directory
In file included from ns-process.h:6,
                 from packet.h:12:
config.h:1:1: error: unterminated #ifndef
tclcl.h:23: error: ‘Tcl_Interp’ has not been declared
tclcl.h:26: error: ISO C++ forbids declaration of ‘Tcl_Interp’ with no type
tclcl.h:26: error: ‘Tcl_Interp’
 declared as an ‘inline’ field
tclcl.h:26: error: expected ‘;’ before ‘*’ token
tclcl.h:51: error: expected `;' before ‘inline’
tclcl.h:55: error: ‘Tcl_CmdProc’ has not been declared
tclcl.h:56: error: ‘ClientData’ has not been declared
tclcl.h:57: error: ‘Tcl_CmdDeleteProc’ has not been declared
tclcl.h:60: error: ‘Tcl_CmdProc’ has not been declared
tclcl.h:61: error: ‘ClientData’ has not been declared
tclcl.h:62: error: ‘Tcl_CmdDeleteProc’ has not been declared
tclcl.h:111: error: ISO C++ forbids declaration of ‘TclObject’ with no type
tclcl.h:111: error: expected ‘;’ before ‘*’ token
tclcl.h:112: error: ‘TclObject’ has not been declared
tclcl.h:113: error: ‘TclObject’ has not been declared
tclcl.h:118: error: ISO C++ forbids declaration of ‘Tcl_Interp’ with no type
tclcl.h:118: error: expected ‘;’ before ‘*’ token
tclcl.h:123: error:
 ‘Tcl_HashTable’ does not name a type
tclcl.h:72: error: ‘TCL_GLOBAL_ONLY’ was not declared in this scope
tclcl.h: In member function ‘int Tcl::dark() const’:
tclcl.h:25: error: ‘tcl_’ was not declared in this scope
tclcl.h: In member function ‘char* Tcl::result() const’:
tclcl.h:51: error: ‘tcl_’ was not declared in this scope
tclcl.h: In member function ‘void Tcl::result(const char*)’:
tclcl.h:53: error: ‘tcl_’ was not declared in this scope
tclcl.h: In member function ‘void Tcl::CreateCommand(const char*, int*, int, 
int*)’:
tclcl.h:58: error: ‘tcl_’ was not declared in this scope
tclcl.h:58: error: ‘Tcl_CreateCommand’ was not declared in this scope
tclcl.h: In member function ‘void Tcl::CreateCommand(int*, int, int*)’:
tclcl.h:63: error: ‘tcl_’ was not declared in this scope
tclcl.h:63: error: ‘Tcl_CreateCommand’ was not declared in this scope
tclcl.h: In
 member function ‘void Tcl::DeleteCommand(const char*)’:
tclcl.h:66: error: ‘tcl_’ was not declared in this scope
tclcl.h:66: error: ‘Tcl_DeleteCommand’ was not declared in this scope
tclcl.h: In member function ‘void Tcl::EvalFile(const char*)’:
tclcl.h:69: error: ‘tcl_’ was not declared in this scope
tclcl.h:69: error: ‘Tcl_EvalFile’ was not declared in this scope
tclcl.h:69: error: ‘TCL_OK’ was not declared in this scope
tclcl.h: In member function ‘const char* Tcl::var(const char*, int)’:
tclcl.h:73: error: ‘tcl_’ was not declared in this scope
tclcl.h:73: error: ‘Tcl_GetVar’ was not declared in this scope
tclcl.h: In member function ‘void Tcl::add_error(const char*)’:
tclcl.h:96: error: ‘interp’ was not declared in this scope
tclcl.h:96: error: ‘Tcl_AddErrorInfo’ was not declared in this scope
tclcl.h: In member function ‘const char* Tcl::rds(const char*,
 const char*) const’:
tclcl.h:107: error: ‘tcl_’ was not declared in this scope
tclcl.h:108: error: ‘TCL_GLOBAL_ONLY’ was not declared in this scope
tclcl.h:108: error: ‘Tcl_GetVar2’ was not declared in this scope
tclcl.h: At global scope:
tclcl.h:140: error: ‘TracedVar’ has not been declared
tclcl.h:142: error: ‘TracedInt’ has not been declared
tclcl.h:143: error: ‘TracedDouble’ has not been declared
tclcl.h:143: error: ‘void TclObject::bind(const char*, int*)’ cannot be 
overloaded
tclcl.h:142: error: with ‘void TclObject::bind(const char*, int*)’
tclcl.h:148: error: ‘void TclObject::bind(const char*, int*)’ cannot be 
overloaded
tclcl.h:142: error: with ‘void TclObject::bind(const char*, int*)’
tclcl.h:173: error: ‘ClientData’ has not been declared
tclcl.h:174: error: ‘Tcl_Interp’ has not been declared
tclcl.h:193: error: ‘TracedInt’ has not been
 declared
tclcl.h:193: error: ‘bool TclObject::delay_bind(const char*, const char*, const 
char*, int*, TclObject*)’ cannot be overloaded
tclcl.h:189: error: with ‘bool TclObject::delay_bind(const char*, const char*, 
const char*, int*, TclObject*)’
tclcl.h:195: error: ‘TracedDouble’ has not been declared
tclcl.h:195: error: ‘bool TclObject::delay_bind(const char*, const char*, const 
char*, int*, TclObject*)’ cannot be overloaded
tclcl.h:189: error: with ‘bool TclObject::delay_bind(const char*, const char*, 
const char*, int*, TclObject*)’
tclcl.h:214: error: ‘TracedVar’ has not been declared
tclcl.h:216: error: ‘TracedVar’ has not been declared
tclcl.h:233: error: ISO C++ forbids declaration of ‘TracedVar’ with no type
tclcl.h:233: error: expected ‘;’ before ‘*’ token
tclcl.h: In static member function ‘static TclObject* TclObject::lookup(const 
char*)’:
tclcl.h:134: error:
 ‘class Tcl’ has no member named ‘lookup’
tclcl.h: In member function ‘virtual int TclObject::init(int, const char* 
const*)’:
tclcl.h:162: error: ‘TCL_OK’ was not declared in this scope
tclcl.h: At global scope:
tclcl.h:255: error: ‘ClientData’ has not been declared
tclcl.h:255: error: ‘Tcl_Interp’ has not been declared
tclcl.h:256: error: ‘CONST84’ has not been declared
tclcl.h:256: error: two or more data types in declaration of ‘argv’
tclcl.h:257: error: ‘ClientData’ has not been declared
tclcl.h:257: error: ‘Tcl_Interp’ has not been declared
tclcl.h:258: error: ‘CONST84’ has not been declared
tclcl.h:258: error: two or more data types in declaration of ‘argv’
tclcl.h:259: error: ‘ClientData’ has not been declared
tclcl.h:259: error: ‘Tcl_Interp’ has not been declared
tclcl.h:260: error: ‘CONST84’ has not been declared
tclcl.h:260: error: two or
 more data types in declaration of ‘argv’
tclcl.h:261: error: ‘ClientData’ has not been declared
tclcl.h:261: error: ‘Tcl_Interp’ has not been declared
tclcl.h:263: error: ‘ClientData’ has not been declared
tclcl.h:263: error: ‘Tcl_Interp’ has not been declared
tclcl.h:264: error: ‘CONST84’ has not been declared
tclcl.h:264: error: two or more data types in declaration of ‘argv’
tclcl.h:272: error: ‘ClientData’ has not been declared
tclcl.h:272: error: ‘Tcl_Interp’ has not been declared
tclcl.h:273: error: ‘CONST84’ has not been declared
tclcl.h:273: error: two or more data types in declaration of ‘av’
tclcl.h:275: error: ISO C++ forbids declaration of ‘OTclClass’ with no type
tclcl.h:275: error: expected ‘;’ before ‘*’ token
tclcl.h:283: error: ‘Tcl_Interp’ has not been declared
tclcl.h:300: error: ‘ClientData’ has not been declared
tclcl.h:300:
 error: ‘Tcl_Interp’ has not been declared
tclcl.h:301: error: ‘CONST84’ has not been declared
tclcl.h:301: error: two or more data types in declaration of ‘argv’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:
In function ‘bool std::__is_heap(_RandomAccessIterator,
_RandomAccessIterator)’:
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:105:
error: ‘distance’ is not a member of ‘std’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:
In function ‘bool std::__is_heap(_RandomAccessIterator,
_RandomAccessIterator, _StrictWeakOrdering)’:
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:111:
error: ‘distance’ is not a member of ‘std’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:
 In function ‘void
 std::push_heap(_RandomAccessIterator, _RandomAccessIterator)’:
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:143:
error: expected nested-name-specifier before ‘iterator_traits’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:143:
error: expected initializer before ‘<’ token
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:145:
error: expected nested-name-specifier before ‘iterator_traits’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:145:
error: expected initializer before ‘<’ token
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:149:
error: ‘_Mutable_RandomAccessIteratorConcept’ was not declared in this
scope
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:150:
 error: expected primary-expression
 before ‘>’ token
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:150:
error: expected primary-expression before ‘)’ token
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:150:
error: there are no arguments to ‘__glibcxx_function_requires’ that
depend on a template parameter, so a declaration of
‘__glibcxx_function_requires’ must be available
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:150:
error: (if you use ‘-fpermissive’, G++ will accept your code, but
allowing the use of an undeclared name is deprecated)
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:151:
error: expected `;' before ‘__glibcxx_function_requires’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:156:
error: there are no arguments to ‘_DistanceType’ that depend on a
template parameter, so a declaration of ‘_DistanceType’ must be
available
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:
In function ‘void std::push_heap(_RandomAccessIterator,
_RandomAccessIterator, _Compare)’:
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:192:
error: expected nested-name-specifier before ‘iterator_traits’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:192:
error: expected initializer before ‘<’ token
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:194:
error: expected nested-name-specifier before ‘iterator_traits’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:194:
error: expected initializer before ‘<’ token
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:198:
 error:
 ‘_Mutable_RandomAccessIteratorConcept’ was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:199:
error: expected primary-expression before ‘>’ token
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:199:
error: expected primary-expression before ‘)’ token
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:199:
error: there are no arguments to ‘__glibcxx_function_requires’ that
depend on a template parameter, so a declaration of
‘__glibcxx_function_requires’ must be available
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:204:
error: there are no arguments to ‘_DistanceType’ that depend on a
template parameter, so a declaration of ‘_DistanceType’ must be
available
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:
 In
 function ‘void std::__pop_heap(_RandomAccessIterator, _RandomAccessIterator, 
_RandomAccessIterator, _Tp)’:
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:235:
error: expected nested-name-specifier before ‘iterator_traits’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:235:
error: expected initializer before ‘<’ token
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:238:
error: there are no arguments to ‘_Distance’ that depend on a template
parameter, so a declaration of ‘_Distance’ must be available
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:
In function ‘void std::pop_heap(_RandomAccessIterator,
_RandomAccessIterator)’:
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:255:
error: expected nested-name-specifier before ‘iterator_traits’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:255:
error: expected initializer before ‘<’ token
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:259:
error: ‘_Mutable_RandomAccessIteratorConcept’ was not declared in this
scope
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:260:
error: expected primary-expression before ‘>’ token
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:260:
error: expected primary-expression before ‘)’ token
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:260:
error: there are no arguments to ‘__glibcxx_function_requires’ that
depend on a template parameter, so a declaration of
‘__glibcxx_function_requires’ must be available
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:261:
error: expected `;' before ‘__glibcxx_function_requires’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:
In function ‘void std::__pop_heap(_RandomAccessIterator,
_RandomAccessIterator, _RandomAccessIterator, _Tp, _Compare)’:
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:299:
error: expected nested-name-specifier before ‘iterator_traits’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:299:
error: expected initializer before ‘<’ token
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:302:
error: there are no arguments to ‘_Distance’ that depend on a template
parameter, so a declaration of ‘_Distance’ must be available
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:
In function ‘void std::pop_heap(_RandomAccessIterator,
_RandomAccessIterator, _Compare)’:
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:323:
error: ‘_Mutable_RandomAccessIteratorConcept’ was not declared in this
scope
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:324:
error: expected primary-expression before ‘>’ token
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:324:
error: expected primary-expression before ‘)’ token
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:324:
error: there are no arguments to ‘__glibcxx_function_requires’ that
depend on a template parameter, so a declaration of
‘__glibcxx_function_requires’ must be available
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:328:
error: expected nested-name-specifier before ‘iterator_traits’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:328:
error: expected initializer before ‘<’ token
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:
In function ‘void std::make_heap(_RandomAccessIterator,
_RandomAccessIterator)’:
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:346:
error: expected nested-name-specifier before ‘iterator_traits’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:346:
error: expected initializer before ‘<’ token
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:348:
error: expected nested-name-specifier before ‘iterator_traits’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:348:
error: expected initializer before ‘<’ token
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:352:
error: ‘_Mutable_RandomAccessIteratorConcept’ was not declared in this
scope
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:353:
error: expected primary-expression before ‘>’ token
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:353:
error: expected primary-expression before ‘)’ token
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:353:
error: there are no arguments to ‘__glibcxx_function_requires’ that
depend on a template parameter, so a declaration of
‘__glibcxx_function_requires’ must be available
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:354:
error: expected `;' before ‘__glibcxx_function_requires’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:360:
error: ‘_DistanceType’ does not name a type
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:361:
error: ‘_DistanceType’ was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:361:
 error: expected `;' before ‘__parent’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:364:
error: ‘__parent’ was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:364:
error: ‘__len’ was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:
 In function
 ‘void std::make_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare)’:
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:387:
error: expected nested-name-specifier before ‘iterator_traits’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:387:
error: expected initializer before ‘<’ token
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:389:
error: expected nested-name-specifier before ‘iterator_traits’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:389:
error: expected initializer before ‘<’ token
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:393:
error: ‘_Mutable_RandomAccessIteratorConcept’ was not declared in this
scope
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:394:
 error: expected
 primary-expression before ‘>’ token
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:394:
error: expected primary-expression before ‘)’ token
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:394:
error: there are no arguments to ‘__glibcxx_function_requires’ that
depend on a template parameter, so a declaration of
‘__glibcxx_function_requires’ must be available
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:400:
error: ‘_DistanceType’ does not name a type
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:401:
error: ‘_DistanceType’ was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:401:
 error: expected `;' before
 ‘__parent’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:404:
error: ‘__parent’ was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:404:
error: ‘__len’ was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:
In function ‘void std::sort_heap(_RandomAccessIterator,
_RandomAccessIterator)’:
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:425:
error: ‘_Mutable_RandomAccessIteratorConcept’ was not declared in this
scope
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:426:
error: expected primary-expression before ‘>’ token
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:426:
error: expected primary-expression before ‘)’ token
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:426:
error: there are no arguments to ‘__glibcxx_function_requires’ that
depend on a template parameter, so a declaration of
‘__glibcxx_function_requires’ must be available
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:427:
error: expected `;' before ‘__glibcxx_function_requires’
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:
In function ‘void std::sort_heap(_RandomAccessIterator,
_RandomAccessIterator, _Compare)’:
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:452:
error: ‘_Mutable_RandomAccessIteratorConcept’ was not declared in this
scope
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:453:
error: expected primary-expression before ‘>’ token
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:453:
error: expected primary-expression before ‘)’ token
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h:453:
error: there are no arguments to ‘__glibcxx_function_requires’ that
depend on a template parameter, so a declaration of
‘__glibcxx_function_requires’ must be available
scheduler.h: At global scope:
scheduler.h:106: error: ISO C++ forbids declaration of ‘Heap’ with no type
scheduler.h:106: error: expected ‘;’ before ‘*’ token
scheduler.h: In constructor ‘HeapScheduler::HeapScheduler()’:
scheduler.h:92: error: ‘hp_’ was not declared in this scope
scheduler.h:92: error: expected type-specifier before ‘Heap’
scheduler.h:92: error: expected `;' before ‘Heap’
scheduler.h: In member function ‘virtual void HeapScheduler::cancel(Event*)’:
scheduler.h:97:
 error: ‘hp_’ was not declared in this scope
scheduler.h: In member function ‘virtual void HeapScheduler::insert(Event*)’:
scheduler.h:100: error: ‘hp_’ was not declared in this scope
scheduler.h: In member function ‘virtual const Event* HeapScheduler::head()’:
scheduler.h:104: error: ‘hp_’ was not declared in this scope
bsd-list.h: At global scope:
bsd-list.h:28: error: expected constructor, destructor, or type conversion 
before ‘->’ token
bsd-list.h:29: error: expected constructor, destructor, or type conversion 
before ‘->’ token
bsd-list.h:31: error: expected constructor, destructor, or type conversion 
before ‘->’ token
bsd-list.h:33: error: expected declaration before ‘}’ token




      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. 
http://in.yahoo.com/

Reply via email to