Thread: help me

help me

From
Sun Li-qun
Date:
Dear sir:

  I have some problem while I install the Postgresql. The version is
6.5.3, I download it several day ago. The operating system is Red
Hat Linux release 6.0 (Hedwig), Kernel 2.2.5-15 on an i686, my hardware is
PC PII 233,  I have complie it, but it can't get pass and show following
message:

gmake install > make.install.log 2>&1 &

gmake lexverify
gmake[1]: Entering directory `/usr/src/pgsql/postgresql-6.5.3/src'
gmake -C lextest all
gmake[2]: Entering directory `/usr/src/pgsql/postgresql-6.5.3/src/lextest'
flex scan.l
g++ -c lex.yy.c
scan.l: In function `int yylex()':
scan.l:11: warning: implicit declaration of function `int input(...)'
g++ -c lextest.c
lextest.c: In function `int main()':
lextest.c:10: warning: implicit declaration of function `int yylex(...)'
g++ -o lextest lex.yy.o lextest.o
lex.yy.o: In function `yylex(void)':
lex.yy.o(.text+0x202): undefined reference to `input'
lex.yy.o(.text+0x34c): undefined reference to `yywrap'
lex.yy.o: In function `yyinput(void)':
lex.yy.o(.text+0xb56): undefined reference to `yywrap'
lextest.o: In function `main':
lextest.o(.text+0x4): undefined reference to `yylex'
collect2: ld returned 1 exit status
gmake[2]: *** [lextest] Error 1
gmake[2]: Leaving directory `/usr/src/pgsql/postgresql-6.5.3/src/lextest'
gmake[1]: *** [lexverify] Error 2
gmake[1]: Leaving directory `/usr/src/pgsql/postgresql-6.5.3/src'
gmake: *** [all] Error 2

BTW, I just download postgresql-6.5.3.tar.gz.

thank you. and Best wishes,

Yours sincerely
Liqun Sun










==================================================
SUN Liqun
P.O.Box 2735, Beijing  100080
Institute of Theoretical Physics
Chinese Academy of Sciences
P.R. China
Tel. +86 10 62555058
FAX. +86 10 62562587
==================================================