libassuan troubles

Marcus Brinkmann marcus.brinkmann at ruhr-uni-bochum.de
Mon Apr 19 16:34:51 CEST 2004


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




More information about the Gpa-dev mailing list