We don’t have Ubuntu system to test on. We run on RHEL4 and Fedora8 using 32-bit 7.1-6 compiler. It seems to run fine. Not sure why you got that error message. Perhaps one of those -D causes it.
I copy a small program in configure file to check for FD_ISSET and it runs fine.
% pgcpp testme.cpp
“testme.cpp”, line 10: warning: expression has no effect
FD_ISSET(0, temp );
^
% a.out
134837392
% cat testme.cpp #include <sys/time.h> #include <iostream.h>
int
main ()
{
Also I downloaded and tried to configure but failed to get it done. It says the configuration is unusable. I don’t know where at which point the configuration fail or make it unusable because the configure seems to run through the end instead of stopping where it fails.
Are you one of the authors, if yes you probably know where the problem is.
If not, how do you get to the point where you compile and how to you know which flags (-D) to use because each compiler may not have the same flags.
You cannot use the autotools configure script to compile with pgCC. I have found in compiling other projects that there are some default flags that the autotools want to use are specific to gcc. I have not investigated autotools to see how to make pgCC to work with it.
You need to follow the instructions in the INSTALL.html for building with the traditional Makefiles.
I made a header, ACE_wrappers/ace/config.h that contains:
My gcc version is gcc 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2).
In order to quickly replicate this problem I would suggest using a VM to install a version of Ubuntu 7.10 and then ACE+TAO+CIAO. I believe the problem will be the same on any other Linux distribution and a similar version of gcc.