Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.91k stars 542 forks source link

error during make #5142

Closed p5pRT closed 16 years ago

p5pRT commented 22 years ago

Migrated from rt.perl.org#8689 (status was 'resolved')

Searchable as RT8689$

p5pRT commented 22 years ago

From Allan.Zaebst@cle.philips.com

I have attempted to install perl twice and have the following problem during make​:

cc​: "doop.c"\, line 855​: warning 950​: Shift amount should be in the range of zero through 31 bits. cc​: "doop.c"\, line 856​: warning 950​: Shift amount should be in the range of zero through 31 bits.   `sh cflags libperl.a doio.o` doio.c   CCCMD = cc -DPERL_CORE -c +z -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ae -O cc​: "doio.c"\, line 31​: error 1711​: Inconsistent parameter list declaration for "shmat". cc​: "doio.c"\, line 69​: error 1588​: "PerlI" undefined. cc​: "doio.c"\, line 69​: error 1588​: "saneofp" undefined. cc​: "doio.c"\, line 95​: error 1588​: "saveofp" undefined. cc​: "doio.c"\, line 458​: error 1588​: "saveofp" undefined. cc​: "doio.c"\, line 458​: error 1563​: Expression in if must be scalar. cc​: "doio.c"\, line 459​: warning 563​: Argument #1 is not the correct type. cc​: "doio.c"\, line 460​: error 1563​: Expression in if must be scalar. cc​: "doio.c"\, line 461​: warning 563​: Argument #1 is not the correct type. cc​: "doio.c"\, line 463​: error 1527​: Incompatible types in cast​: Must cast from scalar to scalar or to void type. cc​: "doio.c"\, line 531​: error 1588​: "saveofp" undefined. *** Error exit code 1

Stop.

I an on an hpux 11.0 system. The doio.c code starts as follows​:

/* doio.c * * Copyright (c) 1991-2001\, Larry Wall * * You may distribute under the terms of either the GNU General Public * License or the Artistic License\, as specified in the README file. * */

/* * "Far below them they saw the white waters pour into a foaming bowl\, and * then swirl darkly about a deep oval basin in the rocks\, until they found * their way out again through a narrow gate\, and flowed away\, fuming and * chattering\, into calmer and more level reaches." */

#include "EXTERN.h" #define PERL_IN_DOIO_C #include "perl.h"

#if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM) #ifndef HAS_SEM #include \<sys/ipc.h> #endif #ifdef HAS_MSG #include \<sys/msg.h> #endif #ifdef HAS_SHM #include \<sys/shm.h> # ifndef HAS_SHMAT_PROTOTYPE   extern Shmat_t shmat (int\, char *\, int); # endif #endif #endif

What intrigues me is that the doio.c member came from ??? and shows​:

baan5 /tmp/cicalz/perl-5.6.1 ##ll | grep doi -r--r--r-- 1 gsbrwr 504 46981 Feb 25 11​:51 doio.c

/tmp/cicalz/perl-5.6.1 is a directory I created for this install and I do not understand why I have members with owner gsbrwr​:504 My id is cicalz\, but I am doing this as root\, so where does the owner come from? This may give you the clue needed to help me resolve the problem. Thanks for your assistance.

p5pRT commented 16 years ago

p5p@spam.wizbit.be - Status changed from 'open' to 'resolved'