Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: 1.9.0-p1, compilation errors?  (Read 10622 times)

0 Members and 1 Guest are viewing this topic.

pepsi

  • Anope User
  • Offline Offline
  • Posts: 9
1.9.0-p1, compilation errors?
« on: May 31, 2009, 02:16:26 AM »

Hi there

I've been using Anope for some time now (some 3 years) and never experienced any problems. As I am still runing 1.7.21, just wanted to upgrade to 1.9.0-p1, however gmake was unsuccessful. On the very same machine 1.7.21 compiled flawlessly. Any hints?
Thanks so much for help!


Quote

[alpha@server anope-1.9.0-p1-source]$ gmake
gmake[1]: Entering directory `/home/users/alpha/anope-1.9.0-p1-source/lang'
gmake[1]: Nothing to be done for `all'.
gmake[1]: `language.h' is up to date.
gmake[1]: Leaving directory `/home/users/alpha/anope-1.9.0-p1-source/lang'
gmake[1]: Entering directory `/home/users/alpha/anope-1.9.0-p1-source/include'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/home/users/alpha/anope-1.9.0-p1-source/include'
gmake[1]: Entering directory `/home/users/alpha/anope-1.9.0-p1-source/src'
In file included from actions.c:15:
../include/services.h:1405: error: syntax error before `{' token
../include/services.h:1409: error: ISO C++ forbids defining types within return type
../include/services.h:1409: error: two or more data types in declaration of `SendQuit'
../include/services.h:1409: error: virtual outside class declaration
../include/services.h:1409: error: semicolon missing after declaration of `class IRCDProto'
../include/services.h: In function `int SendQuit(BotInfo*, const char*, ...)':
../include/services.h:1415: error: `SendQuitInternal' undeclared (first use this function)
../include/services.h:1415: error: (Each undeclared identifier is reported only once for each function it appears in.)
../include/services.h: At global scope:
../include/services.h:1418: error: virtual outside class declaration
../include/services.h:1421: error: virtual outside class declaration
../include/services.h:1421: error: function `void SendJoin(BotInfo*, const char*, long int)' is initialized like a variable
../include/services.h:1422: error: virtual outside class declaration
../include/services.h:1422: error: function `void SendSQLineDel(const char*)' is initialized like a variable
../include/services.h:1424: error: virtual outside class declaration
../include/services.h:1428: error: virtual outside class declaration
../include/services.h: In function `void SendPart(BotInfo*, const char*, const char*, ...)':
../include/services.h:1435: error: `SendPartInternal' undeclared (first use this function)
../include/services.h: At global scope:
../include/services.h:1440: error: virtual outside class declaration
../include/services.h: In function `void SendGlobops(const char*, const char*, ...)':
../include/services.h:1446: error: `SendGlobopsInternal' undeclared (first use this function)
../include/services.h: At global scope:
../include/services.h:1448: error: virtual outside class declaration
../include/services.h:1448: error: function `void SendSQLine(const char*, const char*)' is initialized like a variable
../include/services.h:1450: error: virtual outside class declaration
../include/services.h:1453: error: virtual outside class declaration
../include/services.h:1455: error: virtual outside class declaration
../include/services.h:1459: error: virtual outside class declaration
../include/services.h:1462: error: virtual outside class declaration
../include/services.h:1463: error: virtual outside class declaration
../include/services.h:1463: error: function `void SendConnect()' is initialized like a variable
../include/services.h:1464: error: virtual outside class declaration
../include/services.h:1465: error: virtual outside class declaration
../include/services.h:1466: error: virtual outside class declaration
../include/services.h:1467: error: virtual outside class declaration
../include/services.h:1468: error: virtual outside class declaration
../include/services.h:1469: error: virtual outside class declaration
../include/services.h:1470: error: virtual outside class declaration
../include/services.h:1471: error: virtual outside class declaration
../include/services.h:1472: error: virtual outside class declaration
../include/services.h:1473: error: virtual outside class declaration
../include/services.h:1474: error: virtual outside class declaration
../include/services.h:1475: error: virtual outside class declaration
../include/services.h:1477: error: virtual outside class declaration
../include/services.h: In function `void SendCTCP(BotInfo*, const char*, const char*, ...)':
../include/services.h:1483: error: `SendCTCPInternal' undeclared (first use this function)
../include/services.h: At global scope:
../include/services.h:1485: error: virtual outside class declaration
../include/services.h:1486: error: virtual outside class declaration
../include/services.h:1487: error: virtual outside class declaration
../include/services.h:1488: error: virtual outside class declaration
../include/services.h:1489: error: virtual outside class declaration
../include/services.h:1489: error: function `void SendServer(Server*)' is initialized like a variable
../include/services.h:1490: error: virtual outside class declaration
../include/services.h:1490: error: function `void ProcessUsermodes(User*, int, const char**)' is initialized like a variable
../include/services.h:1491: error: virtual outside class declaration
../include/services.h:1492: error: virtual outside class declaration
../include/services.h:1493: error: virtual outside class declaration
../include/services.h:1495: error: virtual outside class declaration
../include/services.h: In function `void SendNumeric(const char*, int, const char*, const char*, ...)':
../include/services.h:1501: error: `SendNumericInternal' undeclared (first use this function)
../include/services.h: At global scope:
../include/services.h:1508: error: virtual outside class declaration
../include/services.h:1514: error: virtual outside class declaration
../include/services.h:1515: error: syntax error before `}' token
actions.c: In function `void sqline(char*, char*)':
actions.c:92: error: `SendSQLine' undeclared (first use this function)
actions.c: In function `void common_unban(ChannelInfo*, char*)':
actions.c:167: error: `SendBanDel' undeclared (first use this function)
actions.c: In function `void common_svsmode(User*, const char*, const char*)':
actions.c:222: error: `ProcessUsermodes' undeclared (first use this function)
gmake[1]: *** [actions.o] Error 1
gmake[1]: Leaving directory `/home/users/alpha/anope-1.9.0-p1-source/src'
gmake: *** [build] Error 2
« Last Edit: May 31, 2009, 02:36:56 AM by pepsi »
Logged

Naram Qashat

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 192
    • CBX's Sprite Animations
Re: 1.9.0-p1, compilation errors?
« Reply #1 on: May 31, 2009, 03:28:45 AM »

Can you show what version of g++ you have installed?  For instance:

[22:28:26 kirby /celes/anope-1.9.0p1/build]> g++ --version
g++ (GCC) 4.2.1 20070719  [FreeBSD]
Logged

pepsi

  • Anope User
  • Offline Offline
  • Posts: 9
Re: 1.9.0-p1, compilation errors?
« Reply #2 on: May 31, 2009, 03:41:03 AM »

Too old?

Quote
[alpha@server ~]$ g++ --version
g++ (GCC) 3.3.6 (PLD Linux)
« Last Edit: May 31, 2009, 03:44:50 AM by pepsi »
Logged

Naram Qashat

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 192
    • CBX's Sprite Animations
Re: 1.9.0-p1, compilation errors?
« Reply #3 on: May 31, 2009, 03:48:45 AM »

Strange, I wonder if it's an issue with gcc 3.3.x.  I've also got gcc 3.4.6 installed and it doesn't have this problem either.  Can you make sure that the first line of the root Makefile says "CC = g++"?  Alternatively, see if it's possible to install a newer version of gcc and g++.
Logged

pepsi

  • Anope User
  • Offline Offline
  • Posts: 9
Re: 1.9.0-p1, compilation errors?
« Reply #4 on: May 31, 2009, 04:39:48 AM »

There is also

Quote
[alpha@server ~]$ gcc4 --version
gcc4 (GCC) 4.1.2 (PLD-Linux)

but I believe that g++4 (or maybe g++-4) is missing. Assuming this is going to be installed, how can I use gcc/++4 to compile anope? It seems that the system tries to use gcc/++ 3.3.6 by default. Thanks for help! :)
« Last Edit: May 31, 2009, 04:49:58 AM by pepsi »
Logged

Naram Qashat

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 192
    • CBX's Sprite Animations
Re: 1.9.0-p1, compilation errors?
« Reply #5 on: May 31, 2009, 04:51:03 AM »

If you are using configure instead of cmake, you'll have to first do ./Config and then manually edit Makefile to say CC = g++4 instead of CC = g++.

If you ever decide to install cmake and use that instead, well, it'll involve manually re-running cmake yourself after it's configured everything.  I won't go into details on that unless you decide to go down that route.
Logged

pepsi

  • Anope User
  • Offline Offline
  • Posts: 9
Re: 1.9.0-p1, compilation errors?
« Reply #6 on: June 06, 2009, 01:22:51 AM »

I'll stick to configure. gmake still fails. g++4 did not help ;(

Quote
[alpha@server anope-1.9.0-p1-source]$ g++4 --version
g++4 (GCC) 4.1.2 (PLD-Linux)

Quote
[alpha@server anope-1.9.0-p1-source]$ cat Makefile
CC=g++4

For exact gmake problems please look here: http://pastebin.ca/1449265
The messages exceeded the maximum allowed length.

Thanks for help!
I've also installed 1.8.0. No problems there.
Logged

Naram Qashat

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 192
    • CBX's Sprite Animations
Re: 1.9.0-p1, compilation errors?
« Reply #7 on: June 06, 2009, 05:52:04 AM »

I can't see a reason for that... What's odd is it's failing to find standard headers now.  And I'm noticing that using the configure method doesn't show the currently built file or the command line when it fails... I probably should look into that.  I'm almost wondering if your system just has incomplete C++ compilation tools, but has the complete C compilation tools, which would explain 1.8.0 compiling but 1.9.0 not.
Logged

pepsi

  • Anope User
  • Offline Offline
  • Posts: 9
Re: 1.9.0-p1, compilation errors?
« Reply #8 on: June 11, 2009, 10:41:28 PM »

What exactly do I need then? AFAIR gcc and its components were installed from packages, so something could get omitted.

These packages are there:
gcc4-4.1.2-9.i686.rpm
gcc4-c++-4.1.2-9.i686.rpm

BTW, I've successfully compiled Inspircd, and it is written in C++ i think.

Thanks for help! :)
Logged

Naram Qashat

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 192
    • CBX's Sprite Animations
Re: 1.9.0-p1, compilation errors?
« Reply #9 on: June 11, 2009, 11:00:57 PM »

Could you possibly re-do ./Config and answer yes to using run-cc.pl?  I found that having that off causes it to not echo the build line, but if g++ fails when run-cc.pl is used, it'll show the command line used.
Logged

pepsi

  • Anope User
  • Offline Offline
  • Posts: 9
Re: 1.9.0-p1, compilation errors?
« Reply #10 on: June 13, 2009, 12:57:02 AM »

I am back on gcc3, as I've just compiled 1.9.0-p1 on another machine using g++ (GCC) 3.4.2 [FreeBSD] 20040728.

This means that the system on which there were errors is missing something.
Just tell me what exactly is needed to install anope-1.9.0-p1 and I will get the necessary files.
Talking packages there are for sure:

gcc-3.3.6-5.i686.rpm
gcc-c++-3.3.6-5.i686.rpm

Anything else? Certain libraries maybe?  Edit: please the next post below for -dumpspecs details.

The following is the installation log generated using run-cc.pl as you asked.
If it is possible, please help me find out what is going wrong here. Thank you  ;)  ;D

Quote
[alpha@server anope-1.9.0-p1-source]$ gmake
gmake[1]: Entering directory `/home/users/alpha/anope-1.9.0-p1-source/lang'
gmake[1]: Nothing to be done for `all'.
gmake[1]: `language.h' is up to date.
gmake[1]: Leaving directory `/home/users/alpha/anope-1.9.0-p1-source/lang'
gmake[1]: Entering directory `/home/users/alpha/anope-1.9.0-p1-source/include'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/home/users/alpha/anope-1.9.0-p1-source/include'
gmake[1]: Entering directory `/home/users/alpha/anope-1.9.0-p1-source/src'
        BUILD:              actions.c
An error occured when executing: g++ -pipe -g -export-dynamic -Wall -ansi -pedantic -Wshadow -I../include/ -c actions.c
In file included from actions.c:15:
../include/services.h:1405: error: syntax error before `{' token
../include/services.h:1409: error: ISO C++ forbids defining types within return
   type
../include/services.h:1409: error: two or more data types in declaration of `
   SendQuit'
../include/services.h:1409: error: virtual outside class declaration
../include/services.h:1409: error: semicolon missing after declaration of `
   class IRCDProto'
../include/services.h: In function `int SendQuit(BotInfo*, const char*, ...)':
../include/services.h:1415: error: `SendQuitInternal' undeclared (first use
   this function)
../include/services.h:1415: error: (Each undeclared identifier is reported only
   once for each function it appears in.)
../include/services.h: At global scope:
../include/services.h:1418: error: virtual outside class declaration
../include/services.h:1421: error: virtual outside class declaration
../include/services.h:1421: error: function `void SendJoin(BotInfo*, const
   char*, long int)' is initialized like a variable
../include/services.h:1422: error: virtual outside class declaration
../include/services.h:1422: error: function `void SendSQLineDel(const char*)'
   is initialized like a variable
../include/services.h:1424: error: virtual outside class declaration
../include/services.h:1428: error: virtual outside class declaration
../include/services.h: In function `void SendPart(BotInfo*, const char*, const
   char*, ...)':
../include/services.h:1435: error: `SendPartInternal' undeclared (first use
   this function)
../include/services.h: At global scope:
../include/services.h:1440: error: virtual outside class declaration
../include/services.h: In function `void SendGlobops(const char*, const char*,
   ...)':
../include/services.h:1446: error: `SendGlobopsInternal' undeclared (first use
   this function)
../include/services.h: At global scope:
../include/services.h:1448: error: virtual outside class declaration
../include/services.h:1448: error: function `void SendSQLine(const char*, const
   char*)' is initialized like a variable
../include/services.h:1450: error: virtual outside class declaration
../include/services.h:1453: error: virtual outside class declaration
../include/services.h:1455: error: virtual outside class declaration
../include/services.h:1459: error: virtual outside class declaration
../include/services.h:1462: error: virtual outside class declaration
../include/services.h:1463: error: virtual outside class declaration
../include/services.h:1463: error: function `void SendConnect()' is initialized
   like a variable
