Error Installing
Error Installing
От:
"Matt" <matt2004@pacbell.net>
Дата:
Hi, I get this error when using the "make" command in cygwin. I know it's the GNU make command because I checked it using "make --version". Here is the error: gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations command.o common.o hel p.o input.o stringutils.o mainloop.o copy.o startup.o prompt.o variables.o large _obj.o print.o describe.o tab-complete.o -L../../../src/interfaces/libpq -lpq -L /usr/local/lib -g -lz -lcrypt -lreadline -lcygipc -o psql tab-complete.o(.text+0x2a36):tab-complete.c: undefined reference to `filename_co mpletion_function' collect2: ld returned 1 exit status make[3]: *** [psql] Error 1 make[3]: Leaving directory `/usr/local/bin/pgsql/src/bin/psql' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/local/bin/pgsql/src/bin' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/bin/pgsql/src' make: *** [all] Error 2 Any help would be appreciated. Thanks, Matt PS, I'm on Windows 2000 and the binaries didn't seem to work. If I'm doing something wrong, let me know how to do it right.
Re: Error Installing
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
"Matt" writes: > tab-complete.o(.text+0x2a36):tab-complete.c: undefined reference to > `filename_completion_function' Looks like a compatibility problem with libreadline. Which PG version is this, and which version of libreadline do you have? IIRC, libreadline 4.0 is not compatible with prior releases, and you need PG 7.1.2 to work with it. regards, tom lane