You are not logged in.

#1 2007-08-23 22:10:40

MetalRandomist
Member
Registered: 2007-08-16
Posts: 30

Error Compiling Aspell

Whenever I try to compile Aspell, I get this:

Making all in .
make[1]: Entering directory `/var/abs/office/aspell/src/aspell-0.60.5'
/bin/sh ./libtool --tag=CXX   --mode=link g++  -march=pentium4 -g -pipe -O2 -fvisibility-inlines-hidden -fno-exceptions   -o aspell prog/aspell.o prog/check_funs.o prog/checker_string.o libaspell.la -lncurses -ldl -ldl 
g++ -march=pentium4 -g -pipe -O2 -fvisibility-inlines-hidden -fno-exceptions -o .libs/aspell prog/aspell.o prog/check_funs.o prog/checker_string.o  ./.libs/libaspell.so -lncurses -ldl
./.libs/libaspell.so: undefined reference to `acommon::HashTable<acommon::StringMap::Parms>::erase(char const* const&)'
collect2: ld returned 1 exit status
make[1]: *** [aspell] Error 1
make[1]: Leaving directory `/var/abs/office/aspell/src/aspell-0.60.5'
make: *** [all-recursive] Error 1
==> ERROR: Build Failed.  Aborting...
==> Removing installed dependencies...
error: no targets specified (use -h for help)

I've tried messing around with /etc/makepkg.conf, but nothing's working; is there anything I can do to fix this?

My makepkg.conf:

#
# /etc/makepkg.conf
#

#########################################################################
# SOURCE ACQUISITION
#########################################################################
#
#-- The FTP/HTTP download utility that makepkg should use to acquire sources
FTPAGENT="/usr/bin/wget --continue --passive-ftp --tries=3 --waitretry=3 --no-check-certificate"
#FTPAGENT="/usr/bin/snarf"
#FTPAGENT="/usr/bin/lftpget -c"

#########################################################################
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
CARCH="i686"
CHOST="i686-pc-linux-gnu"

#-- Exclusive: will only run on i686
# -mtune builds exclusively for an architecture
# -mcpu optimizes for an architecture, but builds for the whole processor family

CFLAGS="-march=pentium4 -g -pipe -O2" 
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"

#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j2"

#########################################################################
# BUILD ENVIRONMENT
#########################################################################
#
# Defaults: BUILDENV=(!fakeroot !distcc color !ccache)
#
#-- fakeroot: Allow building packages as a non-root user
#-- distcc:   Use the Distributed C/C++/ObjC compiler
#-- color:    Colorize output messages
#-- ccache:   Use ccache to cache compilation
#
BUILDENV=(fakeroot !distcc color !ccache)
#
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
#-- specify a space-delimited list of hosts running in the DistCC cluster.
#DISTCC_HOSTS=""

#########################################################################
# GLOBAL PACKAGE OPTIONS
#   These are default values for the options=() settings
#########################################################################
#
# Default: OPTIONS=(strip !docs !libtool emptydirs)
#
#-- strip:     Strip symbols from binaries/libraries
#-- docs:      Save doc and info directories
#-- libtool:   Leave libtool (.la) files in packages
#-- emptydirs: Leave empty directories in packages
#
OPTIONS=(strip !docs libtool emptydirs)

#-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
INTEGRITY_CHECK=(md5)
#-- Info and doc directories to remove (if option set correctly above)
DOC_DIRS=(usr/{,share/}{info,doc,gtk-doc} opt/gnome/{,share/}{info,doc,gtk-doc})

#########################################################################
# PACKAGE OUTPUT
#########################################################################
#
# Default: put built package and cached source in build directory
#
#-- Destination: specify a fixed directory where all packages will be placed
#PKGDEST=/home/packages
#-- Source cache: specify a fixed directory where source files will be cached
#SRCDEST=/home/sources
#-- Packager: name/email of the person or organization building packages
#PACKAGER="John Doe <john@doe.com>"

# vim: set ft=sh ts=2 sw=2 et:

Last edited by MetalRandomist (2007-08-23 22:11:48)

Offline

#2 2007-08-24 07:09:07

luca
Member
From: Rome
Registered: 2005-10-30
Posts: 280

Re: Error Compiling Aspell

Hi MetalRandomist,
I have found this http://gcc.gnu.org/ml/gcc-bugs/2007-01/msg00223.html

Offline

Board footer

Powered by FluxBB