Compile Problems on Solaris 2.5 
Author Message
 Compile Problems on Solaris 2.5

I wondered if someone can tell me where I am going wrong. I am trying to
compile tcl7.4 with the utltimate goal of getting expect compiled. I
can't quite finish the make run.
I attached my make output and config info. I am using gcc 2.6.3 on
Solaris 2.5. I do not have a SUN compiler. I would appreciate an email
response since I seldom get a chance to check out news.

gcc -O -I. -I. -DHAVE_UNISTD_H=1 -Dstrtod=fixstrtod -DSTDC_HEADERS=1
-DNO_UNION_WAIT=1 -Dvfork=fork      
-DTCL_LIBRARY=\"/usr/local/lib/tcl7.4\" tclAppInit.o libtcl.a -lm -o
tclsh
tclBasic.o(.text+0xee0): undefined reference to `__builtin_va_arg_incr'
tclBasic.o(.text+0xef4): undefined reference to `__builtin_va_arg_incr'
tclUtil.o(.text+0xed8): undefined reference to `__builtin_va_arg_incr'
tclUtil.o(.text+0xee8): undefined reference to `__builtin_va_arg_incr'
tclUtil.o(.text+0xf54): undefined reference to `__builtin_va_arg_incr'
tclUtil.o(.text+0xf5c): more undefined references to
`__builtin_va_arg_incr' follow
gmake: *** [tclsh] Error 1

Thanks

[ config.log < 1K ]
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:785: warning: conflicting types for built-in function `sin'
/var/tmp/cca003cK1.o(.text+0x1c): undefined reference to `sin'
/usr/local/sparc-sun-solaris2.4/bin/ld: cannot open -lieee: No such file or directory
configure: In function `t':
configure:1945: storage size of `x' isn't known
configure: In function `t':
configure:1981: storage size of `x' isn't known
configure:1982: `DOMAIN' undeclared (first use this function)
configure:1982: (Each undeclared identifier is reported only once
configure:1982: for each function it appears in.)
configure:1983: `SING' undeclared (first use this function)
configure: In function `main':
configure:2078: warning: passing arg 2 of `signal' from incompatible pointer type
/var/tmp/cca003hS1.o(.text+0x1c): undefined reference to `BSDgettimeofday'

[ config.status 3K ]
#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# This directory was configured as follows,

#
# ./configure  --enable-gcc
#
# Compiler output produced by configure, useful for debugging
# configure, is in ./config.log if it exists.

ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]"
for ac_option
do
  case "$ac_option" in
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    echo "running ${CONFIG_SHELL-/bin/sh} ./configure  --enable-gcc --no-create --no-recursion"
    exec ${CONFIG_SHELL-/bin/sh} ./configure  --enable-gcc --no-create --no-recursion ;;
  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
    echo "./config.status generated by autoconf version 2.2"
    exit 0 ;;
  -help | --help | --hel | --he | --h)
    echo "$ac_cs_usage"; exit 0 ;;
  *) echo "$ac_cs_usage"; exit 1 ;;
  esac
done

ac_given_srcdir=.
ac_given_INSTALL="/usr/local/bin/ginstall -c"

trap 'rm -f Makefile; exit 1' 1 2 15

# Protect against being on the right side of a sed subst in config.status.


/^[     ]*VPATH[        ]*=[^:]*$/d

















CEOF

CONFIG_FILES=${CONFIG_FILES-"Makefile"}
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  # Support "outfile[:infile]", defaulting infile="outfile.in".
  case "$ac_file" in
  *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  *) ac_file_in="${ac_file}.in" ;;
  esac

  # Adjust relative srcdir, etc. for subdirectories.

  # Remove last slash and all that follows it.  Not all systems have dirname.
  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
    # The file is in a subdirectory.
    test ! -d "$ac_dir" && mkdir "$ac_dir"
    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
    # A "../" for each directory in $ac_dir_suffix.
    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  else
    ac_dir_suffix= ac_dots=
  fi

  case "$ac_given_srcdir" in
  .)  srcdir=.
      if test -z "$ac_dots"; then top_srcdir=.
      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  *) # Relative path.
    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
    top_srcdir="$ac_dots$ac_given_srcdir" ;;
  esac

  case "$ac_given_INSTALL" in
  [/$]*) INSTALL="$ac_given_INSTALL" ;;
  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  esac
  echo creating "$ac_file"
  rm -f "$ac_file"
  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  case "$ac_file" in
  *Makefile*) ac_comsub="1i\\
# $configure_input" ;;
  *) ac_comsub= ;;
  esac
  sed -e "$ac_comsub




" -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
fi; done
rm -f conftest.subs

exit 0

[ make.text < 1K ]
gcc -O -I. -I. -DHAVE_UNISTD_H=1 -Dstrtod=fixstrtod -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -Dvfork=fork      -DTCL_LIBRARY=\"/usr/local/lib/tcl7.4\" tclAppInit.o libtcl.a -lm -o tclsh
tclBasic.o(.text+0xee0): undefined reference to `__builtin_va_arg_incr'
tclBasic.o(.text+0xef4): undefined reference to `__builtin_va_arg_incr'
tclUtil.o(.text+0xed8): undefined reference to `__builtin_va_arg_incr'
tclUtil.o(.text+0xee8): undefined reference to `__builtin_va_arg_incr'
tclUtil.o(.text+0xf54): undefined reference to `__builtin_va_arg_incr'
tclUtil.o(.text+0xf5c): more undefined references to `__builtin_va_arg_incr' follow
gmake: *** [tclsh] Error 1



Tue, 24 Nov 1998 03:00:00 GMT  
 Compile Problems on Solaris 2.5

The vararg problem is one that I have seen in the past when attempting
to mix code compiled with gcc and with any other c compiler, though to be
honest it was typically the other way around (trying to link in a gcc
library but compiling with Sun's unbundled compiler, for instance).
--

:s <URL:http://www.teraform.com/%7Elvirden/> <*> O- "We are all Kosh."
:s Unless explicitly stated to the contrary, nothing in this posting should
:s be construed as representing my employer's opinions.



Mon, 30 Nov 1998 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Compile Problem in Sun Solaris 2.5

2. Compiling Fortran on Solaris 2.5 for 2.4

3. Compiling Python threads under Solaris 2.5

4. Compiling gcl-2.2 on solaris 2.5 (aka sunos 5.5)

5. compiling tix 4.1.0 under Solaris 2.5

6. Compiling on Solaris 2.5 with CenterLine C++

7. Can't compile on Solaris 2.5

8. compiling tclX on Solaris 2.5

9. compile on Solaris 2.5

10. Troubles compiling Tcl 7.5b1 under Solaris 2.5

11. Help: problems in building Python1.3 on Sun Sparc with Solaris 2.5

12. CMU CL 17f Problems on Solaris 2.5

 

 
Powered by phpBB® Forum Software