develooper Front page | perl.perl5.porters | Postings from March 2000

[ID 20000316.028] [Q]: Can't compile

Thread Next
From:
鈴木 清
Date:
March 16, 2000 22:56
Subject:
[ID 20000316.028] [Q]: Can't compile
Message ID:
4.2.0.58.J.20000317154655.00a90540@frcvw01.nri.co.jp

Could you please help me.

I'm trying to install perl5.004_04  on Solaris 2.6

But some prototype declaration may be not matched, I think.

Below is error messages about to compile util.c with command "make"
---------------------------------------------------------------------------
`sh  cflags libperl.so util.o` -fpic util.c
           CCCMD =  gcc -DPERL_CORE -c -I/usr/include -I/apl/GNU/include 
-I/opt/include -I/usr/local/include -O
util.c: In function `Perl_form':
util.c:1107: number of arguments doesn't match prototype
proto.h:125: prototype declaration
util.c: In function `Perl_die':
util.c:1164: number of arguments doesn't match prototype
proto.h:70: prototype declaration
util.c: In function `Perl_croak':
util.c:1231: argument `pat' doesn't match prototype
proto.h:47: prototype declaration
util.c:1231: number of arguments doesn't match prototype
proto.h:47: prototype declaration
util.c: In function `Perl_warn':
util.c:1288: number of arguments doesn't match prototype
proto.h:529: prototype declaration
---------------------------------------------------------------------------

util.c:1107: is

#ifdef I_STDARG
char *
form(const char* pat, ...)
#else
/*VARARGS0*/
char *
form(pat, va_alist)
     const char *pat;
     va_dcl
#endif
{

and

proto.h:125: is
char*	form _((const char* pat, va_dcl));

What can I modify Makefile or configure file ??


===============================================================
      Kiyoshi Suzuki
      Consultant, Portfolio Management Research Group
      Quantitative Research Dept.
      Financial Research Center, THE NOMURA SECURITIES CO., LTD.
      URBANNET OTEMACHI BUILDING 7F
      2-2-2, OTEMACHI, CHIYODA-KU,
      TOKYO, JAPAN 100-8130
      int. 2468   ext. 81-3-3274-0924   FAX. 81-3-3274-0089
===============================================================



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About