problem building libassuan + pth
Stoyan Angelov
s_angelov at filibeto.org
Sun Nov 19 17:46:36 CET 2006
hello all,
i am trying to build gnupg 2.0 on Solaris 10 (x86) but i have some
problems building the libassuan library with the required pth support.
pth itself builds and installs without problems (i use pth 2.0.7 and all
'make test' test pass successfully) however when i use the configure
script for libassuan i get:
checking for PTH - version >= 1.3.7... yes
checking whether PTH installation is sane... no
checking the config.log output i see the following:
configure:3633: checking whether PTH installation is sane
configure:3662: gcc -o conftest -g -O2 -Wall -Wcast-align -Wshadow
-Wstrict-prototypes -I/usr/local/include -L
/usr/local/lib conftest.c -lpth >&5
conftest.c:22: warning: function declaration isn't a prototype
/usr/local/lib/libpth.so: undefined reference to `recv'
/usr/local/lib/libpth.so: undefined reference to `connect'
/usr/local/lib/libpth.so: undefined reference to `recvfrom'
/usr/local/lib/libpth.so: undefined reference to `accept'
/usr/local/lib/libpth.so: undefined reference to `sendto'
/usr/local/lib/libpth.so: undefined reference to `getsockopt'
collect2: ld returned 1 exit status
configure:3668: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "libassuan"
| #define PACKAGE_TARNAME "libassuan"
| #define PACKAGE_VERSION "1.0.0"
| #define PACKAGE_STRING "libassuan 1.0.0"
| #define PACKAGE_BUGREPORT "bug-libassuan at gnupg.org"
| #define PACKAGE "libassuan"
| #define VERSION "1.0.0"
| #define _GNU_SOURCE 1
| #define PACKAGE "libassuan"
| #define VERSION "1.0.0"
| #define PACKAGE_BUGREPORT "bug-libassuan at gnupg.org"
| #define _XOPEN_SOURCE 500
| #define _XOPEN_SOURCE_EXTENDED 1
| #define __EXTENSIONS__ 1
| /* end confdefs.h. */
| #include <pth.h>
|
| int
| main ()
| {
| pth_init ();
| ;
| return 0;
| }
configure:3700: result: no
can anyone help with this issue ?
geetings,
Stoyan
More information about the Gnupg-users
mailing list