Greetings -

I am installing perl on our OS/390 2.7 system.  I downloaded the 5.005_03
version.  Following instructions in the readme.os390 and redbook.  I do have
MAKE 3.76.1

Things go along merily, but I start getting compile errors.  Some of the
errors I see are attached.  Are these really errors?

Thanks,

Dennis Longnecker



Checking to see how big your integers are...
Your integers are 4 bytes long.
Your long integers are 4 bytes long.
Your short integers are 2 bytes long.

You have void (*signal())().

Checking whether your C compiler can cast large floats to int32.
ERROR CBC3334 /usr/include/sys/types.h:455   Identifier uid_t has already
been d
efined on line 134 of "/usr/include/sys/types.h".
ERROR CBC3202 /usr/include/sys/types.h:458   #endif can only appear at the
end o
f a #if, #elif, #ifdef or #ifndef block.
ERROR CBC3202 /usr/include/sys/types.h:548   #endif can only appear at the
end o
f a #if, #elif, #ifdef or #ifndef block.
ERROR CBC3202 /usr/include/sys/types.h:750   #endif can only appear at the
end o
f a #if, #elif, #ifdef or #ifndef block.
ERROR CBC3202 /usr/include/sys/types.h:760   #endif can only appear at the
end o
f a #if, #elif, #ifdef or #ifndef block.
ERROR CBC3046 /usr/include/signal.h:637   Syntax error.
ERROR CBC3485 /usr/include/signal.h:637   Parameter declaration list is
incompat
ible with declarator for privileged.
WARNING CBC3137 /usr/include/signal.h:832   Declaration must declare at
least on
e declarator, tag, or the members of an enumeration.
ERROR CBC3334 /usr/include/signal.h:834   Identifier __sigactionset_s has
alread
y been defined on line 515 of "/usr/include/signal.h".
ERROR CBC3334 /usr/include/signal.h:847   Identifier __sigactionset_t has
alread
y been defined on line 528 of "/usr/include/signal.h".
ERROR CBC3334 /usr/include/signal.h:856   Identifier sigevent has already
been d
efined on line 538 of "/usr/include/signal.h".
ERROR CBC3343 /usr/include/signal.h:917   Redeclaration of __sigactionset
differ
s from previous declaration on line 602 of "/usr/include/signal.h".
ERROR CBC3202 /usr/include/signal.h:927   #endif can only appear at the end
of a
 #if, #elif, #ifdef or #ifndef block.
ERROR CBC3202 /usr/include/signal.h:929   #endif can only appear at the end
of a
 #if, #elif, #ifdef or #ifndef block.
ERROR CBC3202 /usr/include/signal.h:949   #endif can only appear at the end
of a
 #if, #elif, #ifdef or #ifndef block.
CBC1793(I) Compilation failed for file ./try.c.  Object file not created.
FSUM3065 The COMPILE step ended with return code 12.
FSUM3017 Could not compile try.c. Correct the errors and try again.
(I can't seem to compile the test program--assuming it can't)
Nope, it can't.

and


I can't find the O_* constant definitions!  You got problems.

Figuring out the flag used by open() for non-blocking I/O...
WARNING CBC3296 ./try.c:1     #include file <sys/fcntl.h> not found.
FSUM3065 The COMPILE step ended with return code 4.
I can't figure it out, assuming O_NONBLOCK will do.

Let's see what value errno gets from read() on a  file...
WARNING CBC3296 ./try.c:1     #include file <sys/fcntl.h> not found.
ERROR CBC3334 /usr/include/sys/types.h:455   Identifier uid_t has already
been d
efined on line 134 of "/usr/include/sys/types.h".
ERROR CBC3202 /usr/include/sys/types.h:458   #endif can only appear at the
end o
f a #if, #elif, #ifdef or #ifndef block.
ERROR CBC3202 /usr/include/sys/types.h:548   #endif can only appear at the
end o
f a #if, #elif, #ifdef or #ifndef block.
ERROR CBC3202 /usr/include/sys/types.h:750   #endif can only appear at the
end o
f a #if, #elif, #ifdef or #ifndef block.
ERROR CBC3202 /usr/include/sys/types.h:760   #endif can only appear at the
end o
f a #if, #elif, #ifdef or #ifndef block.
ERROR CBC3046 /usr/include/signal.h:637   Syntax error.
ERROR CBC3485 /usr/include/signal.h:637   Parameter declaration list is
incompat
ible with declarator for privileged.
WARNING CBC3137 /usr/include/signal.h:832   Declaration must declare at
least on
e declarator, tag, or the members of an enumeration.
ERROR CBC3334 /usr/include/signal.h:834   Identifier __sigactionset_s has
alread
y been defined on line 515 of "/usr/include/signal.h".
ERROR CBC3334 /usr/include/signal.h:847   Identifier __sigactionset_t has
alread
y been defined on line 528 of "/usr/include/signal.h".
ERROR CBC3334 /usr/include/signal.h:856   Identifier sigevent has already
been d
efined on line 538 of "/usr/include/signal.h".
ERROR CBC3343 /usr/include/signal.h:917   Redeclaration of __sigactionset
differ
s from previous declaration on line 602 of "/usr/include/signal.h".
ERROR CBC3202 /usr/include/signal.h:927   #endif can only appear at the end
of a
 #if, #elif, #ifdef or #ifndef block.
ERROR CBC3202 /usr/include/signal.h:929   #endif can only appear at the end
of a
 #if, #elif, #ifdef or #ifndef block.
ERROR CBC3202 /usr/include/signal.h:949   #endif can only appear at the end
of a
 #if, #elif, #ifdef or #ifndef block.
ERROR CBC3046 ./try.c:23    Syntax error.
CBC1793(I) Compilation failed for file ./try.c.  Object file not created.
FSUM3065 The COMPILE step ended with return code 12.
FSUM3017 Could not compile try.c. Correct the errors and try again.
I can't compile the test program--assuming errno EAGAIN will do.

fchmod() found.




Reply via email to