Re: [GENERAL] postgresql sources compiling

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Yury Don <yura(at)vpcit(dot)ru>
Cc: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] postgresql sources compiling
Date: 1999-08-27 05:10:47
Message-ID: 199908270510.BAA09470@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Yes, we have seen this. Apply this.

[Charset koi8-r unsupported, filtering to ASCII...]
> Hi All.
>
> I try to compile postgresql sources (on Debian Linux, libc6 2.1) and get
> the folloing message:
>
> make -C src all
> make[1]: Entering directory
> `/home/sasha/t/postgresql-6.5.1/src/pl/plpgsql/src'
> gcc -I../../../include -I../../../backend -O2 -g3 -Wall
> -Wmissing-prototypes -I../../../interfaces/libpq -I../../../include
> -I../../../backend -fpic -c -o pl_parse.o pl_gram.c
> In file included from gram.y:43:
> lex.plpgsql_yy.c:830: warning: no previous prototype for `plpgsql_yylex'
> scan.l: In function `plpgsql_yylex':
> scan.l:85: `K_ASSIGN' undeclared (first use in this function)
> scan.l:85: (Each undeclared identifier is reported only once
> scan.l:85: for each function it appears in.)
> scan.l:87: `K_DOTDOT' undeclared (first use in this function)
> scan.l:88: `K_ALIAS' undeclared (first use in this function)
> scan.l:89: `K_BEGIN' undeclared (first use in this function)
> scan.l:90: `T_BPCHAR' undeclared (first use in this function)
> scan.l:91: `T_CHAR' undeclared (first use in this function)
> scan.l:92: `K_CONSTANT' undeclared (first use in this function)
> scan.l:93: `K_DEBUG' undeclared (first use in this function)
> scan.l:94: `K_DECLARE' undeclared (first use in this function)
> scan.l:95: `K_DEFAULT' undeclared (first use in this function)
> scan.l:96: `K_ELSE' undeclared (first use in this function)
> scan.l:97: `K_END' undeclared (first use in this function)
> scan.l:98: `K_EXCEPTION' undeclared (first use in this function)
> scan.l:99: `K_EXIT' undeclared (first use in this function)
> scan.l:100: `K_FOR' undeclared (first use in this function)
> scan.l:101: `K_FROM' undeclared (first use in this function)
> scan.l:102: `K_IF' undeclared (first use in this function)
> scan.l:103: `K_IN' undeclared (first use in this function)
> scan.l:104: `K_INTO' undeclared (first use in this function)
> scan.l:105: `K_LOOP' undeclared (first use in this function)
> scan.l:106: `K_NOT' undeclared (first use in this function)
> scan.l:107: `K_NOTICE' undeclared (first use in this function)
> scan.l:108: `K_NULL' undeclared (first use in this function)
> scan.l:109: `K_PERFORM' undeclared (first use in this function)
> scan.l:110: `K_RAISE' undeclared (first use in this function)
> scan.l:111: `K_RECORD' undeclared (first use in this function)
> scan.l:112: `K_RENAME' undeclared (first use in this function)
> scan.l:113: `K_RETURN' undeclared (first use in this function)
> scan.l:114: `K_REVERSE' undeclared (first use in this function)
> scan.l:115: `K_SELECT' undeclared (first use in this function)
> scan.l:116: `K_THEN' undeclared (first use in this function)
> scan.l:117: `K_TO' undeclared (first use in this function)
> scan.l:118: `K_TYPE' undeclared (first use in this function)
> scan.l:119: `T_VARCHAR' undeclared (first use in this function)
> scan.l:120: `K_WHEN' undeclared (first use in this function)
> scan.l:121: `K_WHILE' undeclared (first use in this function)
> scan.l:123: `O_OPTION' undeclared (first use in this function)
> scan.l:124: `O_DUMP' undeclared (first use in this function)
> scan.l:139: `T_NUMBER' undeclared (first use in this function)
> scan.l:174: `T_STRING' undeclared (first use in this function)
> lex.plpgsql_yy.c:927: warning: label `find_rule' defined but not used
> y.tab.c: At top level:
> y.tab.c:840: warning: no previous prototype for `plpgsql_yyparse'
> y.tab.c: In function `plpgsql_yyparse':
> y.tab.c:863: warning: suggest parentheses around assignment used as
> truth value
> y.tab.c:907: warning: implicit declaration of function `plpgsql_yyerror'
> y.tab.c:912: warning: label `plpgsql_yyerrlab' defined but not used
> y.tab.c:907: warning: label `plpgsql_yynewerror' defined but not used
> y.tab.c: At top level:
> pl_gram.c:2: warning: `plpgsql_yysccsid' defined but not used
> lex.plpgsql_yy.c:2153: warning: `plpgsql_yy_flex_realloc' defined but
> not used
> lex.plpgsql_yy.c:1635: warning: `plpgsql_yyunput' defined but not used
> make[1]: *** [pl_parse.o] Error 1
> make[1]: Leaving directory
> `/home/sasha/t/postgresql-6.5.1/src/pl/plpgsql/src'
> make: [all] Error 2 (ignored)
>
> Any suggestions?
>
> Sincerely yours, Yury.
> don.web-page.net, ICQ 11831432
>
> ************
>
>

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

Attachment Content-Type Size
unknown_filename text/plain 1.6 KB

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Natalya S. Makushina 1999-08-27 05:33:54 Problem with postgres log file
Previous Message Yury Don 1999-08-27 04:14:09 postgresql sources compiling