Thanks for your message, Axel.

>> > checking for library containing iconv_open... no
>> > configure: error: Could not find an iconv implementation, needed to
>> > build fish
...
> Could you check /usr/include/iconv.h and see if iconv_open is
> implemented as a function or a macro?

It's a macro.


> If iconv_open is implemented as a macro, could you check what (if any)
> iconv call is implemented as a function?

functions:

extern iconv_t iconv_open (const char* tocode, const char* fromcode);
extern int iconvctl (iconv_t cd, int request, void* argument);
extern int iconv_close (iconv_t cd);
extern size_t iconv (iconv_t cd, const char* * inbuf, size_t  
*inbytesleft, char* * outbuf, size_t *outbytesleft);
extern void iconvlist (int (*do_one) (unsigned int namescount,
extern void libiconv_set_relocation_prefix (const char *orig_prefix, ...

macros:

#define iconv libiconv
#define iconvctl libiconvctl
#define iconvlist libiconvlist
#define iconv_close libiconv_close
#define iconv_open libiconv_open

By the way, it's a GNU version of inocv.h, with a copyright date of  
2003 but a file modification date of 2005.

Jason

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to