../include/services.h:1464: error: virtual outside class declaration
../include/services.h:1465: error: virtual outside class declaration
../include/services.h:1466: error: virtual outside class declaration
../include/services.h:1467: error: virtual outside class declaration
../include/services.h:1468: error: virtual outside class declaration
../include/services.h:1469: error: virtual outside class declaration
../include/services.h:1470: error: virtual outside class declaration
../include/services.h:1471: error: virtual outside class declaration
../include/services.h:1472: error: virtual outside class declaration
../include/services.h:1473: error: virtual outside class declaration
../include/services.h:1474: error: virtual outside class declaration
../include/services.h:1475: error: virtual outside class declaration
../include/services.h:1477: error: virtual outside class declaration
../include/services.h: In function `void SendCTCP(BotInfo*, const char*, const
   char*, ...)':
../include/services.h:1483: error: `SendCTCPInternal' undeclared (first use
   this function)
../include/services.h: At global scope:
../include/services.h:1485: error: virtual outside class declaration
../include/services.h:1486: error: virtual outside class declaration
../include/services.h:1487: error: virtual outside class declaration
../include/services.h:1488: error: virtual outside class declaration
../include/services.h:1489: error: virtual outside class declaration
../include/services.h:1489: error: function `void SendServer(Server*)' is
   initialized like a variable
../include/services.h:1490: error: virtual outside class declaration
../include/services.h:1490: error: function `void ProcessUsermodes(User*, int,
   const char**)' is initialized like a variable
