gspr Skrevet 23. juli 2004 Del Skrevet 23. juli 2004 Om noen hadde giddet å teste denne, hadde det vært fint. Hadde vært greit å ikke måtte gjøre ti tusen korrigeringer etter innsending, slik jeg måtte sist. Jeg er for øvrig helt ny på det å lage ebuilds, så kommentarer er ønskelig. Lenke til kommentar
drall Skrevet 23. juli 2004 Del Skrevet 23. juli 2004 (endret) g++ -g -Wall -ansi -pedantic -fstrict-aliasing -DDEBUG -IlibMoaggGui/include -IlibMoaggGame/include -IlibMoaggObjects/include -I. -IlibMoaggCore/include -I/usr/include/SDL -D_REENTRANT -IlibMoaggSound/include -I. -IlibMoaggCore/include -I/usr/include/SDL -D_REENTRANT -I/usr/include/SDL -D_REENTRANT -IlibMoaggSound/include -I. -IlibMoaggCore/include -I/usr/include/SDL -D_REENTRANT -I/usr/include/SDL -D_REENTRANT -IlibMoaggSound/include -I. -IlibMoaggCore/include -I/usr/include/SDL -D_REENTRANT -I/usr/include/SDL -D_REENTRANT -I/usr/include/paragui -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT -I/usr/include/freetype2 -MD -MP -c libMoaggGui/src/CreditsMenu.cpp -o libMoaggGui/src/CreditsMenu.o In file included from libMoaggGui/include/ControlMenu.h:4, from libMoaggGui/src/ControlMenu.cpp:4: libMoaggGui/include/Menu.h:5:27: pgeventobject.h: Ingen slik fil eller filkatalog In file included from libMoaggGui/include/ControlMenu.h:4, from libMoaggGui/src/ControlMenu.cpp:4: libMoaggGui/include/Menu.h:13: error: parse error before `{' token libMoaggGui/include/Menu.h: In function `void setPrevious(Menu*)': libMoaggGui/include/Menu.h:18: error: `m_previous' undeclared (first use this function) libMoaggGui/include/Menu.h:18: error: (Each undeclared identifier is reported only once for each function it appears in.) libMoaggGui/include/Menu.h: At global scope: libMoaggGui/include/Menu.h:25: error: parse error before `protected' libMoaggGui/include/Menu.h:34: error: `Menu*m_previous' used prior to declaration libMoaggGui/include/Menu.h:35: error: parse error before `}' token In file included from libMoaggGui/include/ControlMenu.h:5, from libMoaggGui/src/ControlMenu.cpp:4: libMoaggGui/include/KeyPressWidget.h:5:27: pgeventobject.h: Ingen slik fil eller filkatalog In file included from libMoaggGui/include/ControlMenu.h:5, from libMoaggGui/src/ControlMenu.cpp:4: libMoaggGui/include/KeyPressWidget.h:9: error: parse error before `{' token libMoaggGui/include/KeyPressWidget.h:14: error: destructors must be member functions libMoaggGui/include/KeyPressWidget.h:14: error: virtual outside class declaration libMoaggGui/include/KeyPressWidget.h: In function `SDLKey getKey()': libMoaggGui/include/KeyPressWidget.h:18: error: `m_key' undeclared (first use this function) libMoaggGui/include/KeyPressWidget.h: At global scope: libMoaggGui/include/KeyPressWidget.h:24: error: parse error before `protected' libMoaggGui/include/KeyPressWidget.h:30: error: `SDLKey m_key' used prior to declaration libMoaggGui/include/KeyPressWidget.h:34: error: parse error before `}' token In file included from libMoaggGui/src/ControlMenu.cpp:4: libMoaggGui/include/ControlMenu.h:9: error: base class `Menu' has incomplete type libMoaggGui/include/ControlMenu.h:20: error: `onOk' was not declared in this scope libMoaggGui/include/ControlMenu.h:20: error: invalid data member initialization libMoaggGui/include/ControlMenu.h:20: error: (use `=' to initialize static data members) libMoaggGui/include/ControlMenu.h:20: error: ISO C++ forbids declaration of ` PARAGUI_CALLBACK' with no type libMoaggGui/include/ControlMenu.h:21: error: `onCancel' was not declared in this scope libMoaggGui/include/ControlMenu.h:21: error: invalid data member initialization libMoaggGui/include/ControlMenu.h:21: error: ISO C++ forbids declaration of ` PARAGUI_CALLBACK' with no type libMoaggGui/include/ControlMenu.h:21: error: declaration of `int ControlMenu::PARAGUI_CALLBACK' libMoaggGui/include/ControlMenu.h:20: error: conflicts with previous declaration `int ControlMenu::PARAGUI_CALLBACK' libMoaggGui/include/ControlMenu.h:23: error: syntax error before `*' token libMoaggGui/include/ControlMenu.h:24: error: syntax error before `*' token libMoaggGui/include/ControlMenu.h:25: error: syntax error before `*' token libMoaggGui/include/ControlMenu.h:26: error: syntax error before `*' token libMoaggGui/include/ControlMenu.h:27: error: syntax error before `*' token libMoaggGui/include/ControlMenu.h:28: error: syntax error before `*' token libMoaggGui/src/ControlMenu.cpp: In constructor `ControlMenu::ControlMenu()': libMoaggGui/src/ControlMenu.cpp:13: error: `MSG_BUTTONCLICK' undeclared (first use this function) libMoaggGui/src/ControlMenu.cpp:13: error: `MSG_CALLBACK_OBJ' undeclared (first use this function) libMoaggGui/src/ControlMenu.cpp:13: error: `onOk' is not a member of type ` ControlMenu' libMoaggGui/src/ControlMenu.cpp:13: error: `SetEventObject' undeclared (first use this function) libMoaggGui/src/ControlMenu.cpp:15: error: `onCancel' is not a member of type ` ControlMenu' libMoaggGui/src/ControlMenu.cpp:22: error: `m_thrustWidget' undeclared (first use this function) libMoaggGui/src/ControlMenu.cpp:22: error: parse error before `(' token libMoaggGui/src/ControlMenu.cpp:27: error: `m_alignWidget' undeclared (first use this function) libMoaggGui/src/ControlMenu.cpp:27: error: parse error before `(' token libMoaggGui/src/ControlMenu.cpp:32: error: `m_leftWidget' undeclared (first use this function) libMoaggGui/src/ControlMenu.cpp:32: error: parse error before `(' token libMoaggGui/src/ControlMenu.cpp:37: error: `m_rightWidget' undeclared (first use this function) libMoaggGui/src/ControlMenu.cpp:37: error: parse error before `(' token libMoaggGui/src/ControlMenu.cpp:42: error: `m_fireWidget' undeclared (first use this function) libMoaggGui/src/ControlMenu.cpp:42: error: parse error before `(' token libMoaggGui/src/ControlMenu.cpp:47: error: `m_pauseWidget' undeclared (first use this function) libMoaggGui/src/ControlMenu.cpp:47: error: parse error before `(' token libMoaggGui/src/ControlMenu.cpp:17: warning: unused variable `const PlayerConfiguration::Control::KeyConfig*kc' libMoaggGui/src/ControlMenu.cpp: At global scope: libMoaggGui/src/ControlMenu.cpp:75: error: `onOk' is not a member of type ` ControlMenu' libMoaggGui/src/ControlMenu.cpp:76: error: ISO C++ forbids declaration of ` PARAGUI_CALLBACK' with no type libMoaggGui/src/ControlMenu.cpp:76: error: syntax error before `{' token libMoaggGui/src/ControlMenu.cpp:79: error: syntax error before `->' token libMoaggGui/src/ControlMenu.cpp:80: error: syntax error before `->' token libMoaggGui/src/ControlMenu.cpp:81: error: syntax error before `->' token libMoaggGui/src/ControlMenu.cpp:82: error: syntax error before `->' token libMoaggGui/src/ControlMenu.cpp:83: error: syntax error before `->' token libMoaggGui/src/ControlMenu.cpp:84: error: syntax error before `->' token libMoaggGui/src/ControlMenu.cpp:86: error: syntax error before `->' token libMoaggGui/src/ControlMenu.cpp:87: error: syntax error before `->' token libMoaggGui/src/ControlMenu.cpp:88: error: syntax error before `->' token libMoaggGui/src/ControlMenu.cpp:89: error: syntax error before `->' token libMoaggGui/src/ControlMenu.cpp:90: error: syntax error before `->' token libMoaggGui/src/ControlMenu.cpp:91: error: syntax error before `->' token libMoaggGui/src/ControlMenu.cpp:93: error: ISO C++ forbids declaration of ` getInstance' with no type libMoaggGui/src/ControlMenu.cpp:93: error: prototype for `int PlayerConfiguration::getInstance()' does not match any in class ` PlayerConfiguration' libMoaggGame/include/PlayerConfiguration.h:584: error: candidate is: static PlayerConfiguration* PlayerConfiguration::getInstance() libMoaggGui/src/ControlMenu.cpp:93: error: `int PlayerConfiguration::getInstance()' and `static PlayerConfiguration* PlayerConfiguration::getInstance()' cannot be overloaded libMoaggGui/src/ControlMenu.cpp: In member function `int PlayerConfiguration::getInstance()': libMoaggGui/src/ControlMenu.cpp:93: error: parse error before `->' token libMoaggGui/src/ControlMenu.cpp:95: error: ISO C++ forbids declaration of ` getInstance' with no type libMoaggGui/src/ControlMenu.cpp:95: error: cannot declare member function ` MenuManager::getInstance' within `PlayerConfiguration' libMoaggGui/src/ControlMenu.cpp:95: error: syntax error before `->' token libMoaggGui/src/ControlMenu.cpp:100: error: `onCancel' is not a member of type `ControlMenu' libMoaggGui/src/ControlMenu.cpp:101: error: ISO C++ forbids declaration of ` PARAGUI_CALLBACK' with no type libMoaggGui/src/ControlMenu.cpp:101: error: redefinition of `int PARAGUI_CALLBACK' libMoaggGui/src/ControlMenu.cpp:76: error: `int PARAGUI_CALLBACK' previously defined here libMoaggGui/src/ControlMenu.cpp:101: error: syntax error before `{' token libMoaggGui/src/ControlMenu.cpp:103: error: syntax error before `->' token libMoaggGui/src/ControlMenu.cpp:104: error: syntax error before `->' token libMoaggGui/src/ControlMenu.cpp:105: error: syntax error before `->' token libMoaggGui/src/ControlMenu.cpp:106: error: syntax error before `->' token libMoaggGui/src/ControlMenu.cpp:107: error: syntax error before `->' token libMoaggGui/src/ControlMenu.cpp:108: error: ISO C++ forbids declaration of ` getInstance' with no type libMoaggGui/src/ControlMenu.cpp:108: error: cannot declare member function ` MenuManager::getInstance' within `PlayerConfiguration' libMoaggGui/src/ControlMenu.cpp:108: error: syntax error before `->' token libMoaggGui/src/ControlMenu.cpp:114: error: cannot declare member function ` ControlMenu::eventShow' within `PlayerConfiguration' libMoaggGui/src/ControlMenu.cpp:114: error: syntax error before `{' token libMoaggGui/src/ControlMenu.cpp:120: error: cannot declare member function ` ControlMenu::eventHide' within `PlayerConfiguration' libMoaggGui/src/ControlMenu.cpp:120: error: syntax error before `{' token libMoaggGui/src/ControlMenu.cpp:126: error: cannot declare member function ` ControlMenu::checkKeys' within `PlayerConfiguration' libMoaggGui/src/ControlMenu.cpp:126: error: syntax error before `{' token libMoaggGui/src/ControlMenu.cpp:128: error: `numKeys' undeclared (first use this function) libMoaggGui/src/ControlMenu.cpp:129: error: ISO C++ forbids declaration of ` keys' with no type libMoaggGui/src/ControlMenu.cpp:129: error: ISO C++ forbids zero-size array ` keys' libMoaggGui/src/ControlMenu.cpp:129: error: conflicting types for `int keys[0]' libMoaggGui/src/ControlMenu.cpp:128: error: previous declaration as ` SDLKey*keys' libMoaggGui/src/ControlMenu.cpp:130: error: ISO C++ forbids declaration of ` keys' with no type libMoaggGui/src/ControlMenu.cpp:130: error: conflicting types for `int keys[1]' libMoaggGui/src/ControlMenu.cpp:129: error: previous declaration as `int keys[0]' libMoaggGui/src/ControlMenu.cpp:131: error: ISO C++ forbids declaration of ` keys' with no type libMoaggGui/src/ControlMenu.cpp:131: error: conflicting types for `int keys[2]' libMoaggGui/src/ControlMenu.cpp:130: error: previous declaration as `int keys[1]' libMoaggGui/src/ControlMenu.cpp:132: error: ISO C++ forbids declaration of ` keys' with no type libMoaggGui/src/ControlMenu.cpp:132: error: conflicting types for `int keys[3]' libMoaggGui/src/ControlMenu.cpp:131: error: previous declaration as `int keys[2]' libMoaggGui/src/ControlMenu.cpp:133: error: ISO C++ forbids declaration of ` keys' with no type libMoaggGui/src/ControlMenu.cpp:133: error: conflicting types for `int keys[4]' libMoaggGui/src/ControlMenu.cpp:132: error: previous declaration as `int keys[3]' libMoaggGui/src/ControlMenu.cpp:134: error: ISO C++ forbids declaration of ` keys' with no type libMoaggGui/src/ControlMenu.cpp:134: error: conflicting types for `int keys[5]' libMoaggGui/src/ControlMenu.cpp:133: error: previous declaration as `int keys[4]' libMoaggGui/src/ControlMenu.cpp:137: error: parse error before `for' libMoaggGui/src/ControlMenu.cpp:137: error: parse error before `;' token libMoaggGui/src/ControlMenu.cpp:139: error: parse error before `;' token make: *** [libMoaggGui/src/ControlMenu.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from libMoaggGui/include/CreditsMenu.h:4, from libMoaggGui/src/CreditsMenu.cpp:1: libMoaggGui/include/Menu.h:5:27: pgeventobject.h: Ingen slik fil eller filkatalog In file included from libMoaggGui/include/CreditsMenu.h:4, from libMoaggGui/src/CreditsMenu.cpp:1: libMoaggGui/include/Menu.h:13: error: parse error before `{' token libMoaggGui/include/Menu.h: In function `void setPrevious(Menu*)': libMoaggGui/include/Menu.h:18: error: `m_previous' undeclared (first use this function) libMoaggGui/include/Menu.h:18: error: (Each undeclared identifier is reported only once for each function it appears in.) libMoaggGui/include/Menu.h: At global scope: libMoaggGui/include/Menu.h:25: error: parse error before `protected' libMoaggGui/include/Menu.h:34: error: `Menu*m_previous' used prior to declaration libMoaggGui/include/Menu.h:35: error: parse error before `}' token In file included from libMoaggGui/src/CreditsMenu.cpp:1: libMoaggGui/include/CreditsMenu.h:8: error: base class `Menu' has incomplete type libMoaggGui/include/CreditsMenu.h:17: error: `onReturn' was not declared in this scope libMoaggGui/include/CreditsMenu.h:17: error: invalid data member initialization libMoaggGui/include/CreditsMenu.h:17: error: (use `=' to initialize static data members) libMoaggGui/include/CreditsMenu.h:17: error: ISO C++ forbids declaration of ` PARAGUI_CALLBACK' with no type libMoaggGui/src/CreditsMenu.cpp: In constructor `CreditsMenu::CreditsMenu()': libMoaggGui/src/CreditsMenu.cpp:9: error: `MSG_BUTTONCLICK' undeclared (first use this function) libMoaggGui/src/CreditsMenu.cpp:9: error: `MSG_CALLBACK_OBJ' undeclared (first use this function) libMoaggGui/src/CreditsMenu.cpp:9: error: `onReturn' is not a member of type ` CreditsMenu' libMoaggGui/src/CreditsMenu.cpp:9: error: `SetEventObject' undeclared (first use this function) libMoaggGui/src/CreditsMenu.cpp: At global scope: libMoaggGui/src/CreditsMenu.cpp:28: error: `onReturn' is not a member of type ` CreditsMenu' libMoaggGui/src/CreditsMenu.cpp:29: error: ISO C++ forbids declaration of ` PARAGUI_CALLBACK' with no type libMoaggGui/src/CreditsMenu.cpp:29: error: syntax error before `{' token make: *** [libMoaggGui/src/CreditsMenu.o] Error 1 !!! ERROR: games-misc/moagg-0.12 failed. !!! Function src_compile, Line 26, Exitcode 2 !!! (no error message) Samme feil med CFLAGS/CXXFLAGS="" også. bash-2.05b# emerge --info Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040619-r0, 2.6.7) ================================================================= System uname: 2.6.7 i686 Intel(R) Pentium(R) 4 CPU 2.26GHz Gentoo Base System version 1.5.1 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -ffast-math" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.du.se/pub/os/gentoo http://mirror.gentoo.no/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa arts avi berkdb cdr crypt cups dga encode foomaticdb gdbm gif gimpprint gphoto2 gpm gstreamer gtk gtk2 imlib java joystick jpeg kde libg++ libwww mad mikmod mmx motif mozilla moznocompose moznoirc moznomail mpeg ncurses nls nptl oggvorbis ooo-kde opengl pam pdflib perl pic png python qt quicktime readline samba sdl slang spell sse ssl svga tcpd truetype x86 xml2 xmms xv zlib" Paragui-1.1.7-ebuilden har forøvrig et problem, da den ikke inkluderer libsigc++-1.2.5 som "dependency", og vil feile under configure om en ikke installerer libsigc++-1.2.5 først. Endret 23. juli 2004 av drall Lenke til kommentar
gspr Skrevet 23. juli 2004 Forfatter Del Skrevet 23. juli 2004 Det var da virkelig snodig... takker. Lenke til kommentar
drall Skrevet 24. juli 2004 Del Skrevet 24. juli 2004 Jeg testet på nytt med en eldre versjon av paragui. Det vil ikke kompileres med paragui versjon 1.1.7, men fungerer med versjon 1.0.4. Versjon 1.1.7 er ~x86. Lenke til kommentar
gspr Skrevet 24. juli 2004 Forfatter Del Skrevet 24. juli 2004 Aye, har fått høre det samme fra flere kilder, så jeg kontaktet programmets eier. Han er blitt gjort oppmerksom på problemet. Takker for testingen! Lenke til kommentar
Anbefalte innlegg
Opprett en konto eller logg inn for å kommentere
Du må være et medlem for å kunne skrive en kommentar
Opprett konto
Det er enkelt å melde seg inn for å starte en ny konto!
Start en kontoLogg inn
Har du allerede en konto? Logg inn her.
Logg inn nå