aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: [solved] CVS-20070430 dies during 'make' on SuSE 9.3  (Read 4454 times)

IhmSelbst

  • Full Member
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 220
    • http://www.ed2k-serverboard.de/
[solved] CVS-20070430 dies during 'make' on SuSE 9.3
« on: April 30, 2007, 09:17:45 AM »

The last words:

Quote
if g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/local/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread -DwxUSE_GUI=0 -I./libs -Ilibs -DAMULE_INSTALL_PREFIX="\"/usr\"" -DAMULE_LOCALEDIR="\"/usr/share/locale\"" -DEC_REMOTE -DECSOCKET_USE_EVENTS=0 -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC   -DUSE_WX_EXTENSIONS -MT amulecmd-NetworkFunctions.o -MD -MP -MF ".deps/amulecmd-NetworkFunctions.Tpo" -c -o amulecmd-NetworkFunctions.o `test -f 'NetworkFunctions.cpp' || echo './'`NetworkFunctions.cpp; \
then mv -f ".deps/amulecmd-NetworkFunctions.Tpo" ".deps/amulecmd-NetworkFunctions.Po"; else rm -f ".deps/amulecmd-NetworkFunctions.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC   -DUSE_WX_EXTENSIONS -MT ED2KLinkParser.o -MD -MP -MF ".deps/ED2KLinkParser.Tpo" -c -o ED2KLinkParser.o ED2KLinkParser.cpp; \
then mv -f ".deps/ED2KLinkParser.Tpo" ".deps/ED2KLinkParser.Po"; else rm -f ".deps/ED2KLinkParser.Tpo"; exit 1; fi
make[3]: *** Keine Regel vorhanden, um das Target collection.cpp,
  ben�igt von collection.o, zu erstellen.  Schluss.
make[3]: *** Warte auf noch nicht beendete Prozesse...
ED2KLinkParser.cpp:44:24: collection.h: Datei oder Verzeichnis nicht gefunden
ED2KLinkParser.cpp: In function `int main(int, char**)':
ED2KLinkParser.cpp:424: error: `collection' undeclared (first use this function)
ED2KLinkParser.cpp:424: error: (Each undeclared identifier is reported only once for each function it appears in.)
ED2KLinkParser.cpp:424: error: `my_collection' undeclared (first use this function)
ED2KLinkParser.cpp:475: error: Syntaxfehler before `;' token
make[3]: *** [ED2KLinkParser.o] Fehler 1
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/src/packages/BUILD/amule-cvs'
make: *** [all] Fehler 2
error: Bad exit status from /var/tmp/rpm-tmp.95287 (%build)


cu
« Last Edit: May 02, 2007, 08:13:41 AM by IhmSelbst »
Logged

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Re: CVS-20070430 dies during 'make' on SuSE 9.3
« Reply #1 on: April 30, 2007, 10:07:27 AM »

Same trouble on Mandriva 2007.1 :

Quote
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef   -DUSE_WX_EXTENSIONS -MT ED2KLinkParser.o -MD -MP -MF ".deps/ED2KLinkParser.Tpo" -c -o ED2KLinkParser.o ED2KLinkParser.cpp; \
        then mv -f ".deps/ED2KLinkParser.Tpo" ".deps/ED2KLinkParser.Po"; else rm -f ".deps/ED2KLinkParser.Tpo"; exit 1; fi
ED2KLinkParser.cpp:44:24: error: collection.h: Aucun fichier ou répertoire de ce type
ED2KLinkParser.cpp: In function ‘int main(int, char**)’:
ED2KLinkParser.cpp:424: error: ‘collection’ was not declared in this scope
ED2KLinkParser.cpp:424: error: ‘my_collection’ was not declared in this scope
ED2KLinkParser.cpp:475: error: expected type-specifier before ‘collection’
ED2KLinkParser.cpp:475: error: expected `;' before ‘collection’
ED2KLinkParser.cpp:484: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
make[3]: *** [ED2KLinkParser.o] Erreur 1
make[3]: quittant le répertoire « /usr/src/rpm/BUILD/amule-cvs/src »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /usr/src/rpm/BUILD/amule-cvs/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /usr/src/rpm/BUILD/amule-cvs »
make: *** [all] Erreur 2
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: CVS-20070430 dies during 'make' on SuSE 9.3
« Reply #2 on: April 30, 2007, 04:46:02 PM »

I'm partly innocent. (I wrote the code, but I didn't mess up the inclusion in the tarball.)

Anyway, Kry made some changes and it will be fixed in tomorrow's tarball.
Logged

IhmSelbst

  • Full Member
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 220
    • http://www.ed2k-serverboard.de/
[solved] Re: CVS-20070501 dies during 'make' on SuSE 9.3
« Reply #3 on: May 01, 2007, 08:21:15 AM »

I'm partly innocent. (I wrote the code, but I didn't mess up the inclusion in the tarball.)

Anyway, Kry made some changes and it will be fixed in tomorrow's tarball.

Hi wuischke,
I'm sorry, but CVS-20070501 here also dies. Here its last messages:

Quote
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC   -DUSE_WX_EXTENSIONS -MT ED2KLinkParser.o -MD -MP -MF ".deps/ED2KLinkParser.Tpo" -c -o ED2KLinkParser.o ED2KLinkParser.cpp; \
then mv -f ".deps/ED2KLinkParser.Tpo" ".deps/ED2KLinkParser.Po"; else rm -f ".deps/ED2KLinkParser.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC   -DUSE_WX_EXTENSIONS -MT MuleCollection.o -MD -MP -MF ".deps/MuleCollection.Tpo" -c -o MuleCollection.o MuleCollection.cpp; \
then mv -f ".deps/MuleCollection.Tpo" ".deps/MuleCollection.Po"; else rm -f ".deps/MuleCollection.Tpo"; exit 1; fi
In file included from ED2KLinkParser.cpp:44:
MuleCollection.h:36: error: syntax error before `)' token
MuleCollection.h:44: error: type specifier omitted for parameter `uint64_t'
MuleCollection.h:44: error: syntax error before `,' token
MuleCollection.h:52: error: 'uint64_t' is used as a type, but is not defined as a type.
ED2KLinkParser.cpp: In function `int main(int, char**)':
ED2KLinkParser.cpp:477: warning: comparison between signed and unsigned integer expressions
make[3]: *** [ED2KLinkParser.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from MuleCollection.cpp:19:
MuleCollection.h:36: error: syntax error before `)' token
MuleCollection.h:44: error: type specifier omitted for parameter `uint64_t'
MuleCollection.h:44: error: syntax error before `,' token
MuleCollection.h:52: error: 'uint64_t' is used as a type, but is not defined as a type.
MuleCollection.cpp: In member function `std::string CMuleCollection::GetEd2kLink(int)':
MuleCollection.cpp:51: warning: comparison between signed and unsigned integer expressions
MuleCollection.cpp:57: error: `GetFileSize' undeclared (first use this function)
MuleCollection.cpp:57: error: (Each undeclared identifier is reported only once for each function it appears in.)
MuleCollection.cpp: In member function `std::string CMuleCollection::GetFileName(int)':
MuleCollection.cpp:66: warning: comparison between signed and unsigned integer expressions
MuleCollection.cpp: At global scope:
MuleCollection.cpp:76: error: syntax error before `::' token
MuleCollection.cpp:81: error: syntax error before `=' token
MuleCollection.cpp: In member function `std::string CMuleCollection::GetFileHash(int)':
MuleCollection.cpp:88: warning: comparison between signed and unsigned integer expressions
MuleCollection.cpp: In member function `bool CMuleCollection::OpenBinary(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
MuleCollection.cpp:105: error: `uint32_t' undeclared (first use this function)
MuleCollection.cpp:105: error: syntax error before `;' token
MuleCollection.cpp:106: error: `cVersion' undeclared (first use this function)
MuleCollection.cpp:117: error: syntax error before `;' token
MuleCollection.cpp:118: error: `hTagCount' undeclared (first use this function)
MuleCollection.cpp:130: error: `uint16_t' undeclared (first use this function)
MuleCollection.cpp:130: error: syntax error before `;' token
MuleCollection.cpp:131: error: `hTagFormat' undeclared (first use this function)
MuleCollection.cpp:146: error: syntax error before `;' token
MuleCollection.cpp:147: error: `hTagStringSize' undeclared (first use this function)
MuleCollection.cpp:160: error: syntax error before `;' token
MuleCollection.cpp:174: error: syntax error before `;' token
MuleCollection.cpp:175: error: `hTagBlobSize' undeclared (first use this function)
MuleCollection.cpp:128: warning: unused variable `int hTagType'
MuleCollection.cpp:196: error: syntax error before `;' token
MuleCollection.cpp:197: error: `cFileCount' undeclared (first use this function)
MuleCollection.cpp:214: error: syntax error before `;' token
MuleCollection.cpp:215: error: `fTagCount' undeclared (first use this function)
MuleCollection.cpp:225: error: `uint64_t' undeclared (first use this function)
MuleCollection.cpp:225: error: syntax error before `;' token
MuleCollection.cpp:260: error: syntax error before `;' token
MuleCollection.cpp:261: error: `fsUint32_t' undeclared (first use this function)
MuleCollection.cpp:262: error: `FileSize' undeclared (first use this function)
MuleCollection.cpp:266: error: syntax error before `;' token
MuleCollection.cpp:267: error: `fsUint16_t' undeclared (first use this function)
MuleCollection.cpp:272: error: `uint8_t' undeclared (first use this function)
MuleCollection.cpp:272: error: syntax error before `=' token
MuleCollection.cpp:273: error: `fsUint8_t' undeclared (first use this function)
MuleCollection.cpp:295: error: syntax error before `;' token
MuleCollection.cpp:296: error: `fTagStringSize' undeclared (first use this function)
MuleCollection.cpp: In member function `bool CMuleCollection::AddLink(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
MuleCollection.cpp:359: warning: comparison between signed and unsigned integer expressions
MuleCollection.cpp:364: warning: comparison between signed and unsigned integer expressions
MuleCollection.cpp:368: error: syntax error before `;' token
MuleCollection.cpp:373: warning: comparison between signed and unsigned integer expressions
MuleCollection.cpp: At global scope:
MuleCollection.cpp:381: error: type specifier omitted for parameter `uint64_t'
MuleCollection.cpp:381: error: syntax error before `,' token
MuleCollection.cpp: In member function `bool CMuleCollection::AddFile(...)':
MuleCollection.cpp:385: error: `FileName' undeclared (first use this function)
MuleCollection.cpp:388: error: `FileHash' undeclared (first use this function)
MuleCollection.cpp:395: error: 'struct CMuleCollection::CollectionFile' has no member named 'FileSize'
MuleCollection.cpp: In member function `bool CMuleCollection::IsValidHash(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
MuleCollection.cpp:409: warning: comparison between signed and unsigned integer expressions
make[3]: *** [MuleCollection.o] Error 1
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.92207 (%build)

A second, manual try gives this output:
Quote
if g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/local/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread -DwxUSE_GUI=0 -I./libs -Ilibs -DAMULE_INSTALL_PREFIX="\"/usr\"" -DAMULE_LOCALEDIR="\"/usr/share/locale\"" -DEC_REMOTE -DECSOCKET_USE_EVENTS=0 -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC   -DUSE_WX_EXTENSIONS -MT amulecmd-NetworkFunctions.o -MD -MP -MF ".deps/amulecmd-NetworkFunctions.Tpo" -c -o amulecmd-NetworkFunctions.o `test -f 'NetworkFunctions.cpp' || echo './'`NetworkFunctions.cpp; \
then mv -f ".deps/amulecmd-NetworkFunctions.Tpo" ".deps/amulecmd-NetworkFunctions.Po"; else rm -f ".deps/amulecmd-NetworkFunctions.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC   -DUSE_WX_EXTENSIONS -MT ED2KLinkParser.o -MD -MP -MF ".deps/ED2KLinkParser.Tpo" -c -o ED2KLinkParser.o ED2KLinkParser.cpp; \
then mv -f ".deps/ED2KLinkParser.Tpo" ".deps/ED2KLinkParser.Po"; else rm -f ".deps/ED2KLinkParser.Tpo"; exit 1; fi
In file included from ED2KLinkParser.cpp:44:
MuleCollection.h:36: error: Syntaxfehler before `)' token
MuleCollection.h:44: error: type specifier omitted for parameter `uint64_t'
MuleCollection.h:44: error: Syntaxfehler before `,' token
MuleCollection.h:52: error: 'uint64_t' is used as a type, but is not defined as a type.
ED2KLinkParser.cpp: In function `int main(int, char**)':
ED2KLinkParser.cpp:477: Warnung: comparison between signed and unsigned integer expressions
make[3]: *** [ED2KLinkParser.o] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
make[3]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/src'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/src/packages/BUILD/amule-cvs'
make: *** [all] Fehler 2
error: Bad exit status from /var/tmp/rpm-tmp.14630 (%build)


cu
« Last Edit: May 02, 2007, 08:14:14 AM by IhmSelbst »
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: CVS-20070430 dies during 'make' on SuSE 9.3
« Reply #4 on: May 01, 2007, 09:44:33 AM »

OK, thanks a lot IhmSelbst.

You're using an "old" gcc, aren't you?

Please try adding a
Code: [Select]
typedef unsigned long long uint64_t; at the top of the MuleCollection.h file and compiling again.
I'll search for a better solution in the meanwhile.

Edit: Well, this should be defined in stdint.h, could please point me to your file?
« Last Edit: May 01, 2007, 09:56:48 AM by wuischke »
Logged

IhmSelbst

  • Full Member
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 220
    • http://www.ed2k-serverboard.de/
Re: CVS-20070430 dies during 'make' on SuSE 9.3
« Reply #5 on: May 01, 2007, 09:53:47 PM »

Hi wuischke again,
You're using an "old" gcc, aren't you?
Was the last SuSE-provided for 9.3,  is gcc-Version 3.3.5 20050117 (prerelease) (SUSE Linux)

Please try adding a
Code: [Select]
typedef unsigned long long uint64_t; at the top of the MuleCollection.h file and compiling again.
I'll search for a better solution in the meanwhile.

Edit: Well, this should be defined in stdint.h, could please point me to your file?



sri, also failed. with or without typedef unsigned long long uint64_t;

Code: [Select]
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC   -DUSE_WX_EXTENSIONS -MT ED2KLinkParser.o -MD -MP -MF ".deps/ED2KLinkParser.Tpo" -c -o ED2KLinkParser.o ED2KLinkParser.cpp; \
then mv -f ".deps/ED2KLinkParser.Tpo" ".deps/ED2KLinkParser.Po"; else rm -f ".deps/ED2KLinkParser.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC   -DUSE_WX_EXTENSIONS -MT MuleCollection.o -MD -MP -MF ".deps/MuleCollection.Tpo" -c -o MuleCollection.o MuleCollection.cpp; \
then mv -f ".deps/MuleCollection.Tpo" ".deps/MuleCollection.Po"; else rm -f ".deps/MuleCollection.Tpo"; exit 1; fi
ED2KLinkParser.cpp: In function `int main(int, char**)':
ED2KLinkParser.cpp:477: Warnung: comparison between signed and unsigned integer expressions
if g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/local/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread -DwxUSE_GUI=0 -DENABLE_UPNP=1 -I./libs -Ilibs -DAMULE_INSTALL_PREFIX="\"/usr\"" -DAMULE_LOCALEDIR="\"/usr/share/locale\"" -DAMULE_DAEMON  -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC   -DUSE_WX_EXTENSIONS -MT amuled-amuled.o -MD -MP -MF ".deps/amuled-amuled.Tpo" -c -o amuled-amuled.o `test -f 'amuled.cpp' || echo './'`amuled.cpp; \
then mv -f ".deps/amuled-amuled.Tpo" ".deps/amuled-amuled.Po"; else rm -f ".deps/amuled-amuled.Tpo"; exit 1; fi
MuleCollection.cpp: In member function `std::string CMuleCollection::GetEd2kLink(int)':
MuleCollection.cpp:51: Warnung: comparison between signed and unsigned integer expressions
MuleCollection.cpp: In member function `std::string CMuleCollection::GetFileName(int)':
MuleCollection.cpp:66: Warnung: comparison between signed and unsigned integer expressions
MuleCollection.cpp: In member function `uint64_t CMuleCollection::GetFileSize(int)':
MuleCollection.cpp:78: Warnung: comparison between signed and unsigned integer expressions
MuleCollection.cpp: In member function `std::string CMuleCollection::GetFileHash(int)':
MuleCollection.cpp:88: Warnung: comparison between signed and unsigned integer expressions
MuleCollection.cpp: In member function `bool CMuleCollection::OpenBinary(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
MuleCollection.cpp:105: error: `uint32_t' undeclared (first use this function)
MuleCollection.cpp:105: error: (Each undeclared identifier is reported only once for each function it appears in.)
MuleCollection.cpp:105: error: Syntaxfehler before `;' token
MuleCollection.cpp:106: error: `cVersion' undeclared (first use this function)
MuleCollection.cpp:117: error: Syntaxfehler before `;' token
MuleCollection.cpp:118: error: `hTagCount' undeclared (first use this function)
MuleCollection.cpp:130: error: `uint16_t' undeclared (first use this function)
MuleCollection.cpp:130: error: Syntaxfehler before `;' token
MuleCollection.cpp:131: error: `hTagFormat' undeclared (first use this function)
MuleCollection.cpp:146: error: Syntaxfehler before `;' token
MuleCollection.cpp:147: error: `hTagStringSize' undeclared (first use this function)
MuleCollection.cpp:160: error: Syntaxfehler before `;' token
MuleCollection.cpp:174: error: Syntaxfehler before `;' token
MuleCollection.cpp:175: error: `hTagBlobSize' undeclared (first use this function)
MuleCollection.cpp:128: Warnung: unused variable `int hTagType'
MuleCollection.cpp:196: error: Syntaxfehler before `;' token
MuleCollection.cpp:197: error: `cFileCount' undeclared (first use this function)
MuleCollection.cpp:214: error: Syntaxfehler before `;' token
MuleCollection.cpp:215: error: `fTagCount' undeclared (first use this function)
MuleCollection.cpp:260: error: Syntaxfehler before `;' token
MuleCollection.cpp:261: error: `fsUint32_t' undeclared (first use this function)
MuleCollection.cpp:266: error: Syntaxfehler before `;' token
MuleCollection.cpp:267: error: `fsUint16_t' undeclared (first use this function)
MuleCollection.cpp:272: error: `uint8_t' undeclared (first use this function)
MuleCollection.cpp:272: error: Syntaxfehler before `=' token
MuleCollection.cpp:273: error: `fsUint8_t' undeclared (first use this function)
MuleCollection.cpp:295: error: Syntaxfehler before `;' token
MuleCollection.cpp:296: error: `fTagStringSize' undeclared (first use this function)
MuleCollection.cpp: In member function `bool CMuleCollection::AddLink(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
MuleCollection.cpp:359: Warnung: comparison between signed and unsigned integer expressions
MuleCollection.cpp:364: Warnung: comparison between signed and unsigned integer expressions
MuleCollection.cpp:373: Warnung: comparison between signed and unsigned integer expressions
MuleCollection.cpp: In member function `bool CMuleCollection::IsValidHash(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
MuleCollection.cpp:409: Warnung: comparison between signed and unsigned integer expressions
make[3]: *** [MuleCollection.o] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
In Datei, eingefgt von CFile.h:29,
                    von PartFile.h:31,
                    von amuled.cpp:38:
SafeFile.h:201:2: Warnung: #warning DOCS
make[3]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/src'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/src/packages/BUILD/amule-cvs'
make: *** [all] Fehler 2
error: Bad exit status from /var/tmp/rpm-tmp.41687 (%build)


usr/include/stdint.h
Code: [Select]
/* Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
   This file is part of the GNU C Library.

   The GNU C Library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
   License as published by the Free Software Foundation; either
   version 2.1 of the License, or (at your option) any later version.

   The GNU C Library is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   Lesser General Public License for more details.

   You should have received a copy of the GNU Lesser General Public
   License along with the GNU C Library; if not, write to the Free
   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
   02111-1307 USA.  */

/*
 * ISO C99: 7.18 Integer types <stdint.h>
 */

#ifndef _STDINT_H
#define _STDINT_H 1

#include <features.h>
#include <bits/wchar.h>
#include <bits/wordsize.h>

/* Exact integral types.  */

/* Signed.  */

/* There is some amount of overlap with <sys/types.h> as known by inet code */
#ifndef __int8_t_defined
# define __int8_t_defined
typedef signed char int8_t;
typedef short int int16_t;
typedef int int32_t;
# if __WORDSIZE == 64
typedef long int int64_t;
# else
__extension__
typedef long long int int64_t;
# endif
#endif

/* Unsigned.  */
typedef unsigned char uint8_t;
typedef unsigned short int uint16_t;
#ifndef __uint32_t_defined
typedef unsigned int uint32_t;
# define __uint32_t_defined
#endif
#if __WORDSIZE == 64
typedef unsigned long int uint64_t;
#else
__extension__
typedef unsigned long long int uint64_t;
#endif


/* Small types.  */

/* Signed.  */
typedef signed char int_least8_t;
typedef short int int_least16_t;
typedef int int_least32_t;
#if __WORDSIZE == 64
typedef long int int_least64_t;
#else
__extension__
typedef long long int int_least64_t;
#endif

/* Unsigned.  */
typedef unsigned char uint_least8_t;
typedef unsigned short int uint_least16_t;
typedef unsigned int uint_least32_t;
#if __WORDSIZE == 64
typedef unsigned long int uint_least64_t;
#else
__extension__
typedef unsigned long long int uint_least64_t;
#endif


/* Fast types.  */

/* Signed.  */
typedef signed char int_fast8_t;
#if __WORDSIZE == 64
typedef long int int_fast16_t;
typedef long int int_fast32_t;
typedef long int int_fast64_t;
#else
typedef int int_fast16_t;
typedef int int_fast32_t;
__extension__
typedef long long int int_fast64_t;
#endif

/* Unsigned.  */
typedef unsigned char uint_fast8_t;
#if __WORDSIZE == 64
typedef unsigned long int uint_fast16_t;
typedef unsigned long int uint_fast32_t;
typedef unsigned long int uint_fast64_t;
#else
typedef unsigned int uint_fast16_t;
typedef unsigned int uint_fast32_t;
__extension__
typedef unsigned long long int uint_fast64_t;
#endif


/* Types for `void *' pointers.  */
#if __WORDSIZE == 64
# ifndef __intptr_t_defined
typedef long int intptr_t;
#  define __intptr_t_defined
# endif
typedef unsigned long int uintptr_t;
#else
# ifndef __intptr_t_defined
typedef int intptr_t;
#  define __intptr_t_defined
# endif
typedef unsigned int uintptr_t;
#endif


/* Largest integral types.  */
#if __WORDSIZE == 64
typedef long int intmax_t;
typedef unsigned long int uintmax_t;
#else
__extension__
typedef long long int intmax_t;
__extension__
typedef unsigned long long int uintmax_t;
#endif


/* The ISO C99 standard specifies that in C++ implementations these
   macros should only be defined if explicitly requested.  */
#if !defined __cplusplus || defined __STDC_LIMIT_MACROS

# if __WORDSIZE == 64
#  define __INT64_C(c) c ## L
#  define __UINT64_C(c) c ## UL
# else
#  define __INT64_C(c) c ## LL
#  define __UINT64_C(c) c ## ULL
# endif

/* Limits of integral types.  */

/* Minimum of signed integral types.  */
# define INT8_MIN (-128)
# define INT16_MIN (-32767-1)
# define INT32_MIN (-2147483647-1)
# define INT64_MIN (-__INT64_C(9223372036854775807)-1)
/* Maximum of signed integral types.  */
# define INT8_MAX (127)
# define INT16_MAX (32767)
# define INT32_MAX (2147483647)
# define INT64_MAX (__INT64_C(9223372036854775807))

/* Maximum of unsigned integral types.  */
# define UINT8_MAX (255)
# define UINT16_MAX (65535)
# define UINT32_MAX (4294967295U)
# define UINT64_MAX (__UINT64_C(18446744073709551615))


/* Minimum of signed integral types having a minimum size.  */
# define INT_LEAST8_MIN (-128)
# define INT_LEAST16_MIN (-32767-1)
# define INT_LEAST32_MIN (-2147483647-1)
# define INT_LEAST64_MIN (-__INT64_C(9223372036854775807)-1)
/* Maximum of signed integral types having a minimum size.  */
# define INT_LEAST8_MAX (127)
# define INT_LEAST16_MAX (32767)
# define INT_LEAST32_MAX (2147483647)
# define INT_LEAST64_MAX (__INT64_C(9223372036854775807))

/* Maximum of unsigned integral types having a minimum size.  */
# define UINT_LEAST8_MAX (255)
# define UINT_LEAST16_MAX (65535)
# define UINT_LEAST32_MAX (4294967295U)
# define UINT_LEAST64_MAX (__UINT64_C(18446744073709551615))


/* Minimum of fast signed integral types having a minimum size.  */
# define INT_FAST8_MIN (-128)
# if __WORDSIZE == 64
#  define INT_FAST16_MIN (-9223372036854775807L-1)
#  define INT_FAST32_MIN (-9223372036854775807L-1)
# else
#  define INT_FAST16_MIN (-2147483647-1)
#  define INT_FAST32_MIN (-2147483647-1)
# endif
# define INT_FAST64_MIN (-__INT64_C(9223372036854775807)-1)
/* Maximum of fast signed integral types having a minimum size.  */
# define INT_FAST8_MAX (127)
# if __WORDSIZE == 64
#  define INT_FAST16_MAX (9223372036854775807L)
#  define INT_FAST32_MAX (9223372036854775807L)
# else
#  define INT_FAST16_MAX (2147483647)
#  define INT_FAST32_MAX (2147483647)
# endif
# define INT_FAST64_MAX (__INT64_C(9223372036854775807))

/* Maximum of fast unsigned integral types having a minimum size.  */
# define UINT_FAST8_MAX (255)
# if __WORDSIZE == 64
#  define UINT_FAST16_MAX (18446744073709551615UL)
#  define UINT_FAST32_MAX (18446744073709551615UL)
# else
#  define UINT_FAST16_MAX (4294967295U)
#  define UINT_FAST32_MAX (4294967295U)
# endif
# define UINT_FAST64_MAX (__UINT64_C(18446744073709551615))


/* Values to test for integral types holding `void *' pointer.  */
# if __WORDSIZE == 64
#  define INTPTR_MIN (-9223372036854775807L-1)
#  define INTPTR_MAX (9223372036854775807L)
#  define UINTPTR_MAX (18446744073709551615UL)
# else
#  define INTPTR_MIN (-2147483647-1)
#  define INTPTR_MAX (2147483647)
#  define UINTPTR_MAX (4294967295U)
# endif


/* Minimum for largest signed integral type.  */
# define INTMAX_MIN (-__INT64_C(9223372036854775807)-1)
/* Maximum for largest signed integral type.  */
# define INTMAX_MAX (__INT64_C(9223372036854775807))

/* Maximum for largest unsigned integral type.  */
# define UINTMAX_MAX (__UINT64_C(18446744073709551615))


/* Limits of other integer types.  */

/* Limits of `ptrdiff_t' type.  */
# if __WORDSIZE == 64
#  define PTRDIFF_MIN (-9223372036854775807L-1)
#  define PTRDIFF_MAX (9223372036854775807L)
# else
#  define PTRDIFF_MIN (-2147483647-1)
#  define PTRDIFF_MAX (2147483647)
# endif

/* Limits of `sig_atomic_t'.  */
# define SIG_ATOMIC_MIN (-2147483647-1)
# define SIG_ATOMIC_MAX (2147483647)

/* Limit of `size_t' type.  */
# if __WORDSIZE == 64
#  define SIZE_MAX (18446744073709551615UL)
# else
#  define SIZE_MAX (4294967295U)
# endif

/* Limits of `wchar_t'.  */
# ifndef WCHAR_MIN
/* These constants might also be defined in <wchar.h>.  */
#  define WCHAR_MIN __WCHAR_MIN
#  define WCHAR_MAX __WCHAR_MAX
# endif

/* Limits of `wint_t'.  */
# define WINT_MIN (0u)
# define WINT_MAX (4294967295u)

#endif /* C++ && limit macros */


/* The ISO C99 standard specifies that in C++ implementations these
   should only be defined if explicitly requested.  */
#if !defined __cplusplus || defined __STDC_CONSTANT_MACROS

/* Signed.  */
# define INT8_C(c) c
# define INT16_C(c) c
# define INT32_C(c) c
# if __WORDSIZE == 64
#  define INT64_C(c) c ## L
# else
#  define INT64_C(c) c ## LL
# endif

/* Unsigned.  */
# define UINT8_C(c) c ## U
# define UINT16_C(c) c ## U
# define UINT32_C(c) c ## U
# if __WORDSIZE == 64
#  define UINT64_C(c) c ## UL
# else
#  define UINT64_C(c) c ## ULL
# endif

/* Maximal type.  */
# if __WORDSIZE == 64
#  define INTMAX_C(c) c ## L
#  define UINTMAX_C(c) c ## UL
# else
#  define INTMAX_C(c) c ## LL
#  define UINTMAX_C(c) c ## ULL
# endif

#endif /* C++ && constant macros */

#endif /* stdint.h */



cu

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: CVS-20070430 dies during 'make' on SuSE 9.3
« Reply #6 on: May 01, 2007, 10:00:21 PM »

Thanks a lot, should work as of tomorrow (supposed my patch is being implemented).

In the meantime either using the patch or adding the line "#include <stdint.h>" will help sorting this out.

The errors are all caused by undefined uintxx_t types, which are defined in stdint.h.
Logged

IhmSelbst

  • Full Member
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 220
    • http://www.ed2k-serverboard.de/
Re: [solved] CVS-20070430 dies during 'make' on SuSE 9.3
« Reply #7 on: May 02, 2007, 08:16:35 AM »

Hi wuischke,
great, today's cvs works fine again.  :)

Many thanks,

cu

IhmSelbst

  • Full Member
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 220
    • http://www.ed2k-serverboard.de/
Re: [solved] CVS-20070430 dies during 'make' on SuSE 9.3
« Reply #8 on: May 02, 2007, 10:19:22 AM »

Addendum:
The provided patch for yesterday's file of course (as expected) also works.  :)


cu