bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guile 1.4 compilation error with gcc4


From: Aaron Voisine
Subject: Re: guile 1.4 compilation error with gcc4
Date: Sat, 20 Aug 2005 14:38:16 -0700

alist.x is generated (I deleted it and reran make just to be sure) The
offending lines look like this:

 scm_make_gsubr (s_ ## scm_acons,  3,  0,  0, (SCM (*)()) scm_acons); 
 scm_make_gsubr (s_ ## scm_sloppy_assq,  2,  0,  0, (SCM (*)())
scm_sloppy_assq);
 scm_make_gsubr (s_ ## scm_sloppy_assv,  2,  0,  0, (SCM (*)())
scm_sloppy_assv);

configure options as follows:

export LIBRARY_PATH=/sw/lib
export CPPFLAGS=-no-cpp-precomp
export CPATH=/sw/include
./configure --prefix=/sw --infodir=/sw/share/info

and the configure output:

creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... no
checking how to run the C preprocessor... gcc -E -traditional-cpp
checking for AIX... no
checking for POSIXized ISC... no
checking for minix/config.h... no
checking for gcc option to accept ANSI C... none needed
checking host system type... i386-apple-darwin8.1.0
checking build system type... i386-apple-darwin8.1.0
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc supports -c -o file.o... no
checking if we can lock with hard links... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... none
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -p output... ok
checking how to hardcode library paths into programs... unsupported
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... darwin8.1.0 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
checking for dlopen in -ldl... yes
checking for dlfcn.h... no
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking for working const... yes
checking for inline... inline
checking size of int... 4
checking size of long... 4
checking for long longs... yes
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for io.h... no
checking for libc.h... yes
checking for limits.h... yes
checking for malloc.h... no
checking for memory.h... yes
checking for string.h... yes
checking for regex.h... yes
checking for rxposix.h... no
checking for rx/rxposix.h... no
checking for sys/ioctl.h... yes
checking for sys/select.h... yes
checking for sys/time.h... yes
checking for sys/timeb.h... yes
checking for sys/times.h... yes
checking for sys/types.h... yes
checking for sys/utime.h... no
checking for time.h... yes
checking for unistd.h... yes
checking for utime.h... yes
checking for libc.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether libc.h and unistd.h can be included together... yes
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking return type of signal handlers... void
checking for mode_t... yes
checking for main in -lm... yes
checking for gethostbyname... yes
checking for connect... yes
checking for ctermid... yes
checking for ftime... yes
checking for fchown... yes
checking for getcwd... yes
checking for geteuid... yes
checking for gettimeofday... yes
checking for lstat... yes
checking for mkdir... yes
checking for mknod... yes
checking for nice... yes
checking for readlink... yes
checking for rename... yes
checking for rmdir... yes
checking for select... yes
checking for setegid... yes
checking for seteuid... yes
checking for setlocale... yes
checking for setpgid... yes
checking for setsid... yes
checking for sigaction... yes
checking for siginterrupt... yes
checking for strftime... yes
checking for strptime... yes
checking for symlink... yes
checking for sync... yes
checking for tcgetpgrp... yes
checking for tcsetpgrp... yes
checking for times... yes
checking for uname... yes
checking for waitpid... yes
checking for bzero... yes
checking for strdup... yes
checking for system... yes
checking for usleep... yes
checking for atexit... yes
checking for on_exit... no
checking for strptime declaration... yes
checking for bzero declaration... yes
checking for sleep declaration... yes
checking for usleep declaration... yes
checking return type of usleep... int
checking for sys/un.h... yes
checking for socketpair... yes
checking for getgroups... yes
checking for setpwent... yes
checking for pause... yes
checking for tzset... yes
checking for sethostent... yes
checking for gethostent... yes
checking for endhostent... yes
checking for setnetent... yes
checking for getnetent... yes
checking for endnetent... yes
checking for setprotoent... yes
checking for getprotoent... yes
checking for endprotoent... yes
checking for setservent... yes
checking for getservent... yes
checking for endservent... yes
checking for getnetbyaddr... yes
checking for getnetbyname... yes
checking for inet_lnaof... yes
checking for inet_makeaddr... yes
checking for inet_netof... yes
checking for hstrerror... yes
checking whether localtime caches TZ... no
checking for restartable system calls... yes
checking for regcomp... yes
checking for inet_aton... yes
checking for putenv... yes
checking for strerror... yes
checking for memmove... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for st_rdev in struct stat... yes
checking for st_blksize in struct stat... yes
checking for st_blocks in struct stat... yes
checking for S_ISLNK in sys/stat.h... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... yes
checking whether we need POSIX to get struct utimbuf... no
checking whether floats fit in longs... yes
checking for struct linger... yes
checking for struct timespec... yes
checking whether to support threads... no
checking for mawk... no
checking for gawk... no
checking for nawk... no
checking for awk... awk
updating cache ./config.cache
creating ./config.status
creating Makefile
creating libguile/Makefile
creating libguile/guile-snarf
creating libguile/guile-doc-snarf
creating libguile/guile-func-name-check
creating libguile/guile-snarf.awk
creating libguile/versiondat.h
creating ice-9/Makefile
creating qt/Makefile
creating qt/qt.h
creating qt/md/Makefile
creating qt/time/Makefile
creating guile-config/Makefile
creating doc/Makefile
creating libguile/scmconfig.h
configuring in guile-readline
running /bin/sh ./configure  --prefix=/sw --infodir=/sw/share/info
--enable-ltdl-convenience --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) no
checking for gcc option to accept ANSI C... (cached) none needed
checking host system type... i386-apple-darwin8.1.0
checking build system type... i386-apple-darwin8.1.0
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) no
checking for BSD-compatible nm... (cached) /usr/bin/nm -p
checking whether ln -s works... (cached) yes
loading cache .././config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) no
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc supports -c -o file.o... no
checking if we can lock with hard links... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... none
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -p output... ok
checking how to hardcode library paths into programs... unsupported
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... darwin8.1.0 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache .././config.cache
checking for tgoto in -lncurses... yes
checking for main in -lreadline... yes
checking for siginterrupt... (cached) yes
checking for rl_clear_signals... yes
checking for rl_cleanup_after_signal... yes
checking for rl_pre_input_hook... yes
checking if readline clears SA_RESTART flag for SIGWINCH... yes
checking for rl_getc_function pointer in readline... yes
checking for strdup... (cached) yes
updating cache .././config.cache
creating ./config.status
creating Makefile
configuring in libltdl
running /bin/sh ./configure  --prefix=/sw --infodir=/sw/share/info
--enable-ltdl-convenience --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) no
checking for working const... (cached) yes
checking for inline... (cached) inline
checking host system type... i386-apple-darwin8.1.0
checking build system type... i386-apple-darwin8.1.0
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) no
checking for BSD-compatible nm... (cached) /usr/bin/nm -p
checking whether ln -s works... (cached) yes
loading cache .././config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) no
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc supports -c -o file.o... no
checking if we can lock with hard links... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... none
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -p output... ok
checking how to hardcode library paths into programs... unsupported
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... darwin8.1.0 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache .././config.cache
checking which extension is used for shared libraries... 
checking which variable specifies run-time library path... DYLD_LIBRARY_PATH
checking for objdir... .libs
checking how to run the C preprocessor... (cached) gcc -E -traditional-cpp
checking for ANSI C header files... (cached) yes
checking for malloc.h... (cached) no
checking for memory.h... (cached) yes
checking for stdlib.h... yes
checking for stdio.h... yes
checking for ctype.h... yes
checking for dlfcn.h... (cached) no
checking for dl.h... no
checking for dld.h... no
checking for string.h... (cached) yes
checking for strchr... yes
checking for strrchr... yes
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for dlopen in -ldl... (cached) yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dld_link in -ldld... no
checking for dlerror... yes
checking command to parse /usr/bin/nm -p output... yes
checking for _ prefix in compiled symbols... (cached) yes
checking whether we have to add an underscore for dlsym... no
updating cache .././config.cache
creating ./config.status
creating Makefile
creating config.h

l8r
Aaron

On 8/20/05, Thien-Thi Nguyen <address@hidden> wrote:
> could you post the first few lines of alist.x?  this file is generated
> at compile-time, and should not be in the distribution tarball -- if it
> is, that's probably (another) methodology bug.
> 
> please also post the output of running the configure script, including
> some mention of what options you passed to it, etc.
> 
> thi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]