bug-mailutils
[Top][All Lists]
Advanced

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

Re: Interrupt handling in mail


From: Alain Magloire
Subject: Re: Interrupt handling in mail
Date: Tue, 3 Jul 2001 23:53:32 -0400 (EDT)

Bonjour

> :^)) Nice to hear about Alexandre. He helped me a lot with testing Radius!

8-)

> > # cat l.c
> > #include <stdio.h>
> > #include <readline/readline.h>
> > int
> > main()
> > {
> >   printf("%s\n", rl_library_version);
> > }
> > # gcc -o l l.c
> > /tmp/ccacKwzY.o: In function `main':
> > /tmp/ccacKwzY.o(.text+0xa): undefined reference to `rl_library_version'
> > collect2: ld returned 1 exit status
> > 
> > hum ... not good 8-).
> 
> Oops! But there is something strange about it: if collect2 returned
> error, it means that the declaration for rl_library_version *was
> present* in readline.h at compile time, but was absent when loading
> the library, i.e. the headers disagree with library. Possibly you have
> forgotten -lreadline:
> 
>         gcc -o l l.c -lreadline
> 
> What do you think?

My only excuse is that I did not have coffe in my blood when replying
so ...

# gcc -o l l.c -lreadline -lcurses
# ./l
2.2

My version of readlyne is 2.2, I shall update.

> > BTW, did you try with readline disable?
> Yes, on my boxes (Solaris and GNU/Linux) it seems OK. And on yours?

Cool.  But did not experiment much.

-- 
alain




reply via email to

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