../include/services.h:1491: error: virtual outside class declaration
../include/services.h:1492: error: virtual outside class declaration
../include/services.h:1493: error: virtual outside class declaration
../include/services.h:1495: error: virtual outside class declaration
../include/services.h: In function `void SendNumeric(const char*, int, const
   char*, const char*, ...)':
../include/services.h:1501: error: `SendNumericInternal' undeclared (first use
   this function)
../include/services.h: At global scope:
../include/services.h:1508: error: virtual outside class declaration
../include/services.h:1514: error: virtual outside class declaration
../include/services.h:1515: error: syntax error before `}' token
actions.c: In function `void sqline(char*, char*)':
actions.c:92: error: `SendSQLine' undeclared (first use this function)
actions.c: In function `void common_unban(ChannelInfo*, char*)':
actions.c:167: error: `SendBanDel' undeclared (first use this function)
actions.c: In function `void common_svsmode(User*, const char*, const char*)':
actions.c:222: error: `ProcessUsermodes' undeclared (first use this function)
gmake[1]: *** [actions.o] Error 1
gmake[1]: Leaving directory `/home/users/alpha/anope-1.9.0-p1-source/src'
gmake: *** [build] Error 2
« Last Edit: June 13, 2009, 01:29:39 AM by pepsi »
Logged

