aspell-user
[Top][All Lists]
Advanced

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

[Aspell-user] aspell compile fails on sparc solaris 9


From: Don Dealy II
Subject: [Aspell-user] aspell compile fails on sparc solaris 9
Date: Sun, 06 Jun 2004 11:34:18 -0700 (PDT)
User-agent: IMP/PHP IMAP webmail program 2.2.4

I am building a new mail server (Sparc Solaris 9) using sendmail, horde, etc.  I
have had no problem installing packages and compiling per the instructions with
all the various software products - until I got to aspell.  

Here is the fatal error I am getting:
gcc -g -O2 -o mk-dirs_h mk-dirs_h.o 
Undefined                       first referenced
 symbol                             in file
ostream::operator<<(char const *)   mk-dirs_h.o
cout                                mk-dirs_h.o
ld: fatal: Symbol referencing errors. No output written to mk-dirs_h

I have searched the net looking for solutions, but nothing seems to be making
any difference.  I'm not a Unix developer, so I don't have a bag of tricks to
dig into for solutions.

Any help is appreciated.  I've pasted my session output below, along with the
environment at the tail end.

--Don


# cd aspell-0.50.5
# ./configure --disable-curses && make
checking for a BSD-compatible install... /opt/sfw/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
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 style of include used by make... GNU
checking dependency style of gcc... gcc
checking build system type... sparc-sun-solaris2.9
checking host system type... sparc-sun-solaris2.9
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc
checking for a sed that does not truncate output... /opt/sfw/bin/gsed
checking for egrep... egrep
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 recognise 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... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... gcc -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 262144
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 static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
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.9 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... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries...
yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries...
yes
checking dynamic linker characteristics... solaris2.9 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/ccs/bin/ld) supports shared libraries...
yes
checking dynamic linker characteristics... solaris2.9 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if file locking and truncating is supported... yes
checking if mmap and friends is supported... yes
checking if file ino is supported... yes
checking if posix locals are supported... yes
checking if posix termios is supported... yes
checking for STL rel_ops pollution... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating common/Makefile
config.status: creating lib/Makefile
config.status: creating data/Makefile
config.status: creating auto/Makefile
config.status: creating modules/Makefile
config.status: creating modules/filter/Makefile
config.status: creating modules/tokenizer/Makefile
config.status: creating modules/speller/Makefile
config.status: creating modules/speller/default/Makefile
config.status: creating interfaces/Makefile
config.status: creating interfaces/cc/Makefile
config.status: creating scripts/Makefile
config.status: creating examples/Makefile
config.status: creating prog/Makefile
config.status: creating manual/Makefile
config.status: creating manual/man-html/Makefile
config.status: creating manual/man-text/Makefile
config.status: creating manual/dev-html/Makefile
config.status: creating manual/dev-text/Makefile
config.status: creating common/settings.h
config.status: executing depfiles commands
Making all in auto
Making all in common
make  all-am
source='string.cpp' object='string.lo' libtool=yes \
depfile='.deps/string.Plo' tmpdepfile='.deps/string.TPlo' \
depmode=gcc /bin/bash ../depcomp \
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.      -g -O2
-c -o string.lo string.cpp
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c string.cpp -Wp,-MD,.deps/string.TPlo 
-fPIC -DPIC -o .libs/string.o
source='getdata.cpp' object='getdata.lo' libtool=yes \
depfile='.deps/getdata.Plo' tmpdepfile='.deps/getdata.TPlo' \
depmode=gcc /bin/bash ../depcomp \
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.      -g -O2
-c -o getdata.lo getdata.cpp
 gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c getdata.cpp
-Wp,-MD,.deps/getdata.TPlo  -fPIC -DPIC -o .libs/getdata.o
source='itemize.cpp' object='itemize.lo' libtool=yes \
depfile='.deps/itemize.Plo' tmpdepfile='.deps/itemize.TPlo' \
depmode=gcc /bin/bash ../depcomp \
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.      -g -O2
-c -o itemize.lo itemize.cpp
 gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c itemize.cpp
-Wp,-MD,.deps/itemize.TPlo  -fPIC -DPIC -o .libs/itemize.o
source='file_util.cpp' object='file_util.lo' libtool=yes \
depfile='.deps/file_util.Plo' tmpdepfile='.deps/file_util.TPlo' \
depmode=gcc /bin/bash ../depcomp \
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.      -g -O2
-c -o file_util.lo file_util.cpp
 gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c file_util.cpp
-Wp,-MD,.deps/file_util.TPlo  -fPIC -DPIC -o .libs/file_util.o
source='string_buffer.cpp' object='string_buffer.lo' libtool=yes \
depfile='.deps/string_buffer.Plo' tmpdepfile='.deps/string_buffer.TPlo' \
depmode=gcc /bin/bash ../depcomp \
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.      -g -O2
-c -o string_buffer.lo string_buffer.cpp
 gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c string_buffer.cpp
-Wp,-MD,.deps/string_buffer.TPlo  -fPIC -DPIC -o .libs/string_buffer.o
source='string_map.cpp' object='string_map.lo' libtool=yes \
depfile='.deps/string_map.Plo' tmpdepfile='.deps/string_map.TPlo' \
depmode=gcc /bin/bash ../depcomp \
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.      -g -O2
-c -o string_map.lo string_map.cpp
 gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c string_map.cpp
-Wp,-MD,.deps/string_map.TPlo  -fPIC -DPIC -o .libs/string_map.o
source='string_list.cpp' object='string_list.lo' libtool=yes \
depfile='.deps/string_list.Plo' tmpdepfile='.deps/string_list.TPlo' \
depmode=gcc /bin/bash ../depcomp \
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.      -g -O2
-c -o string_list.lo string_list.cpp
 gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c string_list.cpp
