I posted here a while ago, but nobody has the answers to my problem. I'm hoping someone else will read this and be able to help this time.
Is common c++ supposed to work on AIX? It doesn't compile. I get these errors (so far):
gmake[1]: Entering directory `/afs/eda/u/jessev/CommonC++-1.2.0/posix'
/bin/sh ../libtool --mode=compile xlC -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -fhandle-exceptions -D_REENTRANT -D_THREAD_SAFE -c inaddr.cpp
xlC -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -fhandle-exceptions -D_REENTRANT -D_THREAD_SAFE -c -DPIC inaddr.cpp -o inaddr.lo
"socket.h", line 192.25: 1540-055: (S) "int" cannot be converted to "bool".
"socket.h", line 333.17: 1540-320: (S) Syntax error - found "mutable sockerror_t" : "mutable" is not a type name.
"socket.h", line 334.17: 1540-263: (S) Syntax error - expected ";" or "," and found "const".
"socket.h", line 336.17: 1540-263: (S) Syntax error - expected ";" or "," and found "struct".
"socket.h", line 342.11: 1540-051: (S) A declaration has been made without a type specification.
"socket.h", line 568.25: 1540-013: (S) Identifier "errid" is undefined.
"socket.h", line 577.25: 1540-013: (S) Identifier "errstr" is undefined.
"socket.h", line 1017.21: 1540-293: (I) "cc_TCPSocket::isPending(timeout_t)" hides the virtual function "cc_Socket::isPending(sockpend_t,timeout_t)".
gmake[1]: *** [inaddr.lo] Error 1
gmake[1]: Leaving directory `/afs/eda/u/jessev/CommonC++-1.2.0/posix'
gmake: *** [all-recursive] Error 1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There have been different people who have said they have had various levels of
success with different releases of AIX. As I do not have access to an AIX machine
I have no way to directly confirm what issues might exist, or under which AIX release they exist for. A few have said they were able to get the most current release to compile and run if they pass a few extras flags in LDFLAGS before running "configure", and this may have also been with a gcc compiler and with libstdc++. If you would like, I would be happy to open a seperate discussion topic for AIX here.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I posted here a while ago, but nobody has the answers to my problem. I'm hoping someone else will read this and be able to help this time.
Is common c++ supposed to work on AIX? It doesn't compile. I get these errors (so far):
gmake[1]: Entering directory `/afs/eda/u/jessev/CommonC++-1.2.0/posix'
/bin/sh ../libtool --mode=compile xlC -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -fhandle-exceptions -D_REENTRANT -D_THREAD_SAFE -c inaddr.cpp
xlC -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -fhandle-exceptions -D_REENTRANT -D_THREAD_SAFE -c -DPIC inaddr.cpp -o inaddr.lo
"socket.h", line 192.25: 1540-055: (S) "int" cannot be converted to "bool".
"socket.h", line 333.17: 1540-320: (S) Syntax error - found "mutable sockerror_t" : "mutable" is not a type name.
"socket.h", line 334.17: 1540-263: (S) Syntax error - expected ";" or "," and found "const".
"socket.h", line 336.17: 1540-263: (S) Syntax error - expected ";" or "," and found "struct".
"socket.h", line 342.11: 1540-051: (S) A declaration has been made without a type specification.
"socket.h", line 568.25: 1540-013: (S) Identifier "errid" is undefined.
"socket.h", line 577.25: 1540-013: (S) Identifier "errstr" is undefined.
"socket.h", line 1017.21: 1540-293: (I) "cc_TCPSocket::isPending(timeout_t)" hides the virtual function "cc_Socket::isPending(sockpend_t,timeout_t)".
gmake[1]: *** [inaddr.lo] Error 1
gmake[1]: Leaving directory `/afs/eda/u/jessev/CommonC++-1.2.0/posix'
gmake: *** [all-recursive] Error 1
There have been different people who have said they have had various levels of
success with different releases of AIX. As I do not have access to an AIX machine
I have no way to directly confirm what issues might exist, or under which AIX release they exist for. A few have said they were able to get the most current release to compile and run if they pass a few extras flags in LDFLAGS before running "configure", and this may have also been with a gcc compiler and with libstdc++. If you would like, I would be happy to open a seperate discussion topic for AIX here.