Which recode version you have there? --Jani
On Fri, 26 Apr 2002, Wez Furlong wrote: >Hey Jani, > >ext/recode no longer builds for me; this is what happens during configure: > >checking for readline support... no >checking for recode support... yes >checking for recode_format_table in -lrecode... no >configure: error: I cannot link librecode (-L/usr/lib -lrecode). Is it installed? >wez@zaneeb:~/src/php/PHPDEV > recode --version >Free recode 3.5 > >config.log says: > >configure:61009: checking for recode_format_table in -lrecode >configure:61028: gcc -o conftest -g -O2 ... -lrecode ... > >/usr/lib/librecode.so: undefined reference to `program_name' > collect2: ld returned 1 exit status > configure: failed program was: > #line 61017 "configure" > #include "confdefs.h" > /* Override any gcc2 internal prototype to avoid an error. */ > /* We use char because int might match the return type of a gcc2 > builtin and then its argument prototype would still apply. */ > char recode_format_table(); > > int main() { > recode_format_table() > ; return 0; } > >Based on what I remember seeing from your recent commits for ext/recode, >you just need to declare program_name in that code above and everything >should be fine. >I have no idea how to do that :-) > >--Wez. > > -- -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php