libassuan 0.6.10 build fails on old Linux
Alain Guibert
alguibert+gpd at free.fr
Wed Sep 20 17:18:49 CEST 2006
Hello again,
On Sunday, September 10, 2006 at 8:31:54 +0200, Alain Guibert wrote:
> On my old Linux box (Intel Pentium 200 MMX, Debian bo, kernel 2.0.40,
> gcc 2.7.2.1, libc 5.4.33, GNU ld cygnus-2.7.1) during libassuan 0.6.10
> build, make fails:
Also tried libassuan 0.9.0, it fails a little earlier:
| gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -c assuan-pipe-connect.c
| assuan-pipe-connect.c: In function `socketpair_connect':
| assuan-pipe-connect.c:380: `AF_LOCAL' undeclared (first use this function)
| assuan-pipe-connect.c:380: (Each undeclared identifier is reported only once
| assuan-pipe-connect.c:380: for each function it appears in.)
| make[3]: *** [assuan-pipe-connect.o] Error 1
| make[3]: Leaving directory `/tmp/libassuan-0.9.0/src'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory `/tmp/libassuan-0.9.0/src'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/tmp/libassuan-0.9.0'
| make: *** [all] Error 2
And later:
| gcc -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -o fdpassing fdpassing.o ../src/libassuan.a
| ../src/libassuan.a(assuan-handler.o): In function `process_request':
| /tmp/libassuan-0.9.0/src/assuan-handler.c:525: undefined reference to `gpg_strerror_r'
| /tmp/libassuan-0.9.0/src/assuan-handler.c:526: undefined reference to `gpg_strsource'
| ../src/libassuan.a(assuan-uds.o): In function `uds_reader':
| /tmp/libassuan-0.9.0/src/assuan-uds.c:69: undefined reference to `CMSG_SPACE'
| /tmp/libassuan-0.9.0/src/assuan-uds.c:95: undefined reference to `CMSG_FIRSTHDR'
| /tmp/libassuan-0.9.0/src/assuan-uds.c:96: undefined reference to `CMSG_LEN'
| /tmp/libassuan-0.9.0/src/assuan-uds.c:103: undefined reference to `CMSG_DATA'
| ../src/libassuan.a(assuan-uds.o): In function `uds_sendfd':
| /tmp/libassuan-0.9.0/src/assuan-uds.c:171: undefined reference to `CMSG_SPACE'
| /tmp/libassuan-0.9.0/src/assuan-uds.c:197: undefined reference to `CMSG_FIRSTHDR'
| /tmp/libassuan-0.9.0/src/assuan-uds.c:198: undefined reference to `CMSG_LEN'
| /tmp/libassuan-0.9.0/src/assuan-uds.c:201: undefined reference to `CMSG_DATA'
| ../src/libassuan.a(assuan-io.o): In function `_assuan_simple_sendmsg':
| /tmp/libassuan-0.9.0/src/assuan-io.c:162: undefined reference to `FD_ZERO'
| /tmp/libassuan-0.9.0/src/assuan-io.c:163: undefined reference to `FD_SET'
| ../src/libassuan.a(assuan-io.o): In function `_assuan_simple_recvmsg':
| /tmp/libassuan-0.9.0/src/assuan-io.c:204: undefined reference to `FD_ZERO'
| /tmp/libassuan-0.9.0/src/assuan-io.c:205: undefined reference to `FD_SET'
| make[3]: *** [fdpassing] Error 1
| make[3]: Leaving directory `/tmp/libassuan-0.9.0/tests'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory `/tmp/libassuan-0.9.0/tests'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/tmp/libassuan-0.9.0'
| make: *** [all] Error 2
Alain.
More information about the Gnupg-devel
mailing list