compile error

Поиск
Список
Период
Сортировка
От Renney Thomas
Тема compile error
Дата
Msg-id 3F1E45F7.4080004@yahoo.com
обсуждение исходный текст
Ответы Re: compile error  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 *);


В списке pgsql-admin по дате отправления:

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Using the /var/lib/pgsql/data directory in the absense
Следующее
От: "Marvin"
Дата:
Сообщение: OID's