From: | Andrea Antibo <antibo(at)mclink(dot)it> |
---|---|
To: | James Oden <joden(at)lee(dot)k12(dot)nc(dot)us> |
Cc: | pgsql-novice(at)postgreSQL(dot)org, pgsql-general(at)postgreSQL(dot)org |
Subject: | Re: [GENERAL] make[2]: *** [psql] Error 1 |
Date: | 1998-10-06 16:50:32 |
Message-ID: | XFMail.981006185032.antibo@mclink.it |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
>|/usr/lib/libreadline.a(terminal.o): In function `_rl_enable_meta_key':
>|terminal.o(.text+0x7ce): undefined reference to `tputs'
>|/usr/lib/libreadline.a(terminal.o): In function `_rl_control_keypad':
>|terminal.o(.text+0x7fb): undefined reference to `tputs'
>|terminal.o(.text+0x822): undefined reference to `tputs'
>|make[2]: *** [psql] Error 1
>
>
> Sounds like the linker is having trouble finding the ncurses library. I am
> not sure exactly where, but somewhere in the make file you need to add:
>
> -l ncurses
>
> This is a compiler option that will tell the linker to link in the ncurses
> routines.
>
> Hope this helps...james
>
Ok, now the question is: where?
I add it in Makefile.global, but nothig.
>From Makefile.global:
#-------------------------------------------------------------
# See the subdirectory template for default settings for these
#-------------------------------------------------------------
CC= gcc
YFLAGS= -y -d
YACC= /usr/bin/bison
LEX= flex
AROPT= crs
CFLAGS= -I$(SRCDIR)/include -I$(SRCDIR)/backend -lncurses
CFLAGS_SL= -fpic ^^^^^^^^^^^^^^^
LDFLAGS= -ldl -lm -lbsd -lreadline -lhistory
DLSUFFIX= .so
From | Date | Subject | |
---|---|---|---|
Next Message | Charles Curley | 1998-10-06 19:09:05 | [GENERAL] Regex problems |
Previous Message | Jackson, DeJuan | 1998-10-06 16:14:49 | RE: [GENERAL] status on IPv6 implementation... |