-Wp,-MD,.deps/string_list.TPlo  -fPIC -DPIC -o .libs/string_list.o
source='mk-dirs_h.cpp' object='mk-dirs_h.o' libtool=no \
depfile='.deps/mk-dirs_h.Po' tmpdepfile='.deps/mk-dirs_h.TPo' \
depmode=gcc /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.      -g -O2 -c -o mk-dirs_h.o mk-dirs_h.cpp
/bin/bash ../libtool --mode=link gcc  -g -O2    -o mk-dirs_h  mk-dirs_h.o  
gcc -g -O2 -o mk-dirs_h mk-dirs_h.o 
Undefined                       first referenced
 symbol                             in file
ostream::operator<<(char const *)   mk-dirs_h.o
cout                                mk-dirs_h.o
ld: fatal: Symbol referencing errors. No output written to mk-dirs_h
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `mk-dirs_h'
Current working directory /src/aspell/aspell-0.50.5/common
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /src/aspell/aspell-0.50.5/common
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
# env
AB_CARDCATALOG=/usr/dt/share/answerbooks/en_US.ISO8859-1/ab_cardcatalog
CXX=gcc
DISPLAY=:0.0
DTAPPSEARCHPATH=//.dt/appmanager:/etc/dt/appconfig/appmanager/%L:/etc/dt/appconfig/appmanager/C:/usr/dt/appconfig/appmanager/%L:/usr/dt/appconfig/appmanager/C
DTDATABASESEARCHPATH=//.dt/types,/usr/dt/appconfig/types/%L,/usr/dt/appconfig/types/C
DTDEVROOT=
DTHELPSEARCHPATH=//.dt/help/root-sparky-0/%H://.dt/help/root-sparky-0/%H.sdl://.dt/help/root-sparky-0/%H.hv://.dt/help/%H://.dt/help/%H.sdl://.dt/help/%H.hv:/usr/dt/appconfig/help/%L/%H:/usr/dt/appconfig/help/%L/%H.sdl:/usr/dt/appconfig/help/%L/%H.hv:/usr/dt/appconfig/help/C/%H:/usr/dt/appconfig/help/C/%H.sdl:/usr/dt/appconfig/help/C/%H.hv
DTSCREENSAVERLIST=StartDtscreenSwarm StartDtscreenQix     StartDtscreenFlame
StartDtscreenHop StartDtscreenImage StartDtscreenLife     StartDtscreenRotor
StartDtscreenPyro StartDtscreenWorm StartDtscreenBlank
DTSOURCEPROFILE=true
DTUSERSESSION=root-sparky-0
DTXSERVERLOCATION=local
EDITOR=/usr/dt/bin/dtpad
HELPPATH=/usr/openwin/lib/locale:/usr/openwin/lib/help
HOME=/
LANG=en_US.ISO8859-1
LC_COLLATE=en_US.ISO8859-1
LC_CTYPE=en_US.ISO8859-1
LC_MESSAGES=C
LC_MONETARY=en_US.ISO8859-1
LC_NUMERIC=en_US.ISO8859-1
LC_TIME=en_US.ISO8859-1
LD_LIBRARY_PATH=:/usr/lib:/usr/local/ssl/lib:/usr/lib:/usr/local/ssl/lib:/usr/lib:/usr/local/ssl/lib:/usr/local/lib/sparcv9
LOGNAME=root
MAIL=/var/mail/root
MANPATH=/usr/dt/man:/usr/man:/usr/openwin/share/man:/opt/SUNWppro/man:/opt/SUNWppro/man:/opt/SUNWppro/man
OPENWINHOME=/usr/openwin
PATH=/usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/bin:/usr/ucb:/opt/SUNWppro/bin:/usr/sadm/bin:/usr/ccs/bin:/opt/sfw/bin:/usr/sfw/bin:/usr/local/bin:/usr/local/mysql/bin
PWD=/
SESSION_SVR=sparky
SHELL=/sbin/sh
TERM=dtterm
TERMINAL_EMULATOR=dtterm
TZ=US/Pacific
USER=root
WINDOWID=16252937
XFILESEARCHPATH=/usr/openwin/lib/locale/%L/%T/%N%S:/usr/openwin/lib/%T/%N%S
XMBINDDIR=/usr/dt/lib/bindings
XMICONBMSEARCHPATH=//.dt/icons/%B%M.bm://.dt/icons/%B%M.pm://.dt/icons/%B:/etc/dt/appconfig/icons/%L/%B%M.bm:/etc/dt/appconfig/icons/%L/%B%M.pm:/etc/dt/appconfig/icons/%L/%B:/etc/dt/appconfig/icons/C/%B%M.bm:/etc/dt/appconfig/icons/C/%B%M.pm:/etc/dt/appconfig/icons/C/%B:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B
XMICONSEARCHPATH=//.dt/icons/%B%M.pm://.dt/icons/%B%M.bm://.dt/icons/%B:/etc/dt/appconfig/icons/%L/%B%M.pm:/etc/dt/appconfig/icons/%L/%B%M.bm:/etc/dt/appconfig/icons/%L/%B:/etc/dt/appconfig/icons/C/%B%M.pm:/etc/dt/appconfig/icons/C/%B%M.bm:/etc/dt/appconfig/icons/C/%B:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B
_=/usr/dt/bin/dtaction
a2home=/usr/local/apache2
dtstart_sessionlogfile=/dev/null
# 




reply via email to

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