Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

ACE Framework with gcc-3.4.4-r1 build failed

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
LoRz
n00b
n00b
User avatar
Posts: 30
Joined: Wed Jun 08, 2005 12:34 am

ACE Framework with gcc-3.4.4-r1 build failed

  • Quote

Post by LoRz » Wed Dec 14, 2005 10:43 pm

After successfull apgrade to new gcc-3.4.4 I need to build ACE 5.4 but failed with the following message:

g++ -O3 -march=pentium4 -pipe -fomit-frame-pointer -W -Wall -Wpointer-arith -pipe -O3 -march=pentium4 -pipe -fomit-frame-pointer -g -D_REENTRANT -DACE_HAS_AIO_CALLS -D_GNU_SOURCE -I/var/tmp/portage/ace-5.4-r2/work/ACE_wrappers -DACE_HAS_EXCEPTIONS -D__ACE_INLINE__ -DACE_BUILD_DLL -DACE_OS_BUILD_DLL -DACE_AS_STATIC_LIBS -c -o .obj/OS_NS_arpa_inet.o OS_NS_arpa_inet.cpp
In file included from /var/tmp/portage/ace-5.4-r2/work/ACE_wrappers/ace/Unbounded_Queue.h:286,
from /var/tmp/portage/ace-5.4-r2/work/ACE_wrappers/ace/ARGV.h:24,
from ARGV.cpp:6:
/var/tmp/portage/ace-5.4-r2/work/ACE_wrappers/ace/Unbounded_Queue.cpp: In member function `void ACE_Unbounded_Queue<T>::delete_nodes()':
/var/tmp/portage/ace-5.4-r2/work/ACE_wrappers/ace/Unbounded_Queue.cpp:133: error: expected class-name before '(' token
/var/tmp/portage/ace-5.4-r2/work/ACE_wrappers/ace/Unbounded_Queue.cpp: In destructor `ACE_Unbounded_Queue<T>::~ACE_Unbounded_Queue()':
/var/tmp/portage/ace-5.4-r2/work/ACE_wrappers/ace/Unbounded_Queue.cpp:153: error: expected class-name before '(' token
/var/tmp/portage/ace-5.4-r2/work/ACE_wrappers/ace/Unbounded_Queue.cpp: In member function `int ACE_Unbounded_Queue<T>::dequeue_head(T&)':
/var/tmp/portage/ace-5.4-r2/work/ACE_wrappers/ace/Unbounded_Queue.cpp:223: error: expected class-name before '(' token
make[1]: *** [.obj/ARGV.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/ace-5.4-r2/work/ACE_wrappers/ace'
make: *** [all] Error 2

!!! ERROR: dev-libs/ace-5.4-r2 failed.
!!! Function src_compile, Line 28, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Sounds that problem in code. Anyone experienced similar result? Any workaround to fix it?
Top
sawatts
n00b
n00b
Posts: 23
Joined: Tue Jan 18, 2005 9:34 am
Location: Hampshire, UK

  • Quote

Post by sawatts » Thu Dec 29, 2005 9:20 am

Ditto. Just got to the same point upgrading to gcc 3.4.4 using revdep-rebuild.
Top
alwyn
Tux's lil' helper
Tux's lil' helper
Posts: 140
Joined: Wed May 21, 2003 4:18 am

  • Quote

Post by alwyn » Mon Feb 20, 2006 5:20 am

My ACE 5.4.8 and 5.4.9 compiles, BUT when you use mem_cpy it complains about
undefined reference fast_memcpy.

Any of you guys having same problem?
Top
alwyn
Tux's lil' helper
Tux's lil' helper
Posts: 140
Joined: Wed May 21, 2003 4:18 am

  • Quote

Post by alwyn » Thu Feb 23, 2006 12:59 pm

The Gentoo ebuilds for ACE is broken. They should not be creating a config.h and platfrom_macros.GNU file.

5.4.10 compiles cleanly.
Top
LoRz
n00b
n00b
User avatar
Posts: 30
Joined: Wed Jun 08, 2005 12:34 am

ACE Framework 5.5 ebuild

  • Quote

Post by LoRz » Tue Apr 25, 2006 12:29 am

I've got some spare time last weekend and finally manage to install latest stable ACE framework from their website.
Actually I've twicked ace-5.4.6.ebuild to run it against ACE-5.5 from overlay. I ran it step-by-step as described in
http://gentoo-wiki.com/HOWTO_Installing ... ty_Ebuilds. Here is ebuild code. It would be nice if somebody
more experienced than me 'd like to test it properly and put into portage for those interesting in this framework.

Code: Select all

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: ace-5.5.ebuild,v 0.1 2006/04/21 11:25:00 $

inherit eutils

S="${WORKDIR}/ACE_wrappers"
DESCRIPTION="The Adaptive Communications Environment"
SRC_URI="http://deuce.doc.wustl.edu/ACE-${PV}.tar.gz"
HOMEPAGE="http://www.cs.wustl.edu/~schmidt/ACE.html"

SLOT="0"
LICENSE="BSD as-is"
KEYWORDS="~x86 ~sparc ~ppc ~alpha ~amd64"
IUSE="X ipv6"

DEPEND="dev-libs/openssl"

RDEPEND="${DEPEND}
        X? ( || (
        ( x11-libs/libXt
        x11-libs/libXaw )
        virtual/x11 )
        )"

DEPEND="${DEPEND}
        X? ( || (
        ( x11-proto/xproto )
        virtual/x11 )
        )"

src_compile() {
        export ACE_ROOT="${S}"
        mkdir build
        cd build
        ECONF_SOURCE="${S}"
        econf --enable-lib-all $(use_with X) $(use_enable ipv6)
        # --with-qos needs ACE_HAS_RAPI
        emake static_libs=1 || die
}


src_test() {
        #cd ${S}/build
        #make ACE_ROOT=${S} check || die "self test failed"
        einfo "src_test currently stalls after Process_Mutex_Test"
}

src_install() {
        cd build
        make ACE_ROOT="${S}" DESTDIR="${D}" install || die "failed to install"
}


pkg_postinst() {
        # This is required, as anything trying to compile against ACE will have
        # problems with conflicting OS.h files if this is not done.

        local CC_MACHINE=`gcc -dumpmachine`
        local CC_VERSION=`gcc -dumpversion`
        if [ -d "/usr/lib/gcc-lib/${CC_MACHINE}/${CC_VERSION}/include/ace" ]; then
                mv "/usr/lib/gcc-lib/${CC_MACHINE}/${CC_VERSION}/include/ace" \
                        "/usr/lib/gcc-lib/${CC_MACHINE}/${CC_VERSION}/include/ace.old"
        fi
}
CPU: AMD Athlon 64 X2 Dual Core Processor 4600+
RAM: 4096Mb DDR800
MOBO: ASUS M2NPV-VM
VIDEO: nVidia C51PV [GeForce 6150] (rev a2)
SDA: Seagate ST3320620AS 320GB/16Mb cache
SDB: Seagate ST3250820AS 250GB/8Mb cache
DE: Fluxbox 1.0.0
Top
Post Reply

5 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic