Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218689 - app-dicts/kasumi-2.3 fails w/ gcc-4.3.0
Summary: app-dicts/kasumi-2.3 fails w/ gcc-4.3.0
Status: RESOLVED DUPLICATE of bug 218107
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-04-21 06:07 UTC by Peter Alfredsen (RETIRED)
Modified: 2008-04-21 06:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
kasumi-2.3-gcc43.patch (kasumi-2.3-gcc43.patch,1.12 KB, patch)
2008-04-21 06:08 UTC, Peter Alfredsen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-21 06:07:35 UTC
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/gtk-2.0 -I/usr/lib/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/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1    -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -Wall -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cxx; \
        then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/gtk-2.0 -I/usr/lib/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/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1    -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -Wall -MT KasumiDic.o -MD -MP -MF ".deps/KasumiDic.Tpo" -c -o KasumiDic.o KasumiDic.cxx; \
        then mv -f ".deps/KasumiDic.Tpo" ".deps/KasumiDic.Po"; else rm -f ".deps/KasumiDic.Tpo"; exit 1; fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/gtk-2.0 -I/usr/lib/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/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1    -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -Wall -MT KasumiWord.o -MD -MP -MF ".deps/KasumiWord.Tpo" -c -o KasumiWord.o KasumiWord.cxx; \
        then mv -f ".deps/KasumiWord.Tpo" ".deps/KasumiWord.Po"; else rm -f ".deps/KasumiWord.Tpo"; exit 1; fi
KasumiWord.cxx: In static member function ‘static std::string KasumiWord::convertUTF8ToEUCJP(const std::string&)’:
KasumiWord.cxx:50: error: ‘strlen’ was not declared in this scope
KasumiWord.cxx:51: error: ‘strcpy’ was not declared in this scope
KasumiWord.cxx: In static member function ‘static std::string KasumiWord::convertEUCJPToUTF8(const std::string&)’:
KasumiWord.cxx:62: error: ‘strlen’ was not declared in this scope
KasumiWord.cxx:63: error: ‘strcpy’ was not declared in this scope
make[2]: *** [KasumiWord.o] Error 1
make[2]: *** Waiting for unfinished jobs....
main.cxx:85: warning: deprecated conversion from string constant to ‘gchar*’
main.cxx: In function ‘void cb_selection_get(GtkWidget*, GtkSelectionData*, guint, guint, GtkWidget*)’:
main.cxx:101: warning: deprecated conversion from string constant to ‘gchar*’
main.cxx:102: error: ‘strlen’ was not declared in this scope
main.cxx:109: error: ‘strlen’ was not declared in this scope
main.cxx: In function ‘GtkWidget* check_duplicated_process(int, char**)’:
main.cxx:152: error: ‘strlen’ was not declared in this scope
main.cxx:155: error: ‘memmove’ was not declared in this scope
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-dicts/kasumi-2.3/work/kasumi-2.3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-dicts/kasumi-2.3/work/kasumi-2.3'
make: *** [all] Error 2


Reproducible: Always

Steps to Reproduce:
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-21 06:08:15 UTC
Created attachment 150480 [details, diff]
kasumi-2.3-gcc43.patch

Fixes the problem. Snatched from Fedora.
Comment 2 Dawid Węgliński (RETIRED) gentoo-dev 2008-04-21 06:37:37 UTC

*** This bug has been marked as a duplicate of bug 218107 ***