|
| View previous topic :: View next topic |
| Author |
Message |
ElmoSizorbil
Joined: 28 Jul 2004 Posts: 6
|
Posted: Wed Aug 04, 2004 8:18 am Post subject: that is a help. thank you. |
|
|
I had to get past the license errors (looking in ./license.dat, not $PGI/license.dat).
Now I have to figure out the compiler errors.
"common/CompilerDefs.hh", line 291: error: the global scope has no
"pthread_yield"
::pthread_yield(); // let someone else run
^
1 error detected in the compilation of "common/butilities.cxx".
"common/ByteSwapper.cxx", line 54: error: "bad_alloc" is ambiguous
PGTHROWBADALLOC(1 + sizeout) size[0] = sizeout;
^
thanks for the help.
berkley |
|
| Back to top |
|
 |
ElmoSizorbil
Joined: 28 Jul 2004 Posts: 6
|
Posted: Wed Aug 04, 2004 8:50 am Post subject: i give up |
|
|
"common/DiskPipe.cxx", line 352: error: incomplete type is not allowed
struct stat64 FileStatus;
^
"common/DiskPipe.cxx", line 353: error: the global scope has no "fstat64"
int ret = ::fstat64(readFD_, &FileStatus);
^
"common/DiskPipe.cxx", line 366: error: identifier "off64_t" is undefined
off64_t FileSize = FileStatus.st_size;
^
after lots of hunting for #ifdef <somethings> I see that your compiler just gets
completely lost going through the /usr/include files.
"/usr/include/asm-x86_64/fcntl.h", line 18: warning: incompatible redefinition
of macro "FASYNC" (declared at line 170 of
"/usr/include/bits/fcntl.h")
#define FASYNC 020000 /* fcntl, for BSD compatibility */
^
"/usr/include/asm-x86_64/fcntl.h", line 66: error: invalid redeclaration of
type name "flock" (declared at line 140 of
"/usr/include/bits/fcntl.h")
struct flock {
^
"/usr/include/sys/wait.h", line 112: error: identifier "__WAIT_STATUS" is
undefined
extern __pid_t wait (__WAIT_STATUS __stat_loc);
This just isn't worth my time to get the #defines right in every file just to use
common things like ::open or O_DIRECT. Even SlowLaris 8.0 was a faster port than this.
Is there a #if defined(__pgCC__) or something similar your compiler gives me?
Berkley |
|
| Back to top |
|
 |
mleair
Joined: 19 Jul 2004 Posts: 67 Location: Portland Group
|
Posted: Wed Aug 04, 2004 9:48 am Post subject: __PGI |
|
|
Hi,
Please try __PGI (that's two underscores followed by PGI)... that's defined by pgCC.
-Mark |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|