- 论坛徽章:
- 0
|
编译信息如下:
make[1]: Entering directory `/e/ace_wrappers/ace'
Makefile: /e/ace_wrappers/ace/Makefile.ace
g++ -W -Wall -Wpointer-arith -mcpu=pentiumpro -mthreads -O3 -g -pipe -fno-exc eptions -fcheck-new -IE:\ACE_wrappers -D__ACE_INLINE__ -DACE_BUILD_DLL -DACE_O S_BUILD_DLL -c -o .shobj/ARGV.o ARGV.cpp
ARGV.cpp:6:22: ace/ARGV.h: No such file or directory
ARGV.cpp:12:25: ace/Log_Msg.h: No such file or directory
ARGV.cpp:13:30: ace/OS_NS_unistd.h: No such file or directory
ARGV.cpp:14:30: ace/OS_NS_string.h: No such file or directory
ARGV.cpp:15:27: ace/OS_Memory.h: No such file or directory
ARGV.cpp:17: error: expected constructor, destructor, or type conversion before '(' token
ARGV.cpp:17: error: expected `,' or `;' before '(' token
ARGV.cpp:50: error: `ACE_ARGV' has not been declared
ARGV.cpp: In function `int string_to_argv()':
ARGV.cpp:52: error: `ACE_TRACE' undeclared (first use this function)
ARGV.cpp:52: error: (Each undeclared identifier is reported only once for each f unction it appears in.)
ARGV.cpp:54: error: `ACE_OS' has not been declared
ARGV.cpp:54: error: invalid use of `this' in non-member function
ARGV.cpp:55: error: invalid use of `this' in non-member function
ARGV.cpp:56: error: invalid use of `this' in non-member function
ARGV.cpp:57: error: invalid use of `this' in non-member function
ARGV.cpp: At global scope:
ARGV.cpp:61: error: `ACE_ARGV' has not been declared
ARGV.cpp:61: error: `ACE_TCHAR' was not declared in this scope
ARGV.cpp:61: error: `argv' was not declared in this scope
ARGV.cpp:61: error: `ACE_TCHAR' was not declared in this scope
ARGV.cpp:61: error: `buf' was not declared in this scope
ARGV.cpp:62: error: initializer expression list treated as compound expression
ARGV.cpp:62: error: expected `,' or `;' before '{' token
ARGV.cpp:66: error: `ACE_ARGV' has not been declared
ARGV.cpp:66: error: expected `,' or `...' before "buf"
ARGV.cpp:68: error: ISO C++ forbids declaration of `ACE_ARGV' with no type
ARGV.cpp:68: error: ISO C++ forbids declaration of `ACE_TCHAR' with no type
ARGV.cpp: In function `int ACE_ARGV(int)':
ARGV.cpp:68: error: only constructors take base initializers
ARGV.cpp:68: error: `substitute_env_args' undeclared (first use this function)
ARGV.cpp:69: error: `TO_PTR_ARRAY' undeclared (first use this function)
ARGV.cpp:76: error: `ACE_TRACE' undeclared (first use this function)
ARGV.cpp:78: error: `buf' undeclared (first use this function)
ARGV.cpp:79: error: return-statement with no value, in function returning 'int'
ARGV.cpp:82: error: invalid use of `this' in non-member function
ARGV.cpp:83: error: `ACE_OS' has not been declared
ARGV.cpp:83: error: `strlen' undeclared (first use this function)
ARGV.cpp:83: error: `ACE_NEW' undeclared (first use this function)
ARGV.cpp:84: error: `ACE_OS' has not been declared
ARGV.cpp:84: error: invalid use of `this' in non-member function
ARGV.cpp:84: error: `strcpy' undeclared (first use this function)
ARGV.cpp:87: error: invalid use of `this' in non-member function
ARGV.cpp:88: error: `LM_ERROR' undeclared (first use this function)
ARGV.cpp:89: error: `ACE_LIB_TEXT' undeclared (first use this function)
ARGV.cpp:90: error: `ACE_ERROR' undeclared (first use this function)
ARGV.cpp:91: warning: no return statement in function returning non-void
ARGV.cpp: At global scope:
ARGV.cpp:93: error: `ACE_ARGV' is not a class or namespace
ARGV.cpp:93: error: expected constructor, destructor, or type conversion before '(' token
ARGV.cpp:93: error: expected `,' or `;' before '(' token
ARGV.cpp:165: error: `ACE_ARGV' is not a class or namespace
ARGV.cpp:165: error: expected constructor, destructor, or type conversion before '(' token
ARGV.cpp:165: error: expected `,' or `;' before '(' token
ARGV.cpp:214: error: `ACE_ARGV' is not a class or namespace
ARGV.cpp:215: error: ISO C++ forbids declaration of `ACE_ARGV' with no type
ARGV.cpp: In function `int ACE_ARGV(int)':
ARGV.cpp:215: error: redefinition of `int ACE_ARGV(int)'
ARGV.cpp:68: error: `int ACE_ARGV(int)' previously defined here
ARGV.cpp:215: error: only constructors take base initializers
ARGV.cpp:216: error: `ITERATIVE' undeclared (first use this function)
ARGV.cpp:223: error: `ACE_TRACE' undeclared (first use this function)
ARGV.cpp:226: warning: no return statement in function returning non-void
ARGV.cpp: At global scope:
ARGV.cpp:229: error: `ACE_ARGV' is not a class or namespace
ARGV.cpp:229: error: expected `,' or `...' before '*' token
ARGV.cpp:230: error: ISO C++ forbids declaration of `ACE_TCHAR' with no type
ARGV.cpp: In function `int add(int)':
ARGV.cpp:233: error: invalid use of `this' in non-member function
ARGV.cpp:233: error: `ITERATIVE' undeclared (first use this function)
ARGV.cpp:235: error: `errno' undeclared (first use this function)
ARGV.cpp:235: error: `EINVAL' undeclared (first use this function)
ARGV.cpp:240: error: invalid use of `this' in non-member function
ARGV.cpp:240: error: expected primary-expression before ')' token
ARGV.cpp:241: error: `LM_ERROR' undeclared (first use this function)
ARGV.cpp:242: error: `ACE_LIB_TEXT' undeclared (first use this function)
ARGV.cpp:243: error: `ACE_ERROR_RETURN' undeclared (first use this function)
ARGV.cpp:245: error: invalid use of `this' in non-member function
ARGV.cpp:245: error: `ACE_OS' has not been declared
ARGV.cpp:245: error: `next_arg' undeclared (first use this function)
ARGV.cpp:245: error: `strlen' undeclared (first use this function)
ARGV.cpp:247: error: invalid use of `this' in non-member function
ARGV.cpp:251: error: invalid use of `this' in non-member function
ARGV.cpp:253: error: invalid use of `this' in non-member function
ARGV.cpp:254: error: `ACE_OS' has not been declared
ARGV.cpp:254: error: invalid use of `this' in non-member function
ARGV.cpp:254: error: `free' undeclared (first use this function)
ARGV.cpp:256: error: invalid use of `this' in non-member function
ARGV.cpp:257: error: invalid use of `this' in non-member function
ARGV.cpp:260: error: invalid use of `this' in non-member function
ARGV.cpp:261: error: invalid use of `this' in non-member function
ARGV.cpp: At global scope:
ARGV.cpp:267: error: `ACE_ARGV' is not a class or namespace
ARGV.cpp:267: error: `int add' redeclared as different kind of symbol
ARGV.cpp:230: error: previous declaration of `int add(int)'
ARGV.cpp:267: error: declaration of `int add'
ARGV.cpp:230: error: conflicts with previous declaration `int add(int)'
ARGV.cpp:267: error: `ACE_TCHAR' was not declared in this scope
ARGV.cpp:267: error: `argv' was not declared in this scope
ARGV.cpp:267: error: expected primary-expression before ']' token
ARGV.cpp:268: error: expected `,' or `;' before '{' token
ARGV.cpp:278: error: expected constructor, destructor, or type conversion before '::' token
ARGV.cpp:278: error: expected `,' or `;' before '::' token
ARGV.cpp:294: error: `ACE_ARGV' is not a class or namespace
ARGV.cpp: In function `int create_buf_from_queue()':
ARGV.cpp:296: error: `ACE_TRACE' undeclared (first use this function)
ARGV.cpp:299: error: invalid use of `this' in non-member function
ARGV.cpp:302: error: invalid use of `this' in non-member function
ARGV.cpp:304: error: invalid use of `this' in non-member function
ARGV.cpp:305: error: `ACE_TCHAR' undeclared (first use this function)
ARGV.cpp:305: error: invalid use of `this' in non-member function
ARGV.cpp:305: error: invalid use of `this' in non-member function
ARGV.cpp:306: error: `ACE_NEW_RETURN' undeclared (first use this function)
ARGV.cpp:309: error: `ACE_Unbounded_Queue_Iterator' undeclared (first use this f unction)
ARGV.cpp:309: error: expected primary-expression before '>;' token
ARGV.cpp:309: error: invalid use of `this' in non-member function
ARGV.cpp:309: error: `iter' undeclared (first use this function)
ARGV.cpp:311: error: `arg' undeclared (first use this function)
ARGV.cpp:312: error: `ptr' undeclared (first use this function)
ARGV.cpp:312: error: invalid use of `this' in non-member function
ARGV.cpp:313: error: `size_t' undeclared (first use this function)
ARGV.cpp:313: error: expected `;' before "len"
ARGV.cpp:323: error: `len' undeclared (first use this function)
ARGV.cpp:323: error: `ACE_OS' has not been declared
ARGV.cpp:323: error: `strlen' undeclared (first use this function)
ARGV.cpp:326: error: `ACE_OS' has not been declared
ARGV.cpp:328: error: `memcpy' undeclared (first use this function)
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
make[1]: *** [.shobj/ARGV.o] Error 1
make[1]: Leaving directory `/e/ace_wrappers/ace'
make: *** [all] Error 2
这是怎么回事忘高手执教
config.h和platform_macros.GNU我也加上了!
环境变量:
ACE_ROOT=E:/ace_wrappers
ACE_ROOT=E:/ace_wrappers/TAO
就是编译不了
不知怎么回事
我用的是MinGW-3.2.0-rc-3和MSYS-1.0.10!
望执教 |
|