aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: Mal wieder ein make-error  (Read 5742 times)

Flo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 22
Mal wieder ein make-error
« on: April 02, 2005, 10:18:33 PM »

Nachdem ich den amuled schon mal zum Laufen bekommen hatte, wollte ich ihn heute auf einem weiteren Rechner installieren. Habe mich wie immer an das How-To dieser Seite gehalten. Leider bekomme ich bei "make" immer einige Fehlermeldungen:
[siehe Anhang]
Dies ist leider nur das Ende, da der Anfang nicht mehr zu sehen ist. Mit
Code: [Select]
make > error.txt wird leider nur ein kleiner Teil gespeichert. Falls es also irgendwie möglich ist, alles zu speichern, bitte sagen...
Tut mir leid, falls ich zu blöd war zum Suchen, aber bei so viel wusste ich einfach nicht, wonach ich genau suchen soll...


Flo

PS: SuSE 9.0
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Mal wieder ein make-error
« Reply #1 on: April 03, 2005, 01:13:39 AM »

welche wx-version nimmst du?

wx selbst kompiliert?

wxGTk oder nur wxBase?
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Mal wieder ein make-error
« Reply #2 on: April 03, 2005, 01:58:16 PM »

poste mal einfach was bei rauskommt:

rpm -qa | grep wx

ls- l /usr/bin/wx*
ls -l /usr/local/bin/wx*

gruss

ps. bitte demnächst die make errors direkt hier im forum zu posten..

Flo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 22
Re: Mal wieder ein make-error
« Reply #3 on: April 03, 2005, 05:10:33 PM »

Hallo,

ich wollte eben nochmal alles von vorne machen. (http://www.amule.org/wiki/index.php/HowTo_Compile_aMuled)
./configure --prefix=/usr/ lief ohne Probleme
make
Code: [Select]
  function)
src/unix/utilsx11.cpp: At global scope:
src/unix/utilsx11.cpp:249: error: parse error before `,' token
src/unix/utilsx11.cpp: In function `bool wxQueryWMspecSupport(...)':
src/unix/utilsx11.cpp:319: error: parse error before `,' token
src/unix/utilsx11.cpp:321: error: cannot declare static function inside another
   function
src/unix/utilsx11.cpp: In function `void wxWMspecSetState(...)':
src/unix/utilsx11.cpp:322: error: `_NET_WM_STATE' undeclared (first use this
   function)
src/unix/utilsx11.cpp:322: error: `XInternAtom' undeclared (first use this
   function)
src/unix/utilsx11.cpp:326: error: parse error before `;' token
src/unix/utilsx11.cpp:330: error: `True' undeclared (first use this function)
src/unix/utilsx11.cpp:335: error: `operation' undeclared (first use this
   function)
src/unix/utilsx11.cpp:336: error: `state' undeclared (first use this function)
src/unix/utilsx11.cpp:337: error: `None' undeclared (first use this function)
src/unix/utilsx11.cpp:341: error: `SubstructureRedirectMask' undeclared (first
   use this function)
src/unix/utilsx11.cpp:342: error: `XSendEvent' undeclared (first use this
   function)
src/unix/utilsx11.cpp:348: error: parse error before `,' token
src/unix/utilsx11.cpp:350: error: cannot declare static function inside another
   function
src/unix/utilsx11.cpp: In function `void wxWMspecSetFullscreen(...)':
src/unix/utilsx11.cpp:351: error: `_NET_WM_STATE_FULLSCREEN' undeclared (first
   use this function)
src/unix/utilsx11.cpp:351: error: `XInternAtom' undeclared (first use this
   function)
src/unix/utilsx11.cpp:354: error: `fullscreen' undeclared (first use this
   function)
src/unix/utilsx11.cpp:361: error: parse error before `)' token
src/unix/utilsx11.cpp:362: error: cannot declare static function inside another
   function
src/unix/utilsx11.cpp: In function `bool wxKwinRunning(...)':
src/unix/utilsx11.cpp:363: error: `KWIN_RUNNING' undeclared (first use this
   function)
src/unix/utilsx11.cpp:363: error: `XInternAtom' undeclared (first use this
   function)
src/unix/utilsx11.cpp:366: error: `Atom' undeclared (first use this function)
src/unix/utilsx11.cpp:366: error: parse error before `;' token
src/unix/utilsx11.cpp:371: error: `type' undeclared (first use this function)
src/unix/utilsx11.cpp:372: error: `XGetWindowProperty' undeclared (first use
   this function)
src/unix/utilsx11.cpp:372: error: `Success' undeclared (first use this
   function)
src/unix/utilsx11.cpp:379: error: `XFree' undeclared (first use this function)
src/unix/utilsx11.cpp:385: error: parse error before `,' token
src/unix/utilsx11.cpp:387: error: cannot declare static function inside another
   function
src/unix/utilsx11.cpp: In function `void wxSetKDEFullscreen(...)':
src/unix/utilsx11.cpp:391: error: `_NET_WM_WINDOW_TYPE' undeclared (first use
   this function)
src/unix/utilsx11.cpp:391: error: `XInternAtom' undeclared (first use this
   function)
src/unix/utilsx11.cpp:392: error: `_NET_WM_WINDOW_TYPE_NORMAL' undeclared
   (first use this function)
src/unix/utilsx11.cpp:393: error: `_KDE_NET_WM_WINDOW_TYPE_OVERRIDE' undeclared
   (first use this function)
src/unix/utilsx11.cpp:394: error: `_NET_WM_STATE_STAYS_ON_TOP' undeclared
   (first use this function)
src/unix/utilsx11.cpp:410: error: `XSync' undeclared (first use this function)
src/unix/utilsx11.cpp:412: error: `w' undeclared (first use this function)
src/unix/utilsx11.cpp:415: error: `XUnmapWindow' undeclared (first use this
   function)
src/unix/utilsx11.cpp:419: error: `XA_ATOM' undeclared (first use this
   function)
src/unix/utilsx11.cpp:420: error: `XChangeProperty' undeclared (first use this
   function)
src/unix/utilsx11.cpp:425: error: `XMapRaised' undeclared (first use this
   function)
src/unix/utilsx11.cpp:443: error: `origRect' undeclared (first use this
   function)
src/unix/utilsx11.cpp:444: error: `XMoveResizeWindow' undeclared (first use
   this function)
src/unix/utilsx11.cpp: In function `wxX11FullScreenMethod
   wxGetFullScreenMethodX11(WXDisplay*, void*)':
src/unix/utilsx11.cpp:453: error: `Window' undeclared (first use this function)
src/unix/utilsx11.cpp:453: error: parse error before `=' token
src/unix/utilsx11.cpp:454: error: `disp' undeclared (first use this function)
src/unix/utilsx11.cpp:454: error: parse error before `)' token
src/unix/utilsx11.cpp:457: error: `XInternAtom' undeclared (first use this
   function)
src/unix/utilsx11.cpp:458: error: `root' undeclared (first use this function)
src/unix/utilsx11.cpp: In function `void wxSetFullScreenStateX11(WXDisplay*,
   void*, void*, bool, wxRect*, wxX11FullScreenMethod)':
src/unix/utilsx11.cpp:487: error: `Window' undeclared (first use this function)
src/unix/utilsx11.cpp:487: error: parse error before `=' token
src/unix/utilsx11.cpp:489: error: parse error before `)' token
src/unix/utilsx11.cpp:497: error: `wnd' undeclared (first use this function)
src/unix/utilsx11.cpp:515:24: Warnung: X11/keysym.h: Datei oder Verzeichnis nicht gefunden
src/unix/utilsx11.cpp:519: error: `KeySym' undeclared (first use this function)
src/unix/utilsx11.cpp:519: error: parse error before `)' token
src/unix/utilsx11.cpp: In function `int wxCharCodeXToWX(...)':
src/unix/utilsx11.cpp:522: error: `keySym' undeclared (first use this function)
src/unix/utilsx11.cpp:524: error: `XK_Shift_L' undeclared (first use this
   function)
src/unix/utilsx11.cpp:525: error: `XK_Shift_R' undeclared (first use this
   function)
src/unix/utilsx11.cpp:527: error: `XK_Control_L' undeclared (first use this
   function)
src/unix/utilsx11.cpp:528: error: `XK_Control_R' undeclared (first use this
   function)
src/unix/utilsx11.cpp:530: error: `XK_Meta_L' undeclared (first use this
   function)
src/unix/utilsx11.cpp:531: error: `XK_Meta_R' undeclared (first use this
   function)
src/unix/utilsx11.cpp:533: error: `XK_BackSpace' undeclared (first use this
   function)
src/unix/utilsx11.cpp:535: error: `XK_Delete' undeclared (first use this
   function)
src/unix/utilsx11.cpp:537: error: `XK_Clear' undeclared (first use this
   function)
src/unix/utilsx11.cpp:539: error: `XK_Tab' undeclared (first use this function)
src/unix/utilsx11.cpp:541: error: `XK_numbersign' undeclared (first use this
   function)
src/unix/utilsx11.cpp:543: error: `XK_Return' undeclared (first use this
   function)
src/unix/utilsx11.cpp:545: error: `XK_Escape' undeclared (first use this
   function)
src/unix/utilsx11.cpp:547: error: `XK_Pause' undeclared (first use this
   function)
src/unix/utilsx11.cpp:548: error: `XK_Break' undeclared (first use this
   function)
src/unix/utilsx11.cpp:550: error: `XK_Num_Lock' undeclared (first use this
   function)
src/unix/utilsx11.cpp:552: error: `XK_Scroll_Lock' undeclared (first use this
   function)
src/unix/utilsx11.cpp:555: error: `XK_Home' undeclared (first use this
   function)
src/unix/utilsx11.cpp:557: error: `XK_End' undeclared (first use this function)
src/unix/utilsx11.cpp:559: error: `XK_Left' undeclared (first use this
   function)
src/unix/utilsx11.cpp:561: error: `XK_Right' undeclared (first use this
   function)
src/unix/utilsx11.cpp:563: error: `XK_Up' undeclared (first use this function)
src/unix/utilsx11.cpp:565: error: `XK_Down' undeclared (first use this
   function)
src/unix/utilsx11.cpp:567: error: `XK_Next' undeclared (first use this
   function)
src/unix/utilsx11.cpp:569: error: `XK_Prior' undeclared (first use this
   function)
src/unix/utilsx11.cpp:571: error: `XK_Menu' undeclared (first use this
   function)
src/unix/utilsx11.cpp:573: error: `XK_Select' undeclared (first use this
   function)
src/unix/utilsx11.cpp:575: error: `XK_Cancel' undeclared (first use this
   function)
src/unix/utilsx11.cpp:577: error: `XK_Print' undeclared (first use this
   function)
src/unix/utilsx11.cpp:579: error: `XK_Execute' undeclared (first use this
   function)
src/unix/utilsx11.cpp:581: error: `XK_Insert' undeclared (first use this
   function)
src/unix/utilsx11.cpp:583: error: `XK_Help' undeclared (first use this
   function)
src/unix/utilsx11.cpp:586: error: `XK_KP_Multiply' undeclared (first use this
   function)
src/unix/utilsx11.cpp:588: error: `XK_KP_Add' undeclared (first use this
   function)
src/unix/utilsx11.cpp:590: error: `XK_KP_Subtract' undeclared (first use this
   function)
src/unix/utilsx11.cpp:592: error: `XK_KP_Divide' undeclared (first use this
   function)
src/unix/utilsx11.cpp:594: error: `XK_KP_Decimal' undeclared (first use this
   function)
src/unix/utilsx11.cpp:596: error: `XK_KP_Equal' undeclared (first use this
   function)
src/unix/utilsx11.cpp:598: error: `XK_KP_Space' undeclared (first use this
   function)
src/unix/utilsx11.cpp:600: error: `XK_KP_Tab' undeclared (first use this
   function)
src/unix/utilsx11.cpp:602: error: `XK_KP_Enter' undeclared (first use this
   function)
src/unix/utilsx11.cpp:604: error: `XK_KP_0' undeclared (first use this
   function)
src/unix/utilsx11.cpp:606: error: `XK_KP_1' undeclared (first use this
   function)
src/unix/utilsx11.cpp:608: error: `XK_KP_2' undeclared (first use this
   function)
src/unix/utilsx11.cpp:610: error: `XK_KP_3' undeclared (first use this
   function)
src/unix/utilsx11.cpp:612: error: `XK_KP_4' undeclared (first use this
   function)
src/unix/utilsx11.cpp:614: error: `XK_KP_5' undeclared (first use this
   function)
src/unix/utilsx11.cpp:616: error: `XK_KP_6' undeclared (first use this
   function)
src/unix/utilsx11.cpp:618: error: `XK_KP_7' undeclared (first use this
   function)
src/unix/utilsx11.cpp:620: error: `XK_KP_8' undeclared (first use this
   function)
src/unix/utilsx11.cpp:622: error: `XK_KP_9' undeclared (first use this
   function)
src/unix/utilsx11.cpp:624: error: `XK_F1' undeclared (first use this function)
src/unix/utilsx11.cpp:626: error: `XK_F2' undeclared (first use this function)
src/unix/utilsx11.cpp:628: error: `XK_F3' undeclared (first use this function)
src/unix/utilsx11.cpp:630: error: `XK_F4' undeclared (first use this function)
src/unix/utilsx11.cpp:632: error: `XK_F5' undeclared (first use this function)
src/unix/utilsx11.cpp:634: error: `XK_F6' undeclared (first use this function)
src/unix/utilsx11.cpp:636: error: `XK_F7' undeclared (first use this function)
src/unix/utilsx11.cpp:638: error: `XK_F8' undeclared (first use this function)
src/unix/utilsx11.cpp:640: error: `XK_F9' undeclared (first use this function)
src/unix/utilsx11.cpp:642: error: `XK_F10' undeclared (first use this function)
src/unix/utilsx11.cpp:644: error: `XK_F11' undeclared (first use this function)
src/unix/utilsx11.cpp:646: error: `XK_F12' undeclared (first use this function)
src/unix/utilsx11.cpp:648: error: `XK_F13' undeclared (first use this function)
src/unix/utilsx11.cpp:650: error: `XK_F14' undeclared (first use this function)
src/unix/utilsx11.cpp:652: error: `XK_F15' undeclared (first use this function)
src/unix/utilsx11.cpp:654: error: `XK_F16' undeclared (first use this function)
src/unix/utilsx11.cpp:656: error: `XK_F17' undeclared (first use this function)
src/unix/utilsx11.cpp:658: error: `XK_F18' undeclared (first use this function)
src/unix/utilsx11.cpp:660: error: `XK_F19' undeclared (first use this function)
src/unix/utilsx11.cpp:662: error: `XK_F20' undeclared (first use this function)
src/unix/utilsx11.cpp:664: error: `XK_F21' undeclared (first use this function)
src/unix/utilsx11.cpp:666: error: `XK_F22' undeclared (first use this function)
src/unix/utilsx11.cpp:668: error: `XK_F23' undeclared (first use this function)
src/unix/utilsx11.cpp:670: error: `XK_F24' undeclared (first use this function)
src/unix/utilsx11.cpp:679: error: parse error before `)' token
include/wx/clntdata.h:37: confused by earlier errors, bailing out
make: *** [coredll_utilsx11.o] Fehler 1

Quote
Originally posted by deltaHF
poste mal einfach was bei rauskommt:

rpm -qa | grep wx

ls- l /usr/bin/wx*
ls -l /usr/local/bin/wx*
Code: [Select]
$ rpm -qa | grep wx
wxBase-2.4.2-1
wxGTK-2.4.2-1
wxGTK-devel-2.4.2-1
Code: [Select]
$ ls -l /usr/bin/wx*
-rwxr-xr-x    1 root     root         4864 2003-11-28 13:08 /usr/bin/wxbase-2.4-config
lrwxrwxrwx    1 root     root           26 2005-04-03 15:13 /usr/bin/wx-config -> /usr/bin/wxbase-2.4-config
-rwxr-xr-x    1 root     root         5159 2003-09-21 15:14 /usr/bin/wxgtk-2.4-config
Code: [Select]
$ ls -l /usr/local/bin/wx*
/bin/ls: /usr/local/bin/wx*: Datei oder Verzeichnis nicht gefunden

Quote
Originally posted by deltaHF
ps. bitte demnächst die make errors direkt hier im forum zu posten..
ok, mach ich.

Flo
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Mal wieder ein make-error
« Reply #4 on: April 03, 2005, 05:15:45 PM »

ähmmm naja also ....
du hast ja noch alles voller wx-rpms installiert, und die solltest du erstemal deinstallieren bevor man ein neus wx-installiert.

das ist das erste.

2tens:
compilierst du da welche wxBase oder welche wxGTK version? und aknnst du den fehler etwas weiter oben posten, das wichitgste fehlt bei deinem log

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Flo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 22
Re: Mal wieder ein make-error
« Reply #5 on: April 03, 2005, 05:57:33 PM »

langsam muss ich dann doch lachen:
Datei: wxBase-2.5.4 (wie im How-To beschrieben)
Code: [Select]
$ make
./bk-deps g++ -c -o basedll_appbase.o  -D__WX__            -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1 -fPIC -DPIC -Ilib/wx/include/base-ansi-release-2.5 -I./include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -O2 -pthread -Wall -Wno-ctor-dtor-privacy ./src/common/appbase.cpp
./bk-deps g++ -c -o basedll_archive.o  -D__WX__            -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1 -fPIC -DPIC -Ilib/wx/include/base-ansi-release-2.5 -I./include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -O2 -pthread -Wall -Wno-ctor-dtor-privacy ./src/common/archive.cpp
src/common/archive.cpp:28:30: wx/html/forcelnk.h: Datei oder Verzeichnis nicht gefunden
src/common/archive.cpp:34: error: `zipstrm' was not declared in this scope
src/common/archive.cpp:41: error: ISO C++ forbids declaration of `FORCE_LINK'
   with no type
src/common/archive.cpp:41: error: Syntaxfehler before `::' token
make: *** [basedll_archive.o] Fehler 1
Jedes mal ein anderer Fehler...
Die rpms habn ich inzwischen deinstalliert
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Mal wieder ein make-error
« Reply #6 on: April 03, 2005, 06:26:30 PM »

hum also irgentiwe stimmt was in deinem wxBaee dings net...

da fehlt (wieso auch immer) eine datei in deinem wxBase verzeichniss....

copiere dies angehängt datei nach

wxBase/include/wx/html/


und dann nochmal make

dann sollt es durchlaufen...

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Flo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 22
Re: Mal wieder ein make-error
« Reply #7 on: April 03, 2005, 06:37:55 PM »

wo sollte das Verzeichnis sein?
Da, wo ich den Tarball entpackt habe? Da ist nämlich nur ein xml-Verzeichnis...
Soll ich die Datei dann einfach dorthin kopieren?
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Mal wieder ein make-error
« Reply #8 on: April 03, 2005, 06:39:55 PM »

huh? wie das is nur ein xml-verzeichniss?

in deinem wxBase verzeichniss sollte auch andere sein wie src, lib, include usw....
in in deinem include verzeichniss hats einen ordner wx und dan packst dann die datei rein
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Mal wieder ein make-error
« Reply #9 on: April 03, 2005, 06:43:09 PM »

du hast wxbase 2.5.4 schon von wxWidgets geladen oder?? :)
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Flo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 22
Re: Mal wieder ein make-error
« Reply #10 on: April 03, 2005, 06:43:14 PM »

achso, direkt in den wx-Ordner?
oben stand nämlich /wxBase/include/wx/html/
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Mal wieder ein make-error
« Reply #11 on: April 03, 2005, 06:46:17 PM »

naja da soll die datei rein...
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Flo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 22
Re: Mal wieder ein make-error
« Reply #12 on: April 03, 2005, 06:52:48 PM »

jetzt nochmal von vorne:
ich kopiere die datei forcelnk.h in das Verzeichnis?
wxBase/include/wx/html/ [nicht vorhanden]
wxBase/include/wx/         [funktioniert nicht]
wo ganz anders hin
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Mal wieder ein make-error
« Reply #13 on: April 03, 2005, 07:44:23 PM »

hmm eigentlich in

include/wx/html

erstel es halt zur not ;)
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Flo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 22
Re: Mal wieder ein make-error
« Reply #14 on: April 05, 2005, 07:41:14 PM »

wow, es tut.

Nur eine Frage noch: wieso habe ich, wenn ich den amuled starte gleich mehrere Threads laufen (wenn ich "top" in der Konsole eingebe, kommen da ein gutes Dutzend amuleds...

Naja, bis jetzt läuft er. Nochmal danke!
Logged
Pages: [1] 2