Problem with "make"- inverted libraries? - Mailing list pgsql-cygwin
From | Elissa Newman |
---|---|
Subject | Problem with "make"- inverted libraries? |
Date | |
Msg-id | 000901c3ec4e$5395db40$c5bf0280@scs.ad.cs.cmu.edu Whole thread Raw |
Responses |
Re: Problem with "make"- inverted libraries?
|
List | pgsql-cygwin |
Hi- Just to start off, I do need to build from source because I have to alter the internals of the DB for a class I'm taking. After my previous problem, I managed to get it working (somehow), but then I was having problems with initdb (too many possible connections or semaphores or something like that) so I decided to redownload Cygwin and Postgres (whatever the current versions are). I ran ./configure and that seemed to work. I tried to run "make", and the output I got is below. It looks like its lookingin /usr/include before the postgres includes. How can I fix this? -Elissa --------------------------------------------------- [elissa@gs02 ...src/postgresql-7.4.1-3]$ make make -C doc all make[1]: Entering directory `/usr/src/postgresql-7.4.1-3/doc' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/src/postgresql-7.4.1-3/doc' make -C src all make[1]: Entering directory `/usr/src/postgresql-7.4.1-3/src' make -C port all make[2]: Entering directory `/usr/src/postgresql-7.4.1-3/src/port' gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations I../../src/include -c -o crypt.o crypt.c crypt.c:119: conflicting types for `int32_t' /usr/include/stdint.h:20: previous declaration of `int32_t' crypt.c:248: parse error before "__int64" crypt.c:248: warning: no semicolon at end of struct or union crypt.c:250: warning: type defaults to `int' in declaration of `C_block' crypt.c:250: warning: data definition has no type or storage class crypt.c:304: parse error before '[' token crypt.c:307: parse error before "C_block" crypt.c: In function `permute': crypt.c:318: parse error before "C_block" crypt.c:323: `tp' undeclared (first use in this function) crypt.c:323: (Each undeclared identifier is reported only once crypt.c:323: for each function it appears in.) crypt.c:330: subscripted value is neither array nor pointer crypt.c:331: warning: left-hand operand of comma expression has no effect crypt.c:333: subscripted value is neither array nor pointer crypt.c:334: warning: left-hand operand of comma expression has no effect crypt.c:337: invalid type argument of `unary *' crypt.c:337: invalid type argument of `unary *' crypt.c:337: warning: left-hand operand of comma expression has no effect crypt.c: At top level: crypt.c:473: parse error before "PC1ROT" crypt.c:473: warning: type defaults to `int' in declaration of `PC1ROT' crypt.c:473: warning: data definition has no type or storage class crypt.c:476: parse error before "PC2ROT" crypt.c:476: warning: type defaults to `int' in declaration of `PC2ROT' crypt.c:476: warning: data definition has no type or storage class crypt.c:479: parse error before "IE3264" crypt.c:479: warning: type defaults to `int' in declaration of `IE3264' crypt.c:479: warning: data definition has no type or storage class crypt.c:485: parse error before "CF6464" crypt.c:485: warning: type defaults to `int' in declaration of `CF6464' crypt.c:485: warning: data definition has no type or storage class crypt.c:491: parse error before "constdatablock" crypt.c:491: warning: type defaults to `int' in declaration of `constdatablock' crypt.c:491: warning: data definition has no type or storage class crypt.c:504: warning: no previous prototype for `crypt' crypt.c: In function `crypt': crypt.c:513: parse error before "keyblock" crypt.c:535: `keyblock' undeclared (first use in this function) crypt.c:594: `rsltblock' undeclared (first use in this function) crypt.c: At top level: crypt.c:637: parse error before "KS" crypt.c:637: warning: type defaults to `int' in declaration of `KS' crypt.c:637: warning: data definition has no type or storage class crypt.c: In function `des_setkey': crypt.c:649: `ptabp' undeclared (first use in this function) crypt.c:655: parse error before "tblk" crypt.c:655: `tblk' undeclared (first use in this function) crypt.c:655: parse error before ')' token crypt.c:655: warning: left-hand operand of comma expression has no effect crypt.c:657: parse error before ')' token crypt.c:657: parse error before ')' token crypt.c:657: warning: left-hand operand of comma expression has no effect crypt.c:661: parse error before ')' token crypt.c:661: parse error before ')' token crypt.c:661: warning: left-hand operand of comma expression has no effect crypt.c:662: parse error before ')' token crypt.c:663: parse error before "tblk" crypt.c:663: warning: left-hand operand of comma expression has no effect crypt.c:664: parse error before ')' token crypt.c:664: parse error before ')' token crypt.c:664: warning: left-hand operand of comma expression has no effect crypt.c: In function `des_cipher': crypt.c:693: `kp' undeclared (first use in this function) crypt.c:696: parse error before "B" crypt.c:699: parse error before "cvt" crypt.c:699: `cvt' undeclared (first use in this function) crypt.c:719: parse error before ')' token crypt.c:719: parse error before ')' token crypt.c:719: warning: left-hand operand of comma expression has no effect crypt.c:728: `B' undeclared (first use in this function) crypt.c:728: warning: left-hand operand of comma expression has no effect crypt.c:729: parse error before "tblk" crypt.c:729: `tblk' undeclared (first use in this function) crypt.c:729: parse error before ')' token crypt.c:729: warning: left-hand operand of comma expression has no effect crypt.c:730: parse error before "tblk" crypt.c:730: parse error before ')' token crypt.c:730: warning: left-hand operand of comma expression has no effect crypt.c:780: parse error before ')' token crypt.c:781: parse error before ')' token crypt.c:783: parse error before ')' token crypt.c:798: warning: left-hand operand of comma expression has no effect crypt.c:799: parse error before "tblk" crypt.c:799: parse error before ')' token crypt.c:799: warning: left-hand operand of comma expression has no effect crypt.c:811: parse error before ')' token crypt.c:811: parse error before ')' token crypt.c:811: warning: left-hand operand of comma expression has no effect crypt.c: In function `init_des': crypt.c:862: warning: implicit declaration of function `init_perm' crypt.c:966: parse error before "cvt" crypt.c:966: `cvt' undeclared (first use in this function) crypt.c:970: parse error before "cvt" crypt.c:830: warning: unused variable `init_start' crypt.c: At top level: crypt.c:987: parse error before "C_block" crypt.c:987: warning: type defaults to `int' in declaration of `perm' crypt.c:987: warning: data definition has no type or storage class crypt.c:991: parse error before '{' token crypt.c:1002: warning: type defaults to `int' in declaration of `i' crypt.c:1002: `l' undeclared here (not in a function) crypt.c:1002: warning: data definition has no type or storage class crypt.c:1003: warning: type defaults to `int' in declaration of `l' crypt.c:1003: initializer element is not constant crypt.c:1003: warning: data definition has no type or storage class crypt.c:1004: parse error before "for" crypt.c: In function `setkey': crypt.c:1022: parse error before "keyblock" crypt.c:1032: `keyblock' undeclared (first use in this function) crypt.c: In function `encrypt': crypt.c:1048: parse error before "cblock" crypt.c:1058: `cblock' undeclared (first use in this function) crypt.c: At top level: crypt.c:1018: warning: `setkey' defined but not used crypt.c:1044: warning: `encrypt' defined but not used make[2]: *** [crypt.o] Error 1 make[2]: Leaving directory `/usr/src/postgresql-7.4.1-3/src/port' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/postgresql-7.4.1-3/src' make: *** [all] Error 2
pgsql-cygwin by date: