Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GCC 4.3.0 testing!
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 26, 27, 28, 29  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Gregoire
Apprentice
Apprentice


Joined: 15 Apr 2006
Posts: 292

PostPosted: Sun Mar 30, 2008 12:41 pm    Post subject: Reply with quote

dirtyepic wrote:
Gregoire wrote:
It would be great if all those patches could get into mainline, or at least into an overlay :-)


you mean like the gcc-porting overlay? :P


Yep exactly :-) Thank you very much.
Back to top
View user's profile Send private message
Uzytkownik
Guru
Guru


Joined: 31 Oct 2004
Posts: 399
Location: Bay Area, US

PostPosted: Sun Mar 30, 2008 1:15 pm    Post subject: Reply with quote

Please inform when you create one - possibly in this thread.

PS.
Will it be avaible via layman?
_________________
I've probably left my head... somwhere. Please wait untill I find it.
Back to top
View user's profile Send private message
Gregoire
Apprentice
Apprentice


Joined: 15 Apr 2006
Posts: 292

PostPosted: Sun Mar 30, 2008 2:43 pm    Post subject: Reply with quote

If you speak about gcc-porting it's already available through layman ;-)
Back to top
View user's profile Send private message
mikkoc
Apprentice
Apprentice


Joined: 24 May 2007
Posts: 231

PostPosted: Mon Mar 31, 2008 12:08 pm    Post subject: Reply with quote

Hi,
does anyone have an ebuild for media-libs/libofa that compiles with gcc-4.3?
It's needed to compile media-libs/tunepimp :(

This is the error I get:
Code:
if /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -march=core2 -O2 -pipe -Wall -g -MT trackdata_op.lo -MD -MP -MF ".deps/trackdata_op.Tpo" -c -o trackdata_op.lo trackdata_op.cpp; \             
        then mv -f ".deps/trackdata_op.Tpo" ".deps/trackdata_op.Plo"; else rm -f ".deps/trackdata_op.Tpo"; exit 1; fi       
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -march=core2 -O2 -pipe -Wall -g -MT signal_op.lo -MD -MP -MF .deps/signal_op.Tpo -c signal_op.cpp  -fPIC -DPIC -o .libs/signal_op.o                                                   
signal_op.cpp: In member function 'void Signal_op::RemoveSilence(double, double)':                                           
signal_op.cpp:169: error: 'abs' was not declared in this scope                                                               
signal_op.cpp:192: error: 'abs' was not declared in this scope                                                               
signal_op.cpp: In member function 'void Signal_op::Normalize()':                                                             
signal_op.cpp:301: error: 'abs' was not declared in this scope                                                               
make[3]: *** [signal_op.lo] Error 1


Thanks
Back to top
View user's profile Send private message
easy target
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jan 2008
Posts: 134

PostPosted: Mon Mar 31, 2008 1:37 pm    Post subject: Reply with quote

mikkoc wrote:
Hi,
does anyone have an ebuild for media-libs/libofa that compiles with gcc-4.3?
It's needed to compile media-libs/tunepimp :(

You have to create a patch which adds #include <cstdlib> to signal_op.cpp.
Back to top
View user's profile Send private message
mikkoc
Apprentice
Apprentice


Joined: 24 May 2007
Posts: 231

PostPosted: Mon Mar 31, 2008 2:11 pm    Post subject: Reply with quote

Thanks, meanwhile I've found the patches to compile with gcc-4.3.
I filed a bug and attached the patch: https://bugs.gentoo.org/show_bug.cgi?id=215563
I've also opened a bug with the patches needed to compile tunepimp: https://bugs.gentoo.org/show_bug.cgi?id=215579
They work for me :)
Back to top
View user's profile Send private message
rhill
Retired Dev
Retired Dev


Joined: 22 Oct 2004
Posts: 1629
Location: sk.ca

PostPosted: Thu Apr 03, 2008 2:05 am    Post subject: Reply with quote

i'm behind on adding all the bugzilla patches to the overlay (thanks for the bug reports btw, my mailbox overfloweth) due to getting a new laptop this week. as soon as i get some time i'll go through them all.
_________________
by design, by neglect
for a fact or just for effect
Back to top
View user's profile Send private message
terrylava
n00b
n00b


Joined: 04 Jan 2007
Posts: 8

PostPosted: Wed Apr 16, 2008 6:42 pm    Post subject: Reply with quote

I recently upgraded to gcc 4.3, and stuff wouldn't compile right, and I believe I read somewhere that i had to upgrade glibc to 2.7. I did that and got bugs in X. The keyboard would spit out double letters and eventually stop working. The mouse would stop working as well. I recompiled my kernel with the vanilla sources after that, because i read about a kernel bug that gcc 4.3 exposes. After this, I emerge -e world, and added patches to the packages that didn't already have them. and have pretty much everything running, only a few unpatched and broken packages on my pro-audio/gaming core 2 duo system.

Packages that don't compile atm:
gtkmm 2.2.12 (dependency of alsa-patch-bay. their newer one in the newer slot works fine, but doesn't work with alsa-patch-bay)
alsa-patch-bay(installed the fltk toolkit instead of gtkmm, but now alsa-patch-bay doesnt compile anway)
rosegarden
media-sound/muse
mplayerthumbs
kuroo
gnugp (i read somewhere that it's curl's fault, even though curl compiled fine)

Questions:
Was it necessary to upgrade glibc from 2.6.1 to 2.7?
What would be the proper order to upgrade these so I wouldn't run into any bugs like I did. I'm worried that it could have corrupted something important.
Where to I put all the bugs? Do I put them in gentoo bugs, or do i bug upstream about them first?
Back to top
View user's profile Send private message
terrylava
n00b
n00b


Joined: 04 Jan 2007
Posts: 8

PostPosted: Thu Apr 17, 2008 6:14 am    Post subject: Reply with quote

GCC 4.3 patches:
gtkmm patch that works on the source, but i dont know why it wont work with portage http://terrylava.doesntexist.com/browse/inc/gtkmm-2.2.12-gcc43.patch

alsa-patch-bay patch
http://terrylava.doesntexist.com/browse/inc/alsa-patch-bay-1.0.0-gcc43.patch

im not a huge uptime freak, so get em while you can.
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Thu Apr 17, 2008 7:47 pm    Post subject: Reply with quote

terrylava wrote:
gnugp (i read somewhere that it's curl's fault, even though curl compiled fine)

This dirty trick worked for me, although it probably broke some other stuff too.
Code:
# emerge --unmerge curl
# emerge --oneshot --nodeps gnupg
# emerge --oneshot curl
Back to top
View user's profile Send private message
terrylava
n00b
n00b


Joined: 04 Jan 2007
Posts: 8

PostPosted: Fri Apr 18, 2008 5:38 am    Post subject: Reply with quote

http://terrylava.doesntexist.com/browse/inc/mplayerthumbs-0.5b-gcc43.patch
mplayerthumbs gcc 4.3 patch
Back to top
View user's profile Send private message
warrens
Apprentice
Apprentice


Joined: 04 Jan 2005
Posts: 239
Location: Don't Tread On Me!

PostPosted: Fri Apr 18, 2008 10:32 pm    Post subject: Reply with quote

I had a problem with media-libs/akode-2.0.2 failing compile. After a bit of research on the internet I found a patch that allows for a successful install. The patch can be found here.
_________________
The BIGGER the GOVERNMENT, the smaller the citizen.

DON'T TREAD ON ME!!!

My Bias #1
The best government is the government that governs least.
Back to top
View user's profile Send private message
cnrs
n00b
n00b


Joined: 30 Sep 2007
Posts: 11

PostPosted: Sun Apr 20, 2008 4:12 pm    Post subject: kde-base/kdepimlibs-4.0.3 does not compile :'( Reply with quote

Hello all,
kde-base/kdepimlibs-4.0.3 does not compile with gcc-4.3 stable :'(

What is a solution please, if solution exist :)

Quote:
* Messages for package kde-base/kdepimlibs-4.0.3:

*
* ERROR: kde-base/kdepimlibs-4.0.3 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2584: Called kde4-base_src_compile
* environment, line 1935: Called kde4-base_src_configure
* environment, line 1955: Called cmake-utils_src_configureout
* environment, line 610: Called die
* The specific snippet of code:
* cmake ${cmakeargs} "${S}" || die "Cmake failed";
* The die message:
* Cmake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/kde-base/kdepimlibs-4.0.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/kde-base/kdepimlibs-4.0.3/temp/environment'.
*


thx :)

Sorry all ! i not read this part...:

Quote:
-----------------------------------------------------------------------------
-- The following REQUIRED packages could NOT be located on your system.
-- Please install them before continuing this software installation.
-----------------------------------------------------------------------------
+ boost: Boost C++ Libraries <http://www.boost.org/>
Needed by libsyndication
-----------------------------------------------------------------------------
CMake Error: Exiting: Missing Requirements
CMake Error: This project requires some variables to be set,
and cmake can not find them.
Please set the following variables:
Boost_INCLUDE_DIR


...
Back to top
View user's profile Send private message
nbvcxz
Guru
Guru


Joined: 02 Sep 2005
Posts: 379
Location: Kraków / PL

PostPosted: Sun Apr 20, 2008 4:21 pm    Post subject: Reply with quote

There is 'stable' gcc-4.3.0 in portage, but in toolchain overlay there are newer versions of alpha release (eg. gcc-4.3.0_alpha20080417) could you explain that?
_________________
nBVCXz
zen-kernel (bfq compcache) | /tmp -> tmpfs | ext4 | zsh | xfce | schedtool
Back to top
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Sun Apr 20, 2008 4:32 pm    Post subject: Reply with quote

nbvcxz wrote:
There is 'stable' gcc-4.3.0 in portage, but in toolchain overlay there are newer versions of alpha release (eg. gcc-4.3.0_alpha20080417) could you explain that?

I think those are actually 4.3.1 snapshots, not 4.3.0.
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
cnrs
n00b
n00b


Joined: 30 Sep 2007
Posts: 11

PostPosted: Sun Apr 20, 2008 7:30 pm    Post subject: :'( boost with gcc-4.3 Reply with quote

Compil boost with gcc-4.3 is not easy :'(
Back to top
View user's profile Send private message
Uzytkownik
Guru
Guru


Joined: 31 Oct 2004
Posts: 399
Location: Bay Area, US

PostPosted: Sun Apr 20, 2008 7:46 pm    Post subject: Reply with quote

There is one working with 4.3 in gcc-porting overlay.
_________________
I've probably left my head... somwhere. Please wait untill I find it.
Back to top
View user's profile Send private message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Tue Apr 22, 2008 3:32 am    Post subject: Reply with quote

It looks like I am unable to build Qt3 with GCC 4.3.0:
Code:
cd codecs && /usr/bin/make -f Makefile
make[2]: Entering directory `/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/plugins/src/codecs'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/plugins/src/codecs'
cd imageformats && /usr/bin/make -f Makefile
make[2]: Entering directory `/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/plugins/src/imageformats'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/plugins/src/imageformats'
cd inputmethods && /usr/bin/make -f Makefile
make[2]: Entering directory `/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/plugins/src/inputmethods'
cd imsw-none && /usr/bin/make -f Makefile
make[3]: Entering directory `/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/plugins/src/inputmethods/imsw-none'
/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/bin/qmake  -spec /var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/mkspecs/linux-g++ -o /var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/./plugins/src/inputmethods/imsw-none /var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/plugins/src/inputmethods/imsw-none/imsw-none.pro
cd /var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/./plugins/src/inputmethods/imsw-none
/usr/bin/make Makefile
make[4]: Entering directory `/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/plugins/src/inputmethods/imsw-none'
make[4]: `Makefile' is up to date.
make[4]: Leaving directory `/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/plugins/src/inputmethods/imsw-none'
make[3]: Leaving directory `/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/plugins/src/inputmethods/imsw-none'
make[3]: Entering directory `/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/plugins/src/inputmethods/imsw-none'
x86_64-pc-linux-gnu-g++ -c -pipe -I/usr/include/postgresql/server -I/usr/include/postgresql/pgsql -I/usr/include/postgresql/pgsql/server -fno-exceptions -Wall -W -g -D_REENTRANT -fPIC  -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_NO_DEBUG -I/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I. -I../../../../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qnoneinputcontextplugin.o qnoneinputcontextplugin.cpp
qnoneinputcontextplugin.cpp: In member function 'virtual QInputContext* QNoneInputContextPlugin::create(const QString&)':
qnoneinputcontextplugin.cpp:72: error: 'getenv' was not declared in this scope
qnoneinputcontextplugin.cpp: At global scope:
qnoneinputcontextplugin.cpp:82: warning: unused parameter 'key'
qnoneinputcontextplugin.cpp:87: warning: unused parameter 'key'
qnoneinputcontextplugin.cpp:92: warning: unused parameter 'key'
make[3]: *** [.obj/release-shared-mt/qnoneinputcontextplugin.o] Error 1
make[3]: Leaving directory `/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/plugins/src/inputmethods/imsw-none'
make[2]: *** [sub-imsw-none] Error 2
make[2]: Leaving directory `/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/plugins/src/inputmethods'
make[1]: *** [sub-inputmethods] Error 2
make[1]: Leaving directory `/var/tmp/paludis/x11-libs-qt-3.3.8-r4/work/qt-x11-free-3.3.8/plugins/src'
make: *** [sub-plugins] Error 2

!!! ERROR in x11-libs/qt-3.3.8-r4:
!!! In src_compile at line 3677
!!! (no message provided)

!!! Call stack:
!!!    * src_compile (/var/tmp/paludis/x11-libs-qt-3.3.8-r4/temp/loadsaveenv:3677)
!!!    * ebuild_f_compile (/usr/libexec/paludis/0/src_compile.bash:49)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:462)
!!!    * main (/usr/libexec/paludis/ebuild.bash:480)

diefunc: making ebuild PID 20422 exit with error
die trap: exiting with error.

Install error:
  * In program paludis --dl-upgrade as-needed -i =x11-libs/qt-3*:
  * When performing install action from command line:
  * When executing install task:
  * When installing 'x11-libs/qt-3.3.8-r4:3::gentoo':
  * Install error: Install failed for 'x11-libs/qt-3.3.8-r4:3::gentoo'



Summary of failures:

* x11-libs/qt-3.3.8-r4:3::gentoo: failure

Total: 1 package, 0 successes, 0 skipped, 1 failure, 0 unreached

Resume command: paludis --log-level qa --install --add-to-world-spec '=x11-libs/qt-3*' --serialised 0.25 'package;=x11-libs/qt-3.3.8-r4:3::gentoo;installed;has_all_deps;P'

 * You have 5 unread news items (use 'eselect news' to read)

 * Searching for configuration files requiring action...
 * No configuration file updates required
Code:
paludis 0.26.0_pre2
Paludis build information:
    Compiler:
        CXX:                   x86_64-pc-linux-gnu-g++ 4.3.0
        CXXFLAGS:              -march=barcelona -mmmx -m3dnow -msse -msse2 -mfpmath=sse -O2 -pipe
        LDFLAGS:               
        DATE:                  2008-04-21T21:51:25-0700

    Libraries:
        C++ Library:           GNU libstdc++ 20080305

    Reduced Privs:
        reduced_uid:           103
        reduced_uid->name:     paludisbuild
        reduced_uid->dir:      /var/tmp/paludis
        reduced_gid:           1004
        reduced_gid->name:     paludisbuild

    Paths:
        DATADIR:               /usr/share
        LIBDIR:                /usr/lib64
        LIBEXECDIR:            /usr/libexec
        SYSCONFDIR:            /etc
        PYTHONINSTALLDIR:      /usr/lib64/python2.5/site-packages
        RUBYINSTALLDIR:       

Repository virtuals:
    format:                    virtuals

Repository installed-virtuals:
    format:                    installed_virtuals
    root:                      /

Repository gentoo:
    format:                    ebuild
    location:                  /usr/portage
    append_repository_name_to_write_cache: true
    binary_destination:        false
    binary_keywords:           
    binary_uri_prefix:         
    builddir:                  /var/tmp/paludis
    cache:                     /usr/portage/metadata/cache
    distdir:                   /usr/portage/distfiles
    eapi_when_unknown:         0
    eapi_when_unspecified:     0
    eclassdirs:                /usr/portage/eclass
    ignore_deprecated_profiles: false
    layout:                    traditional
    names_cache:               /usr/portage/.cache/names
    newsdir:                   /usr/portage/metadata/news
    profile_eapi:              0
    profiles:                  /usr/portage/profiles/default-linux/amd64/2007.0/desktop
    securitydir:               /usr/portage/metadata/glsa
    setsdir:                   /usr/portage/sets
    sync:                      rsync://superbob.neilnet/gentoo-portage/
    sync_options:             
    use_manifest:              use
    write_cache:               /var/cache/paludis/metadata

    Package information:
        app-admin/eselect-compiler: (none)
        app-shells/bash:       3.2_p33
        dev-java/java-config:  (none)
        dev-lang/python:       2.4.3-r4 2.5.2-r2
        dev-python/pycrypto:   2.0.1-r6
        dev-util/ccache:       (none)
        dev-util/confcache:    (none)
        sys-apps/baselayout:   2.0.0
        sys-apps/openrc:       0.2.2
        sys-apps/sandbox:      1.2.18.1-r2
        sys-devel/autoconf:    2.13 2.62
        sys-devel/automake:    1.10.1 1.5 1.7.9-r1 1.9.6-r2
        sys-devel/binutils:    2.18-r1
        sys-devel/gcc-config:  1.4.0-r4
        sys-devel/libtool:     1.5.26
        virtual/os-headers:    2.6.25-r1 (for sys-kernel/linux-headers::installed)
....
I've fixed that getenv problem with an include directive, but then I get "error: ‘lower_bound’ is not a member of ‘std’" in qsimpleinputcontext.cpp. I would use 4.2.3 to compile it, but it's been having some serious issues of its own (segfaults) ever since I installed Gentoo on this computer (three days ago).
_________________
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.
Back to top
View user's profile Send private message
cneil
n00b
n00b


Joined: 28 May 2007
Posts: 39
Location: Stillwater, OK

PostPosted: Tue Apr 22, 2008 4:08 am    Post subject: Reply with quote

Kenji Miyamoto wrote:
I've fixed that getenv problem with an include directive, but then I get "error: ‘lower_bound’ is not a member of ‘std’" in qsimpleinputcontext.cpp. I would use 4.2.3 to compile it, but it's been having some serious issues of its own (segfaults) ever since I installed Gentoo on this computer (three days ago).


Try putting a #include <algorithm> in qsimpleinputcontext.cpp.
Back to top
View user's profile Send private message
warrens
Apprentice
Apprentice


Joined: 04 Jan 2005
Posts: 239
Location: Don't Tread On Me!

PostPosted: Tue Apr 22, 2008 4:56 am    Post subject: Reply with quote

@Kenji Miyamoto
Do you have imqt-bc in your USE flags for qt3? I have had the same failure with qt3 and gcc-4.3.0 with USE="imqt-bc". qt3 compiles fine without imqt-bc, but if you need scim this does not help. I have not been able to find a patch for this on the internet.
_________________
The BIGGER the GOVERNMENT, the smaller the citizen.

DON'T TREAD ON ME!!!

My Bias #1
The best government is the government that governs least.
Back to top
View user's profile Send private message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Tue Apr 22, 2008 6:26 am    Post subject: Reply with quote

With those couple of minute fixes, Qt3 builds just fine. I need the flag, since the regular immqt one is useless for use with SCIM.

However, now that I've gotten around to SCIM, Kasumi fails:
Code:
make  all-recursive
make[1]: Entering directory `/var/tmp/paludis/app-dicts-kasumi-2.3/work/kasumi-2.3'
Making all in intl
make[2]: Entering directory `/var/tmp/paludis/app-dicts-kasumi-2.3/work/kasumi-2.3/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/paludis/app-dicts-kasumi-2.3/work/kasumi-2.3/intl'
Making all in m4
make[2]: Entering directory `/var/tmp/paludis/app-dicts-kasumi-2.3/work/kasumi-2.3/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/paludis/app-dicts-kasumi-2.3/work/kasumi-2.3/m4'
Making all in po
make[2]: Entering directory `/var/tmp/paludis/app-dicts-kasumi-2.3/work/kasumi-2.3/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/paludis/app-dicts-kasumi-2.3/work/kasumi-2.3/po'
make[2]: Entering directory `/var/tmp/paludis/app-dicts-kasumi-2.3/work/kasumi-2.3'
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1    -march=barcelona -mmmx -m3dnow -msse -msse2 -mfpmath=sse -O3 -pipe -Wall -MT KasumiAddWindow.o -MD -MP -MF ".deps/KasumiAddWindow.Tpo" -c -o KasumiAddWindow.o KasumiAddWindow.cxx; \
   then mv -f ".deps/KasumiAddWindow.Tpo" ".deps/KasumiAddWindow.Po"; else rm -f ".deps/KasumiAddWindow.Tpo"; exit 1; fi
KasumiAddWindow.cxx: In constructor ‘KasumiAddWindow::KasumiAddWindow(KasumiDic*, KasumiConfiguration*)’:
KasumiAddWindow.cxx:122: error: no matching function for call to ‘find(std::_List_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_List_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::string&)’
make[2]: *** [KasumiAddWindow.o] Error 1
make[2]: Leaving directory `/var/tmp/paludis/app-dicts-kasumi-2.3/work/kasumi-2.3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/paludis/app-dicts-kasumi-2.3/work/kasumi-2.3'
make: *** [all] Error 2
Unfortunately, I don't know enough STL-style C++ to fix this. Does anyone else have any ideas?
_________________
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.
Back to top
View user's profile Send private message
Eckos
Apprentice
Apprentice


Joined: 25 Jan 2008
Posts: 197
Location: Houston, Texas, USA

PostPosted: Tue Apr 22, 2008 2:17 pm    Post subject: Reply with quote

it means the wrong type of data is being sent to the constructor.
_________________
AMD Athlon 64 X2 3800+ | 2GB DDR2 533MHz RAM | GCC-4.3.2 | Gentoo x86_64 | KDE 4.1.2
Back to top
View user's profile Send private message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Tue Apr 22, 2008 2:28 pm    Post subject: Reply with quote

It compiles under GCC 4.2, though. What would I have to change?:
Code:
....
    GtkTreeIter iter;
    WordTypeList::iterator p = KasumiWordType::beginWordTypeList();
    list<string> wordCategoryList;
    while(p != KasumiWordType::endWordTypeList())
    {
   string category = (*p)->getCategory();
   if( find( wordCategoryList.begin(), wordCategoryList.end(), category )
       == wordCategoryList.end() )
   {
       wordCategoryList.push_back( category );
....
It looks like the find function is the issue, not the constructor. Why is this wrong?


EDIT: Looks like the algorithm header just needs to be included. All is good, then.
_________________
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.


Last edited by Kenji Miyamoto on Tue Apr 22, 2008 2:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
Eckos
Apprentice
Apprentice


Joined: 25 Jan 2008
Posts: 197
Location: Houston, Texas, USA

PostPosted: Tue Apr 22, 2008 2:34 pm    Post subject: Reply with quote

I have no idea. I don't know the api.
_________________
AMD Athlon 64 X2 3800+ | 2GB DDR2 533MHz RAM | GCC-4.3.2 | Gentoo x86_64 | KDE 4.1.2
Back to top
View user's profile Send private message
Phoenix591
Guru
Guru


Joined: 17 Sep 2007
Posts: 488

PostPosted: Tue Apr 22, 2008 4:03 pm    Post subject: Reply with quote

sorry if this was posted earlier in the thread, but kernel 2.6.25 compiles (and runs) fine with gcc 4.3.0 .
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3 ... 26, 27, 28, 29  Next
Page 27 of 29

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum