portability questions

Mihai Surdeanu mihai at seas.smu.edu
Mon Jan 11 10:54:41 PST 1999


On 10 Jan 1999, Alexandre Oliva wrote:

> Mihai Surdeanu <mihai at seas.smu.edu> wrote:
> 
> >> checking for X... ./configure: conftestdir: does not exist
> 
> >> "conftestdir" is there. I used today's snapshot. Any help would be
> >> appreciated.
> 
> This is part of the AC_PATH_XTRA autoconf macro.  I don't understand
> why it's breaking on you.  Can you get more details, maybe from
> config.log?

I'm attaching the config.log file to this message. Not that it does much
good. There is no error message regarding that "missing" dir.
Another weird thing: tar fails for SOME files when untaring the snapshot
if I'm using the SunOS and works fine if I'm using an alpha machine. The
directory where I installed kaffe is NFS mounted by both machines.
These 2 observations made me believe that this might be a NFS problem.
Anybody has a better idea? Our sysadmin seems as puzzled as I am.

Thanks,
Mihai Surdeanu

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

configure:582: checking for a BSD compatible install
configure:635: checking whether build environment is sane
configure:692: checking whether make sets ${MAKE}
configure:738: checking for working aclocal
configure:751: checking for working autoconf
configure:764: checking for working automake
configure:777: checking for working autoheader
configure:790: checking for working makeinfo
configure:808: checking aclocal version
configure:817: checking autoconf version
configure:826: checking automake version
configure:835: checking autoheader version
configure:862: checking for gcc
configure:975: checking whether the C compiler (gcc  ) works
configure:991: gcc -o conftest    conftest.c  1>&5
configure:1017: checking whether the C compiler (gcc  ) is a cross-compiler
configure:1022: checking whether we are using GNU C
configure:1031: gcc -E conftest.c
configure:1050: checking whether gcc accepts -g
configure:1093: checking host system type
configure:1114: checking for cygwin32 environment
configure:1126: gcc -c -g -O2 -Wall -Wstrict-prototypes  conftest.c 1>&5
configure:1121: warning: function declaration isn't a prototype
configure: In function `main':
configure:1122: `__CYGWIN32__' undeclared (first use in this function)
configure:1122: (Each undeclared identifier is reported only once
configure:1122: for each function it appears in.)
configure: failed program was:
#line 1119 "configure"
#include "confdefs.h"

int main() {
return __CYGWIN32__;
; return 0; }
configure:1143: checking for mingw32 environment
configure:1155: gcc -c -g -O2 -Wall -Wstrict-prototypes  conftest.c 1>&5
configure:1150: warning: function declaration isn't a prototype
configure: In function `main':
configure:1151: `__MINGW32__' undeclared (first use in this function)
configure:1151: (Each undeclared identifier is reported only once
configure:1151: for each function it appears in.)
configure: failed program was:
#line 1148 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
configure:1174: checking for executable suffix
configure:1184: gcc -o conftest -g -O2 -Wall -Wstrict-prototypes   conftest.c  1>&5
conftest.c:1: warning: function declaration isn't a prototype
configure:1256: checking build system type
configure:1276: checking for ranlib
configure:1315: checking for ld used by GCC
configure:1408: checking if the linker (/usr/local/Gnu/lib/gcc-lib/alphaev5-dec-osf4.0d/2.8.1/ld) is GNU ld
configure:1424: checking for BSD-compatible nm
configure:1460: checking command to parse /usr/ucb/nm -B output
configure:1524: gcc -c -g -O2 -Wall -Wstrict-prototypes  conftest.c 1>&5
conftest.c:5: warning: function declaration isn't a prototype
conftest.c:9: warning: function declaration isn't a prototype
conftest.c: In function `main':
conftest.c:9: warning: statement with no effect
configure:1528: /usr/ucb/nm -B conftest.o | sed -n -e 's/^.* [BCDEGRSTU] \([_A-Za-z][_A-Za-z0-9]*\)$/\1 \1/p' > conftest.nm
configure:1586: gcc -o conftest -g -O2 -Wall -Wstrict-prototypes   conftest.c conftestm.o 1>&5
conftest.c:6: warning: `main' is usually a function
configure:1632: checking for _ prefix in compiled symbols
configure:1670: checking whether ln -s works
ltconfig:552: checking for object suffix
ltconfig:553: gcc -c -g -O2 -Wall -Wstrict-prototypes  conftest.c 1>&5
ltconfig:709: checking if gcc supports -c -o file.o
ltconfig:710: gcc -c -g -O2 -Wall -Wstrict-prototypes -c -o conftest2.o  conftest.c 1>&5
ltconfig:737: checking if gcc supports -c -o file.lo
ltconfig:738: gcc -c -g -O2 -Wall -Wstrict-prototypes -c -o conftest.lo  conftest.c 1>&5
ltconfig:789: checking if gcc supports -fno-rtti -fno-exceptions
ltconfig:790: gcc -c -g -O2 -Wall -Wstrict-prototypes -fno-rtti -fno-exceptions -c conftest.c  conftest.c 1>&5
ltconfig:833: checking if gcc static flag -static works
ltconfig:834: gcc -o conftest -g -O2 -Wall -Wstrict-prototypes   -static conftest.c  1>&5
conftest.c:1: warning: return-type defaults to `int'
conftest.c:1: warning: function declaration isn't a prototype
ltconfig:1413: checking if global_symbol_pipe works
ltconfig:1414: gcc -c -g -O2 -Wall -Wstrict-prototypes  conftest.c 1>&5
conftest.c:5: warning: function declaration isn't a prototype
conftest.c:9: warning: return-type defaults to `int'
conftest.c:9: warning: function declaration isn't a prototype
ltconfig:1417: eval "/usr/ucb/nm -B conftest.o | sed -n -e 's/^.* [BCDEGRSTU] \([_A-Za-z][_A-Za-z0-9]*\)$/\1 \1/p' > conftest.nm"
ltconfig:1475: gcc -o conftest -g -O2 -Wall -Wstrict-prototypes -fno-builtin -fno-rtti -fno-exceptions   conftest.c conftestm.o 1>&5
conftest.c:6: warning: `main' is usually a function
configure:2054: checking execution engine
configure:2074: checking for getpagesize
configure:2102: gcc -o conftest -g -O2 -Wall -Wstrict-prototypes   conftest.c  1>&5
configure:2086: warning: function declaration isn't a prototype
configure:2088: warning: function declaration isn't a prototype
configure:2135: checking sun compatibility mode
configure:2158: checking thread system
configure:2173: checking for trampolines
configure:2227: checking for a BSD compatible install
configure:2280: checking whether make sets ${MAKE}
configure:2309: checking for jikes
configure:2369: checking size of short
configure:2388: gcc -o conftest -g -O2 -Wall -Wstrict-prototypes   conftest.c  1>&5
configure:2380: warning: return-type defaults to `int'
configure:2380: warning: function declaration isn't a prototype
configure: In function `main':
configure:2383: warning: int format, different type arg (arg 3)
configure:2408: checking size of int
configure:2427: gcc -o conftest -g -O2 -Wall -Wstrict-prototypes   conftest.c  1>&5
configure:2419: warning: return-type defaults to `int'
configure:2419: warning: function declaration isn't a prototype
configure: In function `main':
configure:2422: warning: int format, different type arg (arg 3)
configure:2447: checking size of long
configure:2466: gcc -o conftest -g -O2 -Wall -Wstrict-prototypes   conftest.c  1>&5
configure:2458: warning: return-type defaults to `int'
configure:2458: warning: function declaration isn't a prototype
configure: In function `main':
configure:2461: warning: int format, different type arg (arg 3)
configure:2486: checking size of long long
configure:2505: gcc -o conftest -g -O2 -Wall -Wstrict-prototypes   conftest.c  1>&5
configure:2497: warning: return-type defaults to `int'
configure:2497: warning: function declaration isn't a prototype
configure: In function `main':
configure:2500: warning: int format, different type arg (arg 3)
configure:2525: checking size of __int64
configure:2544: gcc -o conftest -g -O2 -Wall -Wstrict-prototypes   conftest.c  1>&5
configure:2536: warning: return-type defaults to `int'
configure:2536: warning: function declaration isn't a prototype
configure: In function `main':
configure:2539: `__int64' undeclared (first use in this function)
configure:2539: (Each undeclared identifier is reported only once
configure:2539: for each function it appears in.)
configure:2539: warning: int format, different type arg (arg 3)
configure: failed program was:
#line 2533 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) exit(1);
  fprintf(f, "%d\n", sizeof(__int64));
  exit(0);
}
configure:2564: checking size of void*
configure:2583: gcc -o conftest -g -O2 -Wall -Wstrict-prototypes   conftest.c  1>&5
configure:2575: warning: return-type defaults to `int'
configure:2575: warning: function declaration isn't a prototype
configure: In function `main':
configure:2578: warning: int format, different type arg (arg 3)
configure:2605: checking alignment of void*
configure:2623: gcc -o conftest -g -O2 -Wall -Wstrict-prototypes   conftest.c  1>&5
configure:2615: warning: return-type defaults to `int'
configure:2615: warning: function declaration isn't a prototype
configure: In function `main':
configure:2619: warning: int format, different type arg (arg 3)
configure:2645: checking return type of signal handlers
configure:2667: gcc -c -g -O2 -Wall -Wstrict-prototypes  conftest.c 1>&5
configure:2659: warning: function declaration isn't a prototype
configure:2659: warning: function declaration isn't a prototype
configure:2662: warning: function declaration isn't a prototype
configure: In function `main':
configure:2663: warning: unused variable `i'
configure:2686: checking how to run the C preprocessor
configure:2707: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2766: checking for ANSI C header files
configure:2779: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2846: gcc -o conftest -g -O2 -Wall -Wstrict-prototypes   conftest.c  1>&5
configure:2840: warning: function declaration isn't a prototype
configure:2870: checking for size_t
configure:2903: checking for ssize_t
configure:2942: checking for printf in -lc
configure:2961: gcc -o conftest -g -O2 -Wall -Wstrict-prototypes   conftest.c -lc   1>&5
configure:2954: warning: function declaration isn't a prototype
configure:2956: warning: function declaration isn't a prototype
configure:2989: checking for _mwvalidcheckl in -lmw
configure:3008: gcc -o conftest -g -O2 -Wall -Wstrict-prototypes   conftest.c -lmw  -lc  1>&5
configure:3001: warning: function declaration isn't a prototype
configure:3003: warning: function declaration isn't a prototype
collect2: ld returned 1 exit status
/usr/ucb/ld:
Can't locate file for: -lmw
configure: failed program was:
#line 2997 "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 _mwvalidcheckl();

int main() {
_mwvalidcheckl()
; return 0; }
configure:3036: checking for sin in -lm
configure:3055: gcc -o conftest -g -O2 -Wall -Wstrict-prototypes   conftest.c -lm  -lc  1>&5
configure:3048: warning: function declaration isn't a prototype
configure:3048: warning: conflicting types for built-in function `sin'
configure:3050: warning: function declaration isn't a prototype
configure:3144: checking for gethostname
configure:3172: gcc -o conftest -g -O2 -Wall -Wstrict-prototypes   conftest.c -lm -lc  1>&5
configure:3156: warning: function declaration isn't a prototype
configure:3158: warning: function declaration isn't a prototype
configure:3246: checking for gethostbyname
configure:3274: gcc -o conftest -g -O2 -Wall -Wstrict-prototypes   conftest.c -lm -lc  1>&5
configure:3258: warning: function declaration isn't a prototype
configure:3260: warning: function declaration isn't a prototype
configure:3348: checking for connect
configure:3376: gcc -o conftest -g -O2 -Wall -Wstrict-prototypes   conftest.c -lm -lc  1>&5
configure:3360: warning: function declaration isn't a prototype
configure:3362: warning: function declaration isn't a prototype
configure:3454: checking for deflate in -lz
configure:3473: gcc -o conftest -g -O2 -Wall -Wstrict-prototypes   conftest.c -lz    1>&5
configure:3466: warning: function declaration isn't a prototype
configure:3468: warning: function declaration isn't a prototype
configure:3508: checking for mpz_add in -lgmp
configure:3527: gcc -o conftest -g -O2 -Wall -Wstrict-prototypes   conftest.c -lgmp    1>&5
configure:3520: warning: function declaration isn't a prototype
configure:3522: warning: function declaration isn't a prototype
collect2: ld returned 1 exit status
/usr/ucb/ld:
Can't locate file for: -lgmp
configure: failed program was:
#line 3516 "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 mpz_add();

int main() {
mpz_add()
; return 0; }
configure:3564: checking for X


More information about the kaffe mailing list