Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Error witk $make :( (info inside)  (Read 3499 times)

0 Members and 1 Guest are viewing this topic.

Daniel

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 2
    • HTC-Developers
Error witk $make :( (info inside)
« on: November 06, 2009, 11:12:02 AM »

Hello @ll,

First, my english is very bad, i'm german :D

Now my Problem. When i run the "$make" command on SSH i become erros:

Code: [Select]
htcdevir@shell5:~/anope-1.9.1$ make
make[1]: Entering directory `/home/htcdevir/anope-1.9.1/lang'
        BUILD:              langcomp.c
Generating language.h... 1649 strings
make[1]: Leaving directory `/home/htcdevir/anope-1.9.1/lang'
make[1]: Entering directory `/home/htcdevir/anope-1.9.1/include'
touch services.h
sh version.sh ../version.log version.h
make[1]: Leaving directory `/home/htcdevir/anope-1.9.1/include'
make[1]: Entering directory `/home/htcdevir/anope-1.9.1/src'
        BUILD:              actions.c
        BUILD:              base64.c
        BUILD:              bots.cpp
An error occured when executing: g++ -pipe -g -export-dynamic -g -Wall -ansi -pedantic -Wshadow -I../include/ -c bots.cpp
In file included from bots.cpp:13:
../include/modules.h:577: error: Fehler beim Parsen before `{' token
../include/modules.h:577: error: missing ';' before right brace
../include/modules.h:582: error: two or more data types in declaration of `
   OnBackupDatabase'
../include/modules.h:582: error: virtual outside class declaration
../include/modules.h:582: error: Fehler beim Parsen before `{' token
../include/modules.h:587: error: virtual outside class declaration
../include/modules.h:588: error: virtual outside class declaration
../include/modules.h:589: error: virtual outside class declaration
../include/modules.h:590: error: virtual outside class declaration
../include/modules.h:591: error: virtual outside class declaration
../include/modules.h:599: error: virtual outside class declaration
../include/modules.h:607: error: virtual outside class declaration
../include/modules.h:613: error: virtual outside class declaration
../include/modules.h:620: error: virtual outside class declaration
../include/modules.h:626: error: virtual outside class declaration
../include/modules.h:633: error: virtual outside class declaration
../include/modules.h:639: error: virtual outside class declaration
../include/modules.h:645: error: virtual outside class declaration
../include/modules.h:651: error: virtual outside class declaration
../include/modules.h:657: error: virtual outside class declaration
../include/modules.h:663: error: virtual outside class declaration
../include/modules.h:668: error: virtual outside class declaration
../include/modules.h:672: error: virtual outside class declaration
../include/modules.h:676: error: virtual outside class declaration
../include/modules.h:682: error: virtual outside class declaration
../include/modules.h:682: error: Fehler beim Parsen before `{' token
../include/modules.h:686: error: virtual outside class declaration
../include/modules.h:686: error: Fehler beim Parsen before `{' token
../include/modules.h:690: error: virtual outside class declaration
../include/modules.h:694: error: virtual outside class declaration
../include/modules.h:698: error: virtual outside class declaration
../include/modules.h:702: error: virtual outside class declaration
../include/modules.h:707: error: virtual outside class declaration
../include/modules.h:712: error: virtual outside class declaration
../include/modules.h:717: error: virtual outside class declaration
../include/modules.h:722: error: virtual outside class declaration
../include/modules.h:728: error: virtual outside class declaration
../include/modules.h:733: error: virtual outside class declaration
../include/modules.h:738: error: virtual outside class declaration
../include/modules.h:743: error: virtual outside class declaration
../include/modules.h:748: error: virtual outside class declaration
../include/modules.h:755: error: virtual outside class declaration
../include/modules.h:763: error: virtual outside class declaration
../include/modules.h:771: error: virtual outside class declaration
../include/modules.h:777: error: virtual outside class declaration
../include/modules.h:782: error: virtual outside class declaration
../include/modules.h:787: error: virtual outside class declaration
../include/modules.h:792: error: virtual outside class declaration
../include/modules.h:797: error: virtual outside class declaration
../include/modules.h:802: error: virtual outside class declaration
../include/modules.h:807: error: virtual outside class declaration
../include/modules.h:812: error: virtual outside class declaration
../include/modules.h:817: error: virtual outside class declaration
../include/modules.h:823: error: virtual outside class declaration
../include/modules.h:828: error: virtual outside class declaration
../include/modules.h:833: error: virtual outside class declaration
../include/modules.h:838: error: virtual outside class declaration
../include/modules.h:843: error: virtual outside class declaration
../include/modules.h:848: error: virtual outside class declaration
../include/modules.h:853: error: virtual outside class declaration
../include/modules.h:858: error: virtual outside class declaration
../include/modules.h:862: error: virtual outside class declaration
../include/modules.h:867: error: virtual outside class declaration
../include/modules.h:872: error: virtual outside class declaration
../include/modules.h:877: error: virtual outside class declaration
../include/modules.h:883: error: virtual outside class declaration
../include/modules.h:888: error: virtual outside class declaration
../include/modules.h:893: error: virtual outside class declaration
../include/modules.h:898: error: virtual outside class declaration
../include/modules.h:903: error: virtual outside class declaration
../include/modules.h:909: error: virtual outside class declaration
../include/modules.h:914: error: virtual outside class declaration
../include/modules.h:919: error: virtual outside class declaration
../include/modules.h:924: error: virtual outside class declaration
../include/modules.h:926: error: Fehler beim Parsen before `}' token
bots.cpp: In constructor `BotInfo::BotInfo(const char*)':
bots.cpp:40: error: `OnBotPreLoad' undeclared (first use this function)
bots.cpp:40: error: (Each undeclared identifier is reported only once for each
   function it appears in.)
bots.cpp: In constructor `BotInfo::BotInfo(const char*, const char*, const
   char*, const char*)':
bots.cpp:78: error: `OnBotPreLoad' undeclared (first use this function)
make[1]: *** [bots.o] Fehler 1
make[1]: Leaving directory `/home/htcdevir/anope-1.9.1/src'
make: *** [build] Fehler 2


Can everyone help me by this Problem.

Greets
Daniel

*edit*
For Info:
i download the aactually Anope Services 1.9.1-source
Logged

Naram Qashat

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 192
    • CBX's Sprite Animations
Re: Error witk $make :( (info inside)
« Reply #1 on: November 06, 2009, 12:11:18 PM »

Can you do the following at your prompt:

gcc -v

I want to see what version of GCC you have installed.  I can tell you now, if it's 2.x, then you won't be able to compile Anope 1.9.x at all.
Logged

Daniel

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 2
    • HTC-Developers
Re: Error witk $make :( (info inside)
« Reply #2 on: November 06, 2009, 12:49:48 PM »

Here it is:

Code: [Select]
htcdevir@shell5:~$ gcc -v
Lese Spezifikationen von /usr/lib/gcc-lib/i486-linux/3.3.5/specs
Konfiguriert mit: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
Thread-Modell: posix
gcc-Version 3.3.5 (Debian 1:3.3.5-13)


--> gcc-Version 3.3.5 (Debian 1:3.3.5-13)

that's the right version ?
Logged

Naram Qashat

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 192
    • CBX's Sprite Animations
Re: Error witk $make :( (info inside)
« Reply #3 on: November 06, 2009, 11:58:36 PM »

Hmm, I think gcc 3.3.x might have the same problems as 2.x, but I have no way of testing so, as the OS I use, FreeBSD, only has GCC 3.4.x and 4.x available.  I'd suggest asking your shell provider to upgrade to a newer version of GCC.
Logged
Pages: [1]   Go Up