agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Eric P Dean <ericdean@iastate.edu>
To: postgres@postgres.Berkeley.EDU
Subject: Installing pgperl
Date: Tue, 30 Aug 1994 15:34:42 CDT
Message-ID: <9408302034.AA15849@pv081c.vincent.iastate.edu> (raw)

I have POSTGRES v4.2 and PERL 4.036 running on a DEC 5000/133 in an MIT
Athena-like environment.  I tried bmake on pgperl and received the
following error messages.  I've read Paul Aoki's comments in the
Makefile and would like to know how to have the memcpy and memset return
void.  I'm not much of a computer whiz, so please make it as understandable
as possible.

Thank you!  And thanks to all who answered my question regarding
searching on seperate words in an attribute. Your answers were very helpful!

Eric Dean
Curator, Visual Resources Collection
College of Design, Iowa State University


root@pv081c.vincent> /local/postgres/xxbmake/bmake
/local/perl-4.036/usub/mus pg-libpq.mus > pg-libpq.c
cc -g -I/local/postgres/include -I/local/perl-4.036  -c pg-libpq.c
cfe: Warning: /usr/include/sys/param.h:389: Macro MIN redefined
cfe: Warning: /usr/include/sys/param.h:390: Macro MAX redefined
cfe: Error: /local/perl-4.036/perl.h, line 159: redeclaration of 'memcpy'; previous declaration at line 121 in file '/usr/include/string.h'
        extern char * memcpy();
        --------------^
cfe: Error: /local/perl-4.036/perl.h, line 159: Incompatible function
return type for this function 
        extern char * memcpy();
        --------------------^
cfe: Error: /local/perl-4.036/perl.h, line 175: redeclaration of
'memset'; previous declaration at line 123 in file
'/usr/include/string.h' 
        extern char *memset();
        -------------^
cfe: Error: /local/perl-4.036/perl.h, line 175: Incompatible function
return type for this function 
        extern char *memset();
        -------------------^
cfe: Error: pg-libpq.c, line 589: missing size for array 'portalnames'
            char portalnames[MAXPORTALS][32];
        ---------^
cfe: Error: pg-libpq.c, line 589: storage size for 'portalnames' isn't known
            char portalnames[MAXPORTALS][32];
        ---------^
cfe: Error: pg-libpq.c, line 589: 'MAXPORTALS' undefined, reoccurrences
will not be reported 
            char portalnames[MAXPORTALS][32];
        ---------------------^
cfe: Error: pg-libpq.c, line 590: missing size for array 'pnames'
            char *pnames[MAXPORTALS];
        ----------^
cfe: Error: pg-libpq.c, line 590: storage size for 'pnames' isn't known
            char *pnames[MAXPORTALS];
        ----------^
*** Error code 1

Stop.

==============================================================================
   To add/remove yourself to/from the POSTGRES mailing list: send mail with 
   the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU"

   If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
   a human will deal with it.  DO NOT post to the "postgres" mailing list.
==============================================================================



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: postgres@postgres.berkeley.edu
  Cc: ericdean@iastate.edu
  Subject: Re: Installing pgperl
  In-Reply-To: <9408302034.AA15849@pv081c.vincent.iastate.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox