Re: [ecasound] Compilation error

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] Compilation error
From: martijn (mlina_AT_dds.nl)
Date: Thu Dec 13 2001 - 01:19:41 EET


Once upon a Wed, Dec 12 2001, S. Massy hit keys in the following order:
> Weird, suddenly I get this error when trying to compile ecasound (Well,
> eca-text, really):
> eca-text.cpp: In function `char ** ecasound_completion(char *, int,int)':
> eca-text.cpp:341: implicit declaration of function `intcompletion_matches(...)'
> eca-text.cpp:341: assignment to `char **' from `int' lacks a cast

any chance that you upgraded to readline-4.2a and compiled ecasound with
--enable-sys-readline ? i did, when i ran into this same problem.. i think i
send a patch to this list, but here it is again:

--- ecasound/eca-text.cpp.orig Sat Dec 1 15:09:10 2001
+++ ecasound/eca-text.cpp Sat Dec 1 15:09:33 2001
@@ -338,7 +338,7 @@
   // complete only the first command, otherwise complete files in
   // the current directory
   if (start == 0)
- matches = completion_matches (text, (CPFunction *)ecasound_command_generator);
+ matches = rl_completion_matches (text, (CPFunction *)ecasound_command_generator);
 
   return (matches);
 }

--
To unsubscribe send message 'unsubscribe' in the body of the
message to <ecasound-list-request_AT_wakkanet.fi>.


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu Dec 13 2001 - 01:12:05 EET