delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Subject: | ?"undefined reference to rl_event_hook" |
To: | cygwin AT cygwin DOT com |
From: | John DOT Velman AT HSC DOT com |
Date: | Wed, 9 May 2001 13:12:48 -0700 |
Message-ID: | <OFF8BAC640.D8AC7A9A-ON88256A47.006E4C36@hughes.com> |
X-MIMETrack: | Serialize by Router on MTA00/HUGHES(Release 5.0.5 |September 22, 2000) at |
05/09/2001 01:12:49 PM | |
MIME-Version: | 1.0 |
I'm out of my depth here -- I'm trying to compile swiprolog. Everything seems to compile, but at the link stage the following results: ---- gcc -o pl -Lrc pl-atom.o pl-wam.o pl-stream.o pl-error.o pl-arith.o pl-bag.o pl -comp.o pl-rc.o pl-dwim.o pl-ext.o pl-file.o pl-flag.o pl-fmt.o pl-funct.o pl-gc .o pl-glob.o pl-itf.o pl-list.o pl-load.o pl-modul.o pl-op.o pl-os.o pl-prims.o pl-pro.o pl-proc.o pl-prof.o pl-read.o pl-rec.o pl-rl.o pl-setup.o pl-sys.o pl-t able.o pl-trace.o pl-util.o pl-wic.o pl-write.o pl-term.o pl-buffer.o pl-thread. o pl-xterm.o pl-feature.o pl-ctype.o pl-main.o pl-extend.o frame.o -lrc -lreadli ne -lncurses -lm pl-rl.o(.text+0x1c1):pl-rl.c: undefined reference to `rl_event_hook' pl-rl.o(.text+0x1ce):pl-rl.c: undefined reference to `rl_event_hook' collect2: ld returned 1 exit status make: *** [pl] Error 1 ---- I checked, and libreadline.a is in /usr/lib, and of course a run of nm -s libreadline.a shows entries for _rl_event_hook. I just updated my cygwin installation this week (Monday?). Any idea why the linker can't find it? Or what to check? (By the way, librc.a is a library prepared as part of the compile, and it was apparently build successfully). Sorry if this isn't an appropriate Cygwin question. John Velman -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |