[Date Prev][Date Next] [Chronological] [Thread] [Top]

configure problems in -devel



The ISODE setup is gone.  No mention in README, INSTALL or configure of
how to use ISODE.


./configure on sun4 aborts with
        checking for mach/cthreads.h... no
        ./configure: test: argument expected
The problem is:
	if test $ac_cv_header_lwp_lwp_h = yes ; then
where $ac_cv_header_lwp_lwp_h is unset (or maybe empty).
I assume ac_cv_header_lwp_lwp_h should be set first.


./configure on Solaris (SunOS 5.5.1) aborts with
	checking for des.h... no
	checking for pthread.h... yes
	checking for sched.h... yes
	checking POSIX thread version... final
	checking for LinuxThreads... no
	checking for pthread_create... no
	checking for pthread_create with -pthread... no
	checking for pthread_create in -lpthread... yes
	checking for sched_yield... no
	checking for pthread_yield... no
	configure: warning: could not locate sched_yield() or pthread_yield()
	configure: error: POSIX Threads are not usable

I enclose config.log.

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:591: checking configure arguments
configure:1203: checking whether ln -s works
configure:1234: checking for a BSD compatible install
configure:1286: checking for ranlib
configure:1313: checking whether make sets ${MAKE}
configure:1343: checking for sendmail
configure:1375: checking for vi
configure:1407: checking for finger
configure:1440: checking for gcc
configure:1517: checking whether the C compiler (gcc -W -Wall -O ) works
configure:1531: gcc -o conftest -W -Wall -O   conftest.c  1>&5
configure:1528: warning: return-type defaults to `int'
configure:1551: checking whether the C compiler (gcc -W -Wall -O ) is a cross-compiler
configure:1556: checking whether we are using GNU C
configure:1565: gcc -E conftest.c
configure:1580: checking whether gcc accepts -g
configure:1608: checking how to run the C preprocessor
configure:1629: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1670: checking whether gcc needs -traditional
configure:1717: checking for AIX
configure:1741: checking for POSIXized ISC
configure:1763: checking for minix/config.h
configure:1773: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1769: minix/config.h: No such file or directory
configure: failed program was:
#line 1768 "configure"
#include "confdefs.h"
#include <minix/config.h>
configure:1814: checking for socket
configure:1842: gcc -o conftest -W -Wall -O   conftest.c  1>&5
Undefined			first referenced
 symbol  			    in file
socket                              /var/tmp/cca003V.1.o
ld: fatal: Symbol referencing errors. No output written to conftest
configure: failed program was:
#line 1819 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char socket(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char socket();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_socket) || defined (__stub___socket)
choke me
#else
socket();
#endif

; return 0; }
configure:1861: checking for main in -lsocket
configure:1876: gcc -o conftest -W -Wall -O   conftest.c -lsocket   1>&5
configure:1904: checking for main in -lnet
configure:1919: gcc -o conftest -W -Wall -O   conftest.c -lnet  -lsocket  1>&5
ld: fatal: library -lnet: not found
ld: fatal: File processing errors.  No output written to conftest
configure: failed program was:
#line 1912 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:1947: checking for main in -lnsl_s
configure:1962: gcc -o conftest -W -Wall -O   conftest.c -lnsl_s  -lsocket  1>&5
ld: fatal: library -lnsl_s: not found
ld: fatal: File processing errors.  No output written to conftest
configure: failed program was:
#line 1955 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:1990: checking for main in -lnsl
configure:2005: gcc -o conftest -W -Wall -O   conftest.c -lnsl  -lsocket  1>&5
configure:2033: checking for socket in -linet
configure:2052: gcc -o conftest -W -Wall -O   conftest.c -linet  -lnsl -lsocket  1>&5
ld: fatal: library -linet: not found
ld: fatal: File processing errors.  No output written to conftest
configure: failed program was:
#line 2041 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char socket();

int main() {
socket()
; return 0; }
configure:2080: checking for main in -lgen
configure:2095: gcc -o conftest -W -Wall -O   conftest.c -lgen  -lnsl -lsocket  1>&5
configure:2127: checking for sigset in -lV3
configure:2146: gcc -o conftest -W -Wall -O   conftest.c -lV3  -lgen -lnsl -lsocket  1>&5
ld: fatal: library -lV3: not found
ld: fatal: File processing errors.  No output written to conftest
configure: failed program was:
#line 2135 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char sigset();

int main() {
sigset()
; return 0; }
configure:2179: checking for kerberosIV/krb.h
configure:2189: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2185: kerberosIV/krb.h: No such file or directory
configure: failed program was:
#line 2184 "configure"
#include "confdefs.h"
#include <kerberosIV/krb.h>
configure:2179: checking for kerberosIV/des.h
configure:2189: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2185: kerberosIV/des.h: No such file or directory
configure: failed program was:
#line 2184 "configure"
#include "confdefs.h"
#include <kerberosIV/des.h>
configure:2273: checking for krb.h
configure:2283: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2279: krb.h: No such file or directory
configure: failed program was:
#line 2278 "configure"
#include "confdefs.h"
#include <krb.h>
configure:2273: checking for des.h
configure:2283: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2279: des.h: No such file or directory
configure: failed program was:
#line 2278 "configure"
#include "confdefs.h"
#include <des.h>
configure:2370: checking for pthread.h
configure:2380: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2370: checking for sched.h
configure:2380: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2409: checking POSIX thread version
configure:2490: checking for LinuxThreads
configure:2516: checking for pthread_create
configure:2544: gcc -o conftest -W -Wall -O   conftest.c -lgen -lnsl -lsocket  1>&5
Undefined			first referenced
 symbol  			    in file
pthread_create                      /var/tmp/cca003Z61.o
ld: fatal: Symbol referencing errors. No output written to conftest
configure: failed program was:
#line 2521 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char pthread_create(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char pthread_create();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_pthread_create) || defined (__stub___pthread_create)
choke me
#else
pthread_create();
#endif

; return 0; }
configure:2566: checking for pthread_create with -pthread
configure:2584: gcc -o conftest -W -Wall -O   conftest.c -pthread -lgen -lnsl -lsocket  1>&5
gcc: unrecognized option `-pthread'
Undefined			first referenced
 symbol  			    in file
pthread_create                      /var/tmp/cca003ZJ1.o
ld: fatal: Symbol referencing errors. No output written to conftest
configure: failed program was:
#line 2574 "configure"
#include "confdefs.h"
#include <pthread.h>
int main() {

					pthread_create((pthread_t*) 0,
						(pthread_attr_t*) 0, 0, 0);
					
; return 0; }
configure:2609: checking for pthread_create in -lpthread
configure:2628: gcc -o conftest -W -Wall -O   conftest.c -lpthread  -lgen -lnsl -lsocket  1>&5
configure:2767: checking for sched_yield
configure:2795: gcc -o conftest -W -Wall -O   conftest.c  -lpthread -lgen -lnsl -lsocket  1>&5
Undefined			first referenced
 symbol  			    in file
sched_yield                         /var/tmp/cca003Zi1.o
ld: fatal: Symbol referencing errors. No output written to conftest
configure: failed program was:
#line 2772 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char sched_yield(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char sched_yield();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
choke me
#else
sched_yield();
#endif

; return 0; }
configure:2767: checking for pthread_yield
configure:2795: gcc -o conftest -W -Wall -O   conftest.c  -lpthread -lgen -lnsl -lsocket  1>&5
Undefined			first referenced
 symbol  			    in file
pthread_yield                       /var/tmp/cca003Zv1.o
ld: fatal: Symbol referencing errors. No output written to conftest
configure: failed program was:
#line 2772 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char pthread_yield(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char pthread_yield();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_pthread_yield) || defined (__stub___pthread_yield)
choke me
#else
pthread_yield();
#endif

; return 0; }