compile error
compile error
От:
Renney Thomas <renneyt@yahoo.com>
Дата:
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 *);
Re: compile error
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Renney Thomas writes: > 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 According to this recent change, you can just remove the inclusion of crypt.h ... 2003-06-23 13:03 momjian * src/interfaces/libpq/fe-connect.c: Remove crypt.h from fe-connect.c --- not needed, and caused problems on Solaris with Open SSL version 0.9.7b regards, tom lane
SQL Server DTS for data migration
От:
"Dilan Arumainathan" <dilan_a@impark.com>
Дата:
Just wondering if anyone has tried to use the MS Data Transformation Services (DTS) to migrate data from other databases (Oracle etc) via ODBC. I am considering looking into this as it looks promising due to the flexible options it offers over the database migration wizard in PgAdmin. thanks dilan