pepsi

  • Anope User
  • Offline Offline
  • Posts: 9
Re: 1.9.0-p1, compilation errors?
« Reply #11 on: June 13, 2009, 01:23:55 AM »

Well, it seems there might be some kind of linker problem. Observing the log I could say that there is a problem somewhere on the way between action.s, what starts here:
Quote
An error occured when executing: g++ -pipe -g -export-dynamic -Wall -ansi -pedantic -Wshadow -I../include/ -c actions.c

and services.h.

I've compared g++ -dumpspecs from the PLD machine with the one from FreeBSD machine.

There are parts totally missing from the PLD dumspecs, in example (quoting q++ -dumspecs from the BSD machine):

Quote
*fbsd_dynamic_linker:
/libexec/ld-elf.so.1

I am not sure if these are OS configuration differences or some files are simply missing.

Talking linker problem -> I have no idea if I am right. In fact I am guessing. That was my first thought. Is there anything wrong? Thanks for help!  ;)

g++ -dumspecs included below:

Quote
[alpha@server anope-1.9.0-p1-source]$ g++ --version
g++ (GCC) 3.3.6 (PLD Linux)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Quote
[alpha@server anope-1.9.0-p1-source]$ g++ -dumpspecs
*asm:
%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*}

*asm_debug:
%{gstabs*:--gstabs}%{!gstabs*:%{g*:--gdwarf2}}

*asm_final:
%|

*asm_options:
%a %Y %{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}

*invoke_as:
%{!S:-o %{|!pipe:%g.s} |
 as %(asm_options) %{!pipe:%g.s} %A }

*cpp:
%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}

*cpp_options:
%(cpp_unique_options) %1 %{m*} %{std*} %{ansi} %{W*&pedantic*} %{w} %{f*} %{O*} %{undef}

*cpp_debug_options:
%{d*}

*cpp_unique_options:
%{C:%{!E:%eGNU C does not support -C without using -E}} %{CC:%{!E:%eGNU C does not support -CC without using -E}} %{!Q:-quiet} %{nostdinc*} %{C} %{CC} %{v} %{I*} %{P} %I %{MD:-MD %{!o:%b.d}%{o*:%.d%*}} %{MMD:-MMD %{!o:%b.d}%{o*:%.d%*}} %{M} %{MM} %{MF*} %{MG} %{MP} %{MQ*} %{MT*} %{!E:%{!M:%{!MM:%{MD|MMD:%{o*:-MQ %*}}}}} %{!no-gcc:-D__GNUC__=%v1 -D__GNUC_MINOR__=%v2 -D__GNUC_PATCHLEVEL__=%v3} %{!undef:%{!ansi:%{!std=*:%p}%{std=gnu*:%p}} %P} %{trigraphs} %{remap} %{g3:-dD} %{H} %C %{D*&U*&A*} %{i*} %Z %i %{E|M|MM:%W{o*}}

*trad_capable_cpp:
cc1 -E %{traditional|ftraditional|traditional-cpp:-traditional-cpp}

*cc1:
%(cc1_cpu) %{profile:-p}

*cc1_options:
%{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}} %1 %{!Q:-quiet} -dumpbase %B %{d*} %{m*} %{a*} %{c|S:%{o*:-auxbase-strip %*}%{!o*:-auxbase %b}}%{!c:%{!S:-auxbase %b}} %{g*} %{O*} %{W*&pedantic*} %{w} %{std*} %{ansi} %{v:-version} %{pg:-p} %{p} %{f*} %{undef} %{Qn:-fno-ident} %{--help:--help} %{--target-help:--target-help} %{!fsyntax-only:%{S:%W{o*}%{!o*:-o %b.s}}} %{fsyntax-only:-o %j} %{-param*}

