compile error

From: Renney Thomas <renneyt(at)yahoo(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: compile error
Date: 2003-07-23 08:23:19
Message-ID: 3F1E45F7.4080004@yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I reconfigured the make to use openssl and I revceived the following
error using
gcc 3.3
on SunOS 5.7 Generic_106541-25 sun4u sparc SUNW,Ultra-1

Thanks for any help!

---

gmake[3]: Entering directory
`/opt/sft/postgresql-7.3.3/src/interfaces/libpq'
gcc -O3 -pthreads -Wall -Wmissing-prototypes -Wmissing-declarations
-fPIC -I. -I../.
./../src/include -I/usr/local/include -I/usr/local/ssl/include
-DFRONTEND -DSYSCONFD
IR='"/usr/local/pgsql/etc"' -c -o fe-connect.o fe-connect.c
In file included from fe-connect.c:46:
/usr/include/crypt.h:22: error: parse error before '(' token
/usr/include/crypt.h:22: error: parse error before "const"
gmake[3]: *** [fe-connect.o] Error 1
gmake[3]: Leaving directory `/opt/sft/postgresql-7.3.3/src/interfaces/libpq'

---

crypt.h:
20:extern char *crypt(const char *, const char *);
21:extern int crypt_close(int *);
22:extern char *des_crypt(const char *, const char *);
23:extern void des_encrypt(char *, int);
extern void des_setkey(const char *);
extern void encrypt(char *, int);
extern int run_crypt(long, char *, unsigned, int *);
extern int run_setkey(int *, const char *);
extern void setkey(const char *);

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Richard Huxton 2003-07-23 08:49:09 Re: slow table updates
Previous Message Stephan Szabo 2003-07-23 05:42:46 Re: Using the /var/lib/pgsql/data directory in the absense