bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-readline] I cannot link readline, please help!


From: Hans Lub
Subject: Re: [Bug-readline] I cannot link readline, please help!
Date: Sat, 25 Feb 2012 19:02:07 +0100

Hi Spyros,

> try.c:(.text+0x19): undefined reference to `readline'

You have to explicitly ask gcc to link with the readline library:

  $ gcc try.c -lreadline

... should work. All the best,

Hans



reply via email to

[Prev in Thread] Current Thread [Next in Thread]