*cc1plus:


*link_gcc_c_sequence:
%{static:--start-group} %G %L %{static:--end-group}%{!static:%G}

*endfile:
%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s

*link:
%{!static:--eh-frame-hdr} -m elf_i386 %{shared:-shared}   %{!shared:     %{!ibcs:       %{!static:    %{rdynamic:-export-dynamic}    %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}}    %{static:-static}}}

*lib:
%{pthread:-lpthread}    %{shared:-lc}    %{!shared:%{mieee-fp:-lieee} %{profile:-lc_p}%{!profile:-lc}}

*libgcc:
%{static|static-libgcc:-lgcc -lgcc_eh}%{!static:%{!static-libgcc:%{!shared-libgcc:-lgcc --as-needed -lgcc_s%M --no-as-needed}%{shared-libgcc:-lgcc_s%M%{!shared: -lgcc}}}}

*startfile:
%{!shared:      %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s}              %{!p:%{profile:gcrt1.o%s}           %{!profile:crt1.o%s}}}}    crti.o%s %{static:crtbeginT.o%s}   %{!static:%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}

*switches_need_spaces:


*predefines:


*cross_compile:
0

*version:
3.3.6

*multilib:
. ;

*multilib_defaults:


*multilib_extra:


*multilib_matches:


*multilib_exclusions:


*multilib_options:


*linker:
collect2

*link_libgcc:
%D

*md_exec_prefix:


*md_startfile_prefix:


*md_startfile_prefix_1:


*startfile_prefix_spec:


*cc1_cpu:
%{!mcpu*: %{m386:-mcpu=i386 %n`-m386' is deprecated. Use `-march=i386' or `-mcpu=i386' instead.
} %{m486:-mcpu=i486 %n`-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.
} %{mpentium:-mcpu=pentium %n`-mpentium' is deprecated. Use `-march=pentium' or `-mcpu=pentium' instead.
} %{mpentiumpro:-mcpu=pentiumpro %n`-mpentiumpro' is deprecated. Use `-march=pentiumpro' or `-mcpu=pentiumpro' instead.
}} %{mpni:-msse3 %n`-mpni' is deprecated. Use `-msse3' instead.
} %{mno-pni:-mno-sse3 %n`-mno-pni' is deprecated. Use `-mno-sse3' instead.
} %{mintel-syntax:-masm=intel %n`-mintel-syntax' is deprecated. Use `-masm=intel' instead.
} %{mno-intel-syntax:-masm=att %n`-mno-intel-syntax' is deprecated. Use `-masm=att' instead.
}

*link_command:
%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:    %(linker) %l %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} %{r} %{s} %{t}    %{u*} %{x} %{z} %{Z} %{!A:%{!nostdlib:%{!nostartfiles:%S}}}    %{static:} %{L*} %(link_libgcc) %o %{!nostdlib:%{!nodefaultlibs:%(link_gcc_c_sequence)}}    %{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} }}}}}}

« Last Edit: June 13, 2009, 01:33:25 AM by pepsi »
Logged

Naram Qashat

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 192
    • CBX's Sprite Animations
Re: 1.9.0-p1, compilation errors?
« Reply #12 on: June 13, 2009, 08:11:11 PM »

See, I don't know how PLD Linux is set up, but I do find it surprising that InspIRCd builds fine but Anope isn't.  The part it's dying at, though, maybe we can do something about that.  I'll look into it.
Logged

Naram Qashat

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 192
    • CBX's Sprite Animations
Re: 1.9.0-p1, compilation errors?
« Reply #13 on: June 15, 2009, 07:49:19 PM »

I might have a solution, with some help from pippijn from ChatSpike.  As a test before I commit this, open up services.h, go to line 1404, and remove MARK_DEPRECATED from the end of the line, and put it at the beginning of the line.  Then try to compile.  Lemme know if it works, and if it does, I'll commit it to the 1.9.0p1 tag and forward port it to trunk.
Logged
Pages: [1]   Go Up