Error in program ?
Posted: 6. Feb 2009, 12:47
I am Facinf the following errors when i use the header files of VBoxManage.cpp in the tstVBoxAPILinux.cpp
/usr/include/libio.h:475: error: `__gnuc_va_list' has not been declared
/usr/include/libio.h:477: error: `__gnuc_va_list' has not been declared
In file included from tstVBoxAPILinux.cpp:14:
/usr/include/stdio.h:77: error: `__gnuc_va_list' does not name a type
In file included from tstVBoxAPILinux.cpp:14:
/usr/include/stdio.h:339: error: `__gnuc_va_list' has not been declared
/usr/include/stdio.h:344: error: `__gnuc_va_list' has not been declared
/usr/include/stdio.h:347: error: `__gnuc_va_list' has not been declared
/usr/include/stdio.h:358: error: `__gnuc_va_list' has not been declared
/usr/include/stdio.h:367: error: `__gnuc_va_list' has not been declared
/usr/include/stdio.h:383: error: `__gnuc_va_list' has not been declared
/usr/include/stdio.h:414: error: `__gnuc_va_list' has not been declared
/usr/include/stdio.h:421: error: `__gnuc_va_list' has not been declared
/usr/include/stdio.h:426: error: `__gnuc_va_list' has not been declared
In file included from tstVBoxAPILinux.cpp:14:
/usr/include/stdio.h:800: error: `__gnuc_va_list' has not been declared
In file included from ../../../../../../../../include/iprt/time.h:33,
from /usr/include/sys/types.h:133,
from /usr/include/stdlib.h:433,
from tstVBoxAPILinux.cpp:15:
../include/iprt/cdefs.h:149:3: #error "You must defined which context the compiled code should run in; IN_RING3, IN_RING0 or IN_GC"
In file included from ../../../../../../../../include/iprt/time.h:34,
from /usr/include/sys/types.h:133,
from /usr/include/stdlib.h:433,
from tstVBoxAPILinux.cpp:15:
../include/iprt/types.h:159: error: `uint64_t' does not name a type
../include/iprt/types.h:160: error: `uint64_t' does not name a type
../include/iprt/types.h:173: error: `uint64_t' does not name a type
../include/iprt/types.h:174: error: `int64_t' does not name a type
../include/iprt/types.h:185: error: `uint16_t' does not name a type
../include/iprt/types.h:188: error: `uint16_t' does not name a type
../include/iprt/types.h:190: error: `uint8_t' does not name a type
../include/iprt/types.h:194: error: `uint16_t' does not name a type
There are more errors with the same type with other Header files . It's not recognising the data types declared in the various Header files included in .h files.
can some one tell me where's the problem..?
/usr/include/libio.h:475: error: `__gnuc_va_list' has not been declared
/usr/include/libio.h:477: error: `__gnuc_va_list' has not been declared
In file included from tstVBoxAPILinux.cpp:14:
/usr/include/stdio.h:77: error: `__gnuc_va_list' does not name a type
In file included from tstVBoxAPILinux.cpp:14:
/usr/include/stdio.h:339: error: `__gnuc_va_list' has not been declared
/usr/include/stdio.h:344: error: `__gnuc_va_list' has not been declared
/usr/include/stdio.h:347: error: `__gnuc_va_list' has not been declared
/usr/include/stdio.h:358: error: `__gnuc_va_list' has not been declared
/usr/include/stdio.h:367: error: `__gnuc_va_list' has not been declared
/usr/include/stdio.h:383: error: `__gnuc_va_list' has not been declared
/usr/include/stdio.h:414: error: `__gnuc_va_list' has not been declared
/usr/include/stdio.h:421: error: `__gnuc_va_list' has not been declared
/usr/include/stdio.h:426: error: `__gnuc_va_list' has not been declared
In file included from tstVBoxAPILinux.cpp:14:
/usr/include/stdio.h:800: error: `__gnuc_va_list' has not been declared
In file included from ../../../../../../../../include/iprt/time.h:33,
from /usr/include/sys/types.h:133,
from /usr/include/stdlib.h:433,
from tstVBoxAPILinux.cpp:15:
../include/iprt/cdefs.h:149:3: #error "You must defined which context the compiled code should run in; IN_RING3, IN_RING0 or IN_GC"
In file included from ../../../../../../../../include/iprt/time.h:34,
from /usr/include/sys/types.h:133,
from /usr/include/stdlib.h:433,
from tstVBoxAPILinux.cpp:15:
../include/iprt/types.h:159: error: `uint64_t' does not name a type
../include/iprt/types.h:160: error: `uint64_t' does not name a type
../include/iprt/types.h:173: error: `uint64_t' does not name a type
../include/iprt/types.h:174: error: `int64_t' does not name a type
../include/iprt/types.h:185: error: `uint16_t' does not name a type
../include/iprt/types.h:188: error: `uint16_t' does not name a type
../include/iprt/types.h:190: error: `uint8_t' does not name a type
../include/iprt/types.h:194: error: `uint16_t' does not name a type
There are more errors with the same type with other Header files . It's not recognising the data types declared in the various Header files included in .h files.
can some one tell me where's the problem..?