libksba-1.0.5: SCM_RIGHTS undeclared on SGI IRIX

Nelson H. F. Beebe beebe at math.utah.edu
Wed Jan 14 00:55:43 CET 2009


A build attempt for libksba-1.0.5 on SGI IRIX fails to find a 
definition of SCM_RIGHTS:

gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include    -I/usr/local/include -Wall
-Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -MT assuan-uds.o
-MD -MP -MF .deps/assuan-uds.Tpo -c -o assuan-uds.o assuan-uds.c
assuan-uds.c: In function `uds_reader':
assuan-uds.c:119: warning: cast increases required alignment of target type
assuan-uds.c:123: error: `SCM_RIGHTS' undeclared (first use in this function)
assuan-uds.c:123: error: (Each undeclared identifier is reported only once
assuan-uds.c:123: error: for each function it appears in.)
assuan-uds.c:127: warning: cast increases required alignment of target type
assuan-uds.c: In function `uds_sendfd':
assuan-uds.c:225: warning: cast increases required alignment of target type
assuan-uds.c:228: error: `SCM_RIGHTS' undeclared (first use in this function)
assuan-uds.c:229: warning: cast increases required alignment of target type

On GNU/Linux, SCM_RIGHTS is defined in /usr/include/bits/socket.h,
and on OSF/1 and Solaris, it is defined in /usr/include/sys/socket.h.

IRIX is admittedly old and unmaintained, so you may simply wish
to declare it unsupported.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe at math.utah.edu  -
- 155 S 1400 E RM 233                       beebe at acm.org  beebe at computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------



More information about the Gnupg-devel mailing list