bug-libtool
[Top][All Lists]
Advanced

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

Cannot build libtool on sparc with Solaris 2.10


From: Janus Nielsen
Subject: Cannot build libtool on sparc with Solaris 2.10
Date: Tue, 02 Oct 2007 16:42:21 -0500
User-agent: Thunderbird 1.5.0.8 (X11/20061110)

Hi

I am trying to compile libtool on a sparc with Solaris 2.10. I get the following error when running make:

Making all in .
CONFIG_FILES=libtoolize CONFIG_HEADERS= /bin/bash ./config.status
config.status: creating libtoolize
config.status: executing depfiles commands
chmod +x libtoolize
Making all in libltdl
make  all-am
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -g -O2 -c -o ltdl.lo ltdl.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -g -O2 -c ltdl.c  -fPIC -DPIC -o .libs/ltdl.o
In file included from /usr/dist/local/share/tom/gnu/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/time.h:90,
                from /usr/include/sys/time.h:418,
                from /usr/include/sys/select.h:23,
from /usr/dist/local/share/tom/gnu/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/sys/types.h:278,
                from ltdl.h:31,
                from ltdl.c:129:
/usr/include/sys/siginfo.h:79: parse error before `pthread_attr_t'
/usr/include/sys/siginfo.h:79: warning: no semicolon at end of struct or union
/usr/include/sys/siginfo.h:81: parse error before `}'
In file included from /usr/dist/local/share/tom/gnu/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/time.h:90,
                from /usr/include/sys/time.h:418,
                from /usr/include/sys/select.h:23,
from /usr/dist/local/share/tom/gnu/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/sys/types.h:278,
                from ltdl.h:31,
                from ltdl.c:129:
/usr/include/sys/siginfo.h:259: parse error before `ctid_t'
/usr/include/sys/siginfo.h:259: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:259: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:260: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:261: warning: data definition has no type or storage class
/usr/include/sys/siginfo.h:290: parse error before `int32_t'
/usr/include/sys/siginfo.h:290: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:291: warning: data definition has no type or storage class
/usr/include/sys/siginfo.h:292: parse error before `}'
/usr/include/sys/siginfo.h:292: warning: data definition has no type or storage class
/usr/include/sys/siginfo.h:294: parse error before `}'
/usr/include/sys/siginfo.h:294: warning: data definition has no type or storage class
/usr/include/sys/siginfo.h:390: parse error before `ctid_t'
/usr/include/sys/siginfo.h:390: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:390: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:391: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:392: warning: data definition has no type or storage class
/usr/include/sys/siginfo.h:398: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: previous declaration of `__prof'
/usr/include/sys/siginfo.h:423: parse error before `int32_t'
/usr/include/sys/siginfo.h:423: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:424: warning: data definition has no type or storage class
/usr/include/sys/siginfo.h:426: parse error before `}'
/usr/include/sys/siginfo.h:426: warning: data definition has no type or storage class
/usr/include/sys/siginfo.h:428: parse error before `}'
/usr/include/sys/siginfo.h:428: warning: data definition has no type or storage class
/usr/include/sys/siginfo.h:432: parse error before `k_siginfo_t'
/usr/include/sys/siginfo.h:432: warning: no semicolon at end of struct or union
/usr/include/sys/siginfo.h:437: parse error before `}'
/usr/include/sys/siginfo.h:437: warning: data definition has no type or storage class
In file included from /usr/include/dlfcn.h:18,
                from ltdl.c:1064:
/usr/include/sys/auxv.h:137: parse error before `*'
ltdl.c:2205: warning: `struct direct' declared inside parameter list
ltdl.c:2205: warning: its scope is only this definition or declaration,
ltdl.c:2205: warning: which is probably not what you want.
ltdl.c: In function `find_handle_callback':
ltdl.c:2806: `R_OK' undeclared (first use this function)
ltdl.c:2806: (Each undeclared identifier is reported only once
ltdl.c:2806: for each function it appears in.)
ltdl.c: In function `lt_argz_insertdir':
ltdl.c:3630: argument `dp' doesn't match prototype
ltdl.c:2205: prototype declaration
ltdl.c:3643: dereferencing pointer to incomplete type
ltdl.c:3643: dereferencing pointer to incomplete type
ltdl.c:3648: dereferencing pointer to incomplete type
ltdl.c:3659: dereferencing pointer to incomplete type
ltdl.c:3668: dereferencing pointer to incomplete type
ltdl.c:3678: dereferencing pointer to incomplete type
ltdl.c: In function `list_files_by_dir':
ltdl.c:3696: `DIR' undeclared (first use this function)
ltdl.c:3696: `dirp' undeclared (first use this function)
ltdl.c:3697: parse error before `int'
ltdl.c:3709: warning: assignment makes pointer from integer without a cast
ltdl.c:3710: dereferencing pointer to incomplete type
ltdl.c:3711: warning: passing arg 4 of `lt_argz_insertdir' from incompatible pointer type
ltdl.c:3713: `errors' undeclared (first use this function)
*** Error code 1
make: Fatal error: Command failed for target `ltdl.lo'
Current working directory /home/jn216046/temp/libtool-1.5.24/libltdl
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /home/jn216046/temp/libtool-1.5.24/libltdl
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
 case $f in \
   *=* | --[!k]*);; \
   *k*) failcom='fail=yes';; \
 esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='. libltdl doc tests'; for subdir in $list; do \
 echo "Making $target in $subdir"; \
 if test "$subdir" = "."; then \
   dot_seen=yes; \
   local_target="$target-am"; \
 else \
   local_target="$target"; \
 fi; \
 (cd $subdir && make  $local_target) \
 || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
 make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'

Any suggestions?

Parameters to configure is ./configure --prefix=/home/some/path/libtool/

Result:
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... unsupported
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for a sed that does not truncate output... /usr/bin/sed
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking for grep that handles long lines and -e... /usr/sfw/bin/ggrep
checking for egrep... /usr/sfw/bin/ggrep -E
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for BSD-compatible nm... /usr/ccs/bin/nm -p
checking whether ln -s works... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking for gcj... no
checking for windres... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... no
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... no
checking dlfcn.h usability... no
checking dlfcn.h presence... yes
configure: WARNING: dlfcn.h: present but cannot be compiled
configure: WARNING: dlfcn.h:     check for missing prerequisite headers?
configure: WARNING: dlfcn.h: see the Autoconf documentation
configure: WARNING: dlfcn.h:     section "Present But Cannot Be Compiled"
configure: WARNING: dlfcn.h: proceeding with the preprocessor's result
configure: WARNING: dlfcn.h: in the future, the compiler will take precedence
configure: WARNING:     ## ---------------------------------- ##
configure: WARNING:     ## Report this to address@hidden ##
configure: WARNING:     ## ---------------------------------- ##
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking the maximum length of command line arguments... 786240
checking command to parse /usr/ccs/bin/nm -p output from gcc object... failed
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
appending configuration tag "GCJ" to libtool
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating tests/Makefile
config.status: executing depfiles commands
=== configuring in libltdl (/home/jn216046/temp/libtool-1.5.24/libltdl)
configure: running /bin/bash ./configure '--prefix=/home/jn216046/Programs/libtool/' '--enable-ltdl-install' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... unsupported
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/sfw/bin/ggrep
checking for egrep... /usr/sfw/bin/ggrep -E
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/ccs/bin/nm -p
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... no
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... no
checking dlfcn.h usability... no
checking dlfcn.h presence... yes
configure: WARNING: dlfcn.h: present but cannot be compiled
configure: WARNING: dlfcn.h:     check for missing prerequisite headers?
configure: WARNING: dlfcn.h: see the Autoconf documentation
configure: WARNING: dlfcn.h:     section "Present But Cannot Be Compiled"
configure: WARNING: dlfcn.h: proceeding with the preprocessor's result
configure: WARNING: dlfcn.h: in the future, the compiler will take precedence
configure: WARNING:     ## ---------------------------------- ##
configure: WARNING:     ## Report this to address@hidden ##
configure: WARNING:     ## ---------------------------------- ##
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 786240
checking command to parse /usr/ccs/bin/nm -p output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for dirent.h that defines DIR... no
checking for sys/ndir.h that defines DIR... no
checking for sys/dir.h that defines DIR... no
checking for ndir.h that defines DIR... no
checking for library containing opendir... none required
checking which extension is used for loadable modules... .so
checking which variable specifies run-time library path... LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib
checking for objdir... .libs
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen in -ldl... yes
checking for dlerror... yes
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking argz.h usability... no
checking argz.h presence... no
checking for argz.h... no
checking for error_t... no
checking for argz_append... no
checking for argz_create_sep... no
checking for argz_insert... no
checking for argz_next... no
checking for argz_stringify... no
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking malloc.h usability... no
checking malloc.h presence... yes
configure: WARNING: malloc.h: present but cannot be compiled
configure: WARNING: malloc.h:     check for missing prerequisite headers?
configure: WARNING: malloc.h: see the Autoconf documentation
configure: WARNING: malloc.h:     section "Present But Cannot Be Compiled"
configure: WARNING: malloc.h: proceeding with the preprocessor's result
configure: WARNING: malloc.h: in the future, the compiler will take precedence
configure: WARNING:     ## ---------------------------------- ##
configure: WARNING:     ## Report this to address@hidden ##
configure: WARNING:     ## ---------------------------------- ##
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking for stdlib.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for unistd.h... (cached) no
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking sys/dl.h usability... no
checking sys/dl.h presence... yes
configure: WARNING: sys/dl.h: present but cannot be compiled
configure: WARNING: sys/dl.h:     check for missing prerequisite headers?
configure: WARNING: sys/dl.h: see the Autoconf documentation
configure: WARNING: sys/dl.h:     section "Present But Cannot Be Compiled"
configure: WARNING: sys/dl.h: proceeding with the preprocessor's result
configure: WARNING: sys/dl.h: in the future, the compiler will take precedence
configure: WARNING:     ## ---------------------------------- ##
configure: WARNING:     ## Report this to address@hidden ##
configure: WARNING:     ## ---------------------------------- ##
checking for sys/dl.h... yes
checking dld.h usability... no
checking dld.h presence... no
checking for dld.h... no
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking for string.h... (cached) yes
checking for strchr... yes
checking for strrchr... yes
checking for memcpy... yes
checking for memmove... yes
checking for strcmp... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
./configure: eval: line 21545: unexpected EOF while looking for matching `"'
./configure: eval: line 21546: syntax error: unexpected end of file
./configure: eval: line 21545: unexpected EOF while looking for matching `"'
./configure: eval: line 21546: syntax error: unexpected end of file
:"/home/jn216046/temp/libtool-1.5.24" 60 $ /usr/ccs/bin/ld -V

Running "config.guess" returns: sparc-sun-solaris2.10

Regards
Janus




reply via email to

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