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 3 4

Author Topic: aMule-CVS-20060610 dies during 'make' on SuSE 10.0 and 9.3  (Read 22586 times)

IhmSelbst

  • Full Member
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 220
    • http://www.ed2k-serverboard.de/
aMule-CVS-20060610 dies during 'make' on SuSE 10.0 and 9.3
« on: June 10, 2006, 07:41:12 AM »

Hi,
as mentioned above, todays CVS dies during 'make' on SuSE 10.0 and 9.3

Its last words:

Quote
In file included from CFile.h:29,
                 from PartFile.h:34,
                 from ThreadTasks.cpp:32:
SafeFile.h:204:2: warning: #warning DOCS
ThreadTasks.cpp:309:10: warning: #warning Thread-safety needed
ThreadTasks.cpp:427:18: warning: #warning Thread-safety needed
if g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/local/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/local/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1   -DwxUSE_GUI=0  -I./libs -Ilibs -DAMULE_DAEMON  -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef   -MT amuled-BaseClient.o -MD -MP -MF ".deps/amuled-BaseClient.Tpo" -c -o amuled-BaseClient.o `test -f 'BaseClient.cpp' || echo './'`BaseClient.cpp; \
then mv -f ".deps/amuled-BaseClient.Tpo" ".deps/amuled-BaseClient.Po"; else rm -f ".deps/amuled-BaseClient.Tpo"; exit 1; fi
In file included from CFile.h:29,
                 from PartFile.h:34,
                 from amule.cpp:78:
SafeFile.h:204:2: warning: #warning DOCS
In file included from amule.cpp:79:
FriendList.h:63:10: warning: #warning THIS MUST BE MADE PRIVATE AFTER EC IS CODED
In file included from amule.cpp:93:
UPnP.h:38:23: upnp/upnp.h: No such file or directory
In file included from amule.cpp:93:
UPnP.h:115: error: `IXML_Element' was not declared in this scope
UPnP.h:115: error: `element' was not declared in this scope
UPnP.h:115: error: invalid data member initialization
UPnP.h:115: error: (use `=' to initialize static data members)
UPnP.h:117: error: `IXML_Element' was not declared in this scope
UPnP.h:117: error: `element' was not declared in this scope
UPnP.h:117: error: syntax error before `tag'
UPnP.h:118: error: syntax error before `*' token
UPnP.h:120: error: syntax error before `*' token
UPnP.h:123: error: `IXML_Element' was not declared in this scope
UPnP.h:123: error: `element' was not declared in this scope
UPnP.h:123: error: syntax error before `tag'
UPnP.h:126: error: syntax error before `*' token
UPnP.h:127: error: syntax error before `*' token
UPnP.h:128: error: `m_ixmlNode_getNodeName' was not declared in this scope
UPnP.h:128: error: `IXML_Node' was not declared in this scope
UPnP.h:128: error: `nodeptr' was not declared in this scope
UPnP.h:128: error: variable declaration is not allowed here
UPnP.h:129: error: `m_ixmlNode_getNodeValue' was not declared in this scope
UPnP.h:129: error: `IXML_Node' was not declared in this scope
UPnP.h:129: error: `nodeptr' was not declared in this scope
UPnP.h:129: error: variable declaration is not allowed here
UPnP.h:130: error: syntax error before `*' token
UPnP.h:131: error: `IXML_Document' was not declared in this scope
UPnP.h:131: error: `doc' was not declared in this scope
UPnP.h:131: error: variable declaration is not allowed here
UPnP.h:132: error: syntax error before `*' token
UPnP.h:134: error: `IXML_NamedNodeMap' was not declared in this scope
UPnP.h:134: error: `nnMap' was not declared in this scope
UPnP.h:134: error: variable declaration is not allowed here
UPnP.h:142: error: `Upnp_FunPtr' was not declared in this scope
UPnP.h:142: error: syntax error before `,' token
UPnP.h:144: error: `UpnpClient_Handle' was not declared in this scope
UPnP.h:144: error: syntax error before `)' token
UPnP.h:145: error: `UpnpClient_Handle' was not declared in this scope
UPnP.h:145: error: syntax error before `,' token
UPnP.h:147: error: `UpnpClient_Handle' was not declared in this scope
UPnP.h:147: error: syntax error before `,' token
UPnP.h:149: error: `UpnpClient_Handle' was not declared in this scope
UPnP.h:149: error: syntax error before `,' token
UPnP.h:150: error: syntax error before `*' token
UPnP.h:152: error: `IXML_Document' was not declared in this scope
UPnP.h:152: error: `ActionDoc' was not declared in this scope
UPnP.h:152: error: syntax error before `*' token
UPnP.h:154: error: `UpnpClient_Handle' was not declared in this scope
UPnP.h:154: error: syntax error before `,' token
UPnP.h:157: error: type specifier omitted for parameter `IXML_Document'
UPnP.h:157: error: syntax error before `*' token
UPnP.h:169: error: type specifier omitted for parameter `IXML_Element'
UPnP.h:169: error: syntax error before `*' token
UPnP.h:177: error: type specifier omitted for parameter `IXML_Element'
UPnP.h:177: error: syntax error before `*' token
UPnP.h:177: confused by earlier errors, bailing out
make[3]: *** [amuled-amule.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from MemFile.h:30,
                 from BaseClient.cpp:45:
SafeFile.h:204:2: warning: #warning DOCS
In file included from BaseClient.cpp:57:
FriendList.h:63:10: warning: #warning THIS MUST BE MADE PRIVATE AFTER EC IS CODED
make[3]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/amule-cvs'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.90138 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.90138 (%build)


cu

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: aMule-CVS-20060610 dies during 'make' on SuSE 10.0 and 9.3
« Reply #1 on: June 10, 2006, 09:58:58 AM »

That's because of the new UPnP support. It doesn't seem to have autoconf integration yet.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: aMule-CVS-20060610 dies during 'make' on SuSE 10.0 and 9.3
« Reply #2 on: June 10, 2006, 10:09:52 AM »

evil phoenix  :rolleyes:
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."

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: aMule-CVS-20060610 dies during 'make' on SuSE 10.0 and 9.3
« Reply #3 on: June 10, 2006, 10:36:55 AM »

Install libupnp-1.4.0.tar.gz from

http://sourceforge.net/projects/pupnp/

and try again.
Logged

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
Re: aMule-CVS-20060610 dies during 'make' on SuSE 10.0 and 9.3
« Reply #4 on: June 10, 2006, 10:46:41 AM »

Slow there, no need to install any external library. From what I can see (and my limited knowledge) this is just an error gcc 3.4+ spews out due to stricter checks and wasn't picked up when pho3nix tested it with gcc-3.3.

Just use yesterdays snapshot, the UPnP-implementation isn't functional yet and that was all that was added the last three days. And i guess once it is finished it won't need an external library.
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: aMule-CVS-20060610 dies during 'make' on SuSE 10.0 and 9.3
« Reply #5 on: June 10, 2006, 10:49:44 AM »

thedude0001, look at the error:
Code: [Select]
UPnP.h:38:23: upnp/upnp.h: No such file or directoryIt definitely looks for an external header file.

Might be a leftover, I don't know. I was already starting to work on a package, but let's wait and see. ;)

Btw. the gcc-3.3 vs. gcc-3.4 thing is unlogical because 9.3 has gcc-3.3. 10.0 has gcc-4.0, and it fails with both.
« Last Edit: June 10, 2006, 11:06:26 AM by Gerd78 »
Logged

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Re: aMule-CVS-20060610 dies during 'make' on SuSE 10.0 and 9.3
« Reply #6 on: June 10, 2006, 11:36:39 AM »

Same punishment on Mandriva 2006.0 :

Quote
UPnP.h:38:23: error: upnp/upnp.h: Aucun fichier ou répertoire de ce type
UPnP.h:115: error: 'IXML_Element' has not been declared
UPnP.h:117: error: 'IXML_Element' has not been declared
« Last Edit: June 10, 2006, 11:36:55 AM by OldFrog »
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: aMule-CVS-20060610 dies during 'make' on SuSE 10.0 and 9.3
« Reply #7 on: June 10, 2006, 11:39:15 AM »

OldFrog, Mandriva ships with upnp headers already. Could you please install libupnp0-devel and see if it compiles then? Running ./configure again should not be necessary.
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1550
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: aMule-CVS-20060610 dies during 'make' on SuSE 10.0 and 9.3
« Reply #8 on: June 10, 2006, 11:52:30 AM »

Same her on debian.
Logged
Homefucking is killing prostitution

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Re: aMule-CVS-20060610 dies during 'make' on SuSE 10.0 and 9.3
« Reply #9 on: June 10, 2006, 12:18:10 PM »

Quote
Originally posted by Gerd78
OldFrog, Mandriva ships with upnp headers already. Could you please install libupnp0-devel and see if it compiles then? Running ./configure again should not be necessary.

Exactly what I was doing :D Actually libupnp0-devel-1.2.1a, provided by plf.

Anyway, I get a lot of errors :

Quote
In file included from /usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../inc
lude/c++/4.0.1/memory:60,
                 from /usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../inc
lude/c++/4.0.1/string:47,
                 from /usr/include/wx-2.7/wx/string.h:170,
                 from UPnP.h:41,
                 from UPnP.cpp:30:
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
289:22: error: macro "min" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
291:22: error: macro "max" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
319:23: error: macro "min" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
321:23: error: macro "max" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
373:23: error: macro "min" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
375:23: error: macro "max" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
424:30: error: macro "min" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
426:30: error: macro "max" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
475:32: error: macro "min" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
477:32: error: macro "max" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
526:26: error: macro "min" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
528:26: error: macro "max" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
577:24: error: macro "min" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
579:24: error: macro "max" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
628:33: error: macro "min" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
630:33: error: macro "max" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
679:22: error: macro "min" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
681:22: error: macro "max" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
730:31: error: macro "min" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
732:31: error: macro "max" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
781:23: error: macro "min" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
783:23: error: macro "max" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
832:32: error: macro "min" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
834:32: error: macro "max" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
883:28: error: macro "min" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
885:28: error: macro "max" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
934:37: error: macro "min" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
936:37: error: macro "max" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
985:24: error: macro "min" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
987:24: error: macro "max" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
1042:25: error: macro "min" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
1044:25: error: macro "max" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
1099:30: error: macro "min" requires 2 arguments, but only 1 given
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
1101:30: error: macro "max" requires 2 arguments, but only 1 given
In file included from /usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../inc
lude/c++/4.0.1/string:47,
                 from /usr/include/wx-2.7/wx/string.h:170,
                 from UPnP.h:41,
                 from UPnP.cpp:30:
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/memory:
76:62: error: macro "max" requires 2 arguments, but only 1 given
UPnP.cpp:551:2: warning: #warning Chech this limit.
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
289: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
291: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
291: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
294: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
319: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
321: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
321: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
324: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
373: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
375: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
375: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
378: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
424: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
426: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
426: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
429: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
475: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
477: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
477: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
480: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
526: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
528: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
528: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
531: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
577: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
579: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
579: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
582: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
628: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
630: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
630: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
633: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
679: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
681: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
681: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
684: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
730: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
732: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
732: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
735: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
781: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
783: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
783: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
786: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
832: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
834: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
834: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
837: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
883: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
885: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
885: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
888: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
934: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
936: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
936: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
939: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
985: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
987: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
987: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
990: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
1042: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
1044: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
1044: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
1047: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
1099: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
1101: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
1101: error: expected ';' before 'throw'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/limits:
1104: error: expected `;' before 'static'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/memory:
 In function 'std::pair<_Tp*, ptrdiff_t> std::__get_temporary_buffer(ptrdiff_t,
_Tp*)':
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/memory:
76: error: 'max' is not a member of 'std::numeric_limits'
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/ba
sic_string.h: In member function 'int std::basic_string<_CharT, _Traits, _Alloc>
::compare(const std::basic_string<_CharT, _Traits, _Alloc>&) const':
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/ba
sic_string.h:1925: error: expected unqualified-id before '(' token
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/st
l_algo.h: In function 'void std::__merge_sort_loop(_RandomAccessIterator1, _Rand
omAccessIterator1, _RandomAccessIterator2, _Distance)':
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/st
l_algo.h:3088: error: expected unqualified-id before '(' token
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/st
l_algo.h: In function 'void std::__merge_sort_loop(_RandomAccessIterator1, _Rand
omAccessIterator1, _RandomAccessIterator2, _Distance, _Compare)':
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/st
l_algo.h:3111: error: expected unqualified-id before '(' token
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/ba
sic_string.tcc: In member function 'typename std::basic_string<_CharT, _Traits,
_Alloc>::size_type std::basic_string<_CharT, _Traits, _Alloc>::rfind(const _Char
T*, typename _Alloc::size_type, typename _Alloc::size_type) const':
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/ba
sic_string.tcc:753: error: expected unqualified-id before '(' token
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/ba
sic_string.tcc: In member function 'int std::basic_string<_CharT, _Traits, _Allo
c>::compare(typename _Alloc::size_type, typename _Alloc::size_type, const std::b
asic_string<_CharT, _Traits, _Alloc>&) const':
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/ba
sic_string.tcc:890: error: expected unqualified-id before '(' token
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/ba
sic_string.tcc: In member function 'int std::basic_string<_CharT, _Traits, _Allo
c>::compare(typename _Alloc::size_type, typename _Alloc::size_type, const std::b
asic_string<_CharT, _Traits, _Alloc>&, typename _Alloc::size_type, typename _All
oc::size_type) const':
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/ba
sic_string.tcc:907: error: expected unqualified-id before '(' token
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/ba
sic_string.tcc: In member function 'int std::basic_string<_CharT, _Traits, _Allo
c>::compare(const _CharT*) const':
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/ba
sic_string.tcc:923: error: expected unqualified-id before '(' token
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/ba
sic_string.tcc: In member function 'int std::basic_string<_CharT, _Traits, _Allo
c>::compare(typename _Alloc::size_type, typename _Alloc::size_type, const _CharT
*) const':
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/ba
sic_string.tcc:939: error: expected unqualified-id before '(' token
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/ba
sic_string.tcc: In member function 'int std::basic_string<_CharT, _Traits, _Allo
c>::compare(typename _Alloc::size_type, typename _Alloc::size_type, const _CharT
*, typename _Alloc::size_type) const':
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/ba                                                                           sic_string.tcc:955: error: expected unqualified-id before '(' token
UPnP.cpp: At global scope:
UPnP.cpp:518: warning: unused parameter 'ServiceName'
UPnP.cpp:518: warning: unused parameter 'ArgValue'
UPnP.cpp: In member function 'bool CUPnPControlPoint::AcquirePortList(const amul                                                                           eIPV4Address*, int)':
UPnP.cpp:710: warning: unused variable 'protocol'
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: aMule-CVS-20060610 dies during 'make' on SuSE 10.0 and 9.3
« Reply #10 on: June 10, 2006, 01:24:38 PM »

*yawn*

Do I have to do EVERYTHING for you, guys? :P
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: aMule-CVS-20060610 dies during 'make' on SuSE 10.0 and 9.3
« Reply #11 on: June 10, 2006, 10:01:31 PM »

I've made a simple spec file, use it to build RPMs as you wish.

There are still some bugs to fix that might need patches (RPM_OPT_FLAGS being overwritten, C++ comments in C headers, doc files with DOS line endings and non-UTF-8 encodings, ...), but these are minor.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: aMule-CVS-20060610 dies during 'make' on SuSE 10.0 and 9.3
« Reply #12 on: June 10, 2006, 10:35:52 PM »

There's no real need for libupnp for building (as of tomorrow), but yes for USING UPnP. just a warning.
Logged

IhmSelbst

  • Full Member
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 220
    • http://www.ed2k-serverboard.de/
aMule-CVS-20060611 dies during 'make' on SuSE 10.0 and 9.3
« Reply #13 on: June 11, 2006, 08:20:01 AM »

Well, after all, only the errors changed a bit with today´s cvs:
Code: [Select]
if g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/local/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/local/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1   -DwxUSE_GUI=0  -I./libs -Ilibs -DAMULE_DAEMON  -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef   -MT amuled-Kademlia.o -MD -MP -MF ".deps/amuled-Kademlia.Tpo" -c -o amuled-Kademlia.o `test -f 'kademlia/kademlia/Kademlia.cpp' || echo './'`kademlia/kademlia/Kademlia.cpp; \
then mv -f ".deps/amuled-Kademlia.Tpo" ".deps/amuled-Kademlia.Po"; else rm -f ".deps/amuled-Kademlia.Tpo"; exit 1; fi
UPnP.cpp: In constructor `CUPnPLib::CUPnPLib(CUPnPControlPoint&)':
UPnP.cpp:144: error: ISO C++ forbids casting between pointer-to-function and
   pointer-to-object
UPnP.cpp:147: error: ISO C++ forbids casting between pointer-to-function and
   pointer-to-object
UPnP.cpp:150: error: ISO C++ forbids casting between pointer-to-function and
   pointer-to-object
UPnP.cpp:153: error: ISO C++ forbids casting between pointer-to-function and
   pointer-to-object
UPnP.cpp:156: error: ISO C++ forbids casting between pointer-to-function and
   pointer-to-object
UPnP.cpp:159: error: ISO C++ forbids casting between pointer-to-function and
   pointer-to-object
UPnP.cpp:162: error: ISO C++ forbids casting between pointer-to-function and
   pointer-to-object
UPnP.cpp:165: error: ISO C++ forbids casting between pointer-to-function and
   pointer-to-object
UPnP.cpp:170: error: ISO C++ forbids casting between pointer-to-function and
   pointer-to-object
UPnP.cpp:173: error: ISO C++ forbids casting between pointer-to-function and
   pointer-to-object
UPnP.cpp:176: error: ISO C++ forbids casting between pointer-to-function and
   pointer-to-object
UPnP.cpp:179: error: ISO C++ forbids casting between pointer-to-function and
   pointer-to-object
UPnP.cpp:182: error: ISO C++ forbids casting between pointer-to-function and
   pointer-to-object
UPnP.cpp:185: error: ISO C++ forbids casting between pointer-to-function and
   pointer-to-object
UPnP.cpp:188: error: ISO C++ forbids casting between pointer-to-function and
   pointer-to-object
UPnP.cpp:191: error: ISO C++ forbids casting between pointer-to-function and
   pointer-to-object
UPnP.cpp:194: error: ISO C++ forbids casting between pointer-to-function and
   pointer-to-object
UPnP.cpp:197: error: ISO C++ forbids casting between pointer-to-function and
   pointer-to-object
UPnP.cpp:200: error: ISO C++ forbids casting between pointer-to-function and
   pointer-to-object
UPnP.cpp:203: error: ISO C++ forbids casting between pointer-to-function and
   pointer-to-object
UPnP.cpp:207: error: ISO C++ forbids casting between pointer-to-function and
   pointer-to-object
UPnP.cpp:210: error: ISO C++ forbids casting between pointer-to-function and
   pointer-to-object
UPnP.cpp:213: error: ISO C++ forbids casting between pointer-to-function and
   pointer-to-object
UPnP.cpp: In member function `const wxString CUPnPService::Execute(const
   wxString&, const std::vector   std::allocator >&) const':
UPnP.cpp:518: warning: unused parameter `const wxString&ServiceName'
UPnP.cpp:518: warning: unused parameter `const std::vector   std::allocator >&ArgValue'
UPnP.cpp:550:2: warning: #warning Chech this limit.
UPnP.cpp: In member function `bool CUPnPControlPoint::AcquirePortList(const
   amuleIPV4Address*, int)':
UPnP.cpp:709: warning: unused variable `char*protocol[4]'
make[3]: *** [amuled-UPnP.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/amule-cvs'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.74033 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.74033 (%build)


btw:
Quote
... Does aMule support Universal Plug and Play (UPnP)?

Short answer: No.

Long answer: Universal Plug and Play is a severe security bug in any system supporting it so it is extremely recommended not to enable UPnP in any device (even the FBI says so!). So, if it should not be enabled, there is no sense for any application to support it, since it should not be used. ...
--> aMule and UPnP? :] ;( ?(


cu

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Re: aMule-CVS-20060610 dies during 'make' on SuSE 10.0 and 9.3
« Reply #14 on: June 11, 2006, 12:24:39 PM »

And I get this one (With UPnp-devel from PLF):

Quote
Scanner.cpp:527:5: warning: "YY_STACK_USED" is not defined
Scanner.cpp:1460:5: warning: "YY_ALWAYS_INTERACTIVE" is not defined
Scanner.cpp:1754:5: warning: "YY_MAIN" is not defined
./Scanner.l:205:5: warning: "YY_STACK_USED" is not defined
./Scanner.l: In function 'void LexFree()':
./Scanner.l:191: error: 'yylex_destroy' was not declared in this scope
Scanner.cpp: At global scope:
Scanner.cpp:1653: warning: 'void yy_fatal_error(const char*)' defined but not used
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)
Pages: [1] 2 3 4