Re: ‘rl_readline_state_t’ undeclared

Bruno Haible <[email protected]>
Newsgroups gmane.lisp.clisp.devel
Message-ID <3419818.QEMpmQguo6@omega>
Hi Ken,

> libsvm.c: In function ‘module__libsvm__init_function_1’:
> libsvm.c:44:57: error: ‘rl_readline_state_t’ undeclared (first use in 
> this function)
>  
> register_foreign_inttype("rl_readline_state_t",sizeof(rl_readline_state_t),(rl_readline_state_t)-1<=(rl_readline_state_t)0);

How come that the initialization function of the libsvm module references
types from another, unrelated module??

How do you reproduce it?

> shouldn't the 
> typedef of rl_readline_state_t have been propagated to some header used 
> in building other modules that rely on readline?

AFAICS, libsvm and readline are independent.

Bruno


------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.