Error in compilation

Fabian Andres Ramirez fabian.a.ramirez@gmail.com
Wed Jul 6 20:34:00 GMT 2005


Hi!

I have a problem that others have had and I do not know if they have
been able to solve.  I am trying to compile the ACE and I have
problems.
The error is:

make -f Makefile SUBDIR_TARGET=all ace.subdir ACEXML.subdir netsvcs.subdir
tests.subdir apps.subdir examples.subdir performance-tests.subdir
websvcs.subdir Kokyu.subdir
make[1]: Entering directory `/opt/local/src/ACE_wrappers'
make -f Makefile -C ace all
make[2]: Entering directory `/opt/local/src/ACE_wrappers/ace'
make[3]: Entering directory `/opt/local/src/ACE_wrappers/ace'

Makefile: /opt/local/src/ACE_wrappers/ace/Makefile.ace

g++ -W -Wall -Wpointer-arith -pipe -D_POSIX_PTHREAD_SEMANTICS -O3 -g
-I/usr/local/src/ACE_wrappers -DACE_HAS_EXCEPTIONS -D__ACE_INLINE__
-DACE_BUILD_DLL
-DACE_OS_BUILD_DLL  -c -fPIC -o .shobj/ARGV.o ARGV.cpp
In file included from /usr/local/src/ACE_wrappers/ace/Unbounded_Queue.h:286,
                from /usr/local/src/ACE_wrappers/ace/ARGV.h:24,
                from ARGV.cpp:6:
/usr/local/src/ACE_wrappers/ace/Unbounded_Queue.cpp: In member function
`void ACE_Unbounded_Queue<T>::delete_nodes()':
/usr/local/src/ACE_wrappers/ace/Unbounded_Queue.cpp:133: error:
expected class-name
before '(' token
/usr/local/src/ACE_wrappers/ace/Unbounded_Queue.cpp: In destructor
`ACE_Unbounded_Queue<T>::~ACE_Unbounded_Queue()':
/usr/local/src/ACE_wrappers/ace/Unbounded_Queue.cpp:153: error:
expected class-name
before '(' token
/usr/local/src/ACE_wrappers/ace/Unbounded_Queue.cpp: In member function
`int ACE_Unbounded_Queue<T>::dequeue_head(T&)':
/usr/local/src/ACE_wrappers/ace/Unbounded_Queue.cpp:223: error:
expected class-name
before '(' token
make[3]: *** [.shobj/ARGV.o] Error 1
make[3]: Leaving directory `/opt/local/src/ACE_wrappers/ace'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/local/src/ACE_wrappers/ace'
make[1]: *** [ace.subdir] Error 2
make[1]: Leaving directory `/opt/local/src/ACE_wrappers'
make: *** [all.nested] Error 2


Them attached detailed information more:

ACE VERSION: 5.4.6

HOST MACHINE and OPERATING SYSTEM:
       - Sun Ultra 5
       - Solaris 9

COMPILER NAME AND VERSION:
       gcc version 3.4.2


If you need more information, I'm to its disposition.

Thank you very much

Fabian



More information about the Gcc-help mailing list