Re: libassuan troubles

Marcus Brinkmann <[email protected]>
Newsgroups gmane.comp.encryption.gpg.gpa.devel
Message-ID <[email protected]>
At Mon, 19 Apr 2004 15:44:51 +0200,
Michael Nottebrock wrote:
> 
> 2.) assuan-domain-connect.c also needs sys/types.h included as described above 
> and additionally needs to include isc/eventlib.h for the iovec structure.

The standard header for iovec is <sys/uio.h>.  Is that avaiable and
defines struct iovec on your system?

> 3.) The replacement function for putc_unlocked.c does not compile:
> 
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include     -O -pipe  -Wall 
> -Wcast-align -Wshadow -Wstrict-prototypes -c `test -f 'putc_unlocked.c' || 
> echo './'`putc_unlocked.c
> putc_unlocked.c:29: redefinition of `__sputc'
> /usr/include/stdio.h:361: `__sputc' previously defined here

This seems spurious.  Maybe putc_unlocked is only defined as a macro
on BSD, and thus circumvents the autoconf tests?  This would sound
broken to me (it may be allowed to define it as a macro, but it should
still be defined as a function in the library).

Thanks,
Marcus
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.