Anope IRC Services

Anope Support => 1.8.x/1.7.x Support (Read Only) => Topic started by: Anton Gorlov on September 04, 2009, 12:51:57 PM

Title: making problem
Post by: Anton Gorlov on September 04, 2009, 12:51:57 PM
Building fails because of errors (see the log below). gcc version is gcc version 4.1.2 20070626 (ALT Linux, build 4.1.2-alt2)



make[1]: Entering directory `/home/stalker/opt/srcbld/anope-1.8.2/src'
gcc -pipe -g -O2 -I/usr/include/mysql -pipe -march=i586 -mtune=i686 -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -DHAVE_ERRNO_AS_DEFINE -DONE_THREAD -export-dynamic -I../include/ -c actions.c
In file included from ../include/services.h:212,
                 from actions.c:15:
../include/slist.h:24: error: expected specifier-qualifier-list before 'int16'
../include/slist.h:32: error: expected specifier-qualifier-list before 'int32'
In file included from actions.c:15:
../include/services.h:318: error: expected specifier-qualifier-list before 'uint32'
../include/services.h:369: error: expected specifier-qualifier-list before 'uint32'
../include/services.h:480: error: expected specifier-qualifier-list before 'uint32'
../include/services.h:492: error: expected specifier-qualifier-list before 'int16'
../include/services.h:519: error: expected specifier-qualifier-list before 'uint16'
../include/services.h:533: error: expected specifier-qualifier-list before 'uint32'
../include/services.h:564: error: expected specifier-qualifier-list before 'int16'
../include/services.h:580: error: expected specifier-qualifier-list before 'uint16'
../include/services.h:608: error: expected specifier-qualifier-list before 'int16'
../include/services.h:628: error: expected specifier-qualifier-list before 'uint16'
../include/services.h:656: error: expected specifier-qualifier-list before 'uint32'
../include/services.h:816: error: expected specifier-qualifier-list before 'int32'
../include/services.h:842: error: expected specifier-qualifier-list before 'uint16'
../include/services.h:874: error: expected specifier-qualifier-list before 'uint32'
../include/services.h:906: error: expected specifier-qualifier-list before 'uint32'
../include/services.h:920: error: expected specifier-qualifier-list before 'uint32'
../include/services.h:934: error: expected specifier-qualifier-list before 'int16'
../include/services.h:955: error: expected specifier-qualifier-list before 'int16'
../include/services.h:966: error: expected specifier-qualifier-list before 'int16'
../include/services.h:992: error: expected specifier-qualifier-list before 'uint32'
../include/services.h:1020: error: expected specifier-qualifier-list before 'int32'
../include/services.h:1025: error: expected specifier-qualifier-list before 'uint32'
../include/services.h:1102: error: expected specifier-qualifier-list before 'uint16'
../include/services.h:1343: error: expected specifier-qualifier-list before 'uint32'
In file included from ../include/services.h:1391,
                 from actions.c:15:
../include/extern.h:129: error: expected declaration specifiers or '...' before 'int16'
../include/extern.h:130: error: expected declaration specifiers or '...' before 'int16'
../include/extern.h:131: error: expected declaration specifiers or '...' before 'int16'
../include/extern.h:151: error: expected declaration specifiers or '...' before 'uint32'
../include/extern.h:152: error: expected declaration specifiers or '...' before 'uint32'
../include/extern.h:153: error: expected declaration specifiers or '...' before 'uint32'
../include/extern.h:154: error: expected declaration specifiers or '...' before 'uint32'
../include/extern.h:597: error: expected declaration specifiers or '...' before 'int32'
../include/extern.h:604: error: expected declaration specifiers or '...' before 'int32'
../include/extern.h:605: error: expected declaration specifiers or '...' before 'int32'
../include/extern.h:843: error: expected declaration specifiers or '...' before 'int32'
../include/extern.h:885: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cidr_to_netmask'
../include/extern.h:886: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'netmask_to_cidr'
../include/extern.h:891: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'str_is_ip'
../include/extern.h:892: error: expected declaration specifiers or '...' before 'uint32'
../include/extern.h:892: error: expected declaration specifiers or '...' before 'uint32'
../include/extern.h:905: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nnews'
../include/extern.h:911: error: expected declaration specifiers or '...' before 'int16'
../include/extern.h:935: error: expected ')' before 'status'
../include/extern.h:970: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DefConModesOn'
../include/extern.h:971: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DefConModesOff'
../include/extern.h:1049: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uplink_capab'
../include/extern.h:1059: error: expected declaration specifiers or '...' before 'uint16'
../include/extern.h:1077: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nexceptions'
../include/extern.h:1080: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nsessions'
../include/extern.h:1114: error: expected declaration specifiers or '...' before 'int16'
../include/extern.h:1118: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'total_read'
../include/extern.h:1119: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'read_buffer_len'
../include/extern.h:1120: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'write_buffer_len'
../include/extern.h:1135: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'usercnt'
../include/extern.h:1136: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'maxusercnt'
../include/extern.h:1162: error: expected declaration specifiers or '...' before 'uint32'
../include/extern.h:1162: error: expected declaration specifiers or '...' before 'uint32'
actions.c: In function 'bad_password':
actions.c:32: error: 'User' has no member named 'invalid_pw_time'
actions.c:33: error: 'User' has no member named 'invalid_pw_time'
actions.c:34: error: 'User' has no member named 'invalid_pw_count'
actions.c:35: error: 'User' has no member named 'invalid_pw_count'
actions.c:36: error: 'User' has no member named 'invalid_pw_time'
actions.c:37: error: 'User' has no member named 'invalid_pw_count'
actions.c: In function 'kill_user':
actions.c:69: error: 'IRCDVar' has no member named 'quitonkill'
actions.c: In function 'sqline':
actions.c:89: error: 'IRCDVar' has no member named 'chansqline'
actions.c:100: error: 'Channel' has no member named 'users'
actions.c:101: error: dereferencing pointer to incomplete type
actions.c:102: error: dereferencing pointer to incomplete type
actions.c:106: error: dereferencing pointer to incomplete type
actions.c: In function 'common_unban':
actions.c:136: error: 'uint32' undeclared (first use in this function)
actions.c:136: error: (Each undeclared identifier is reported only once
actions.c:136: error: for each function it appears in.)
actions.c:136: error: expected ';' before 'ip'
actions.c:140: error: 'ChannelInfo' has no member named 'c'
actions.c:148: error: 'ChannelInfo' has no member named 'c'
actions.c:148: error: 'ChannelInfo' has no member named 'c'
actions.c:163: error: 'ip' undeclared (first use in this function)
actions.c:165: error: 'IRCDVar' has no member named 'svsmode_unban'
actions.c:168: error: 'IRCDCAPAB' has no member named 'tsmode'
actions.c:180: error: 'ChannelInfo' has no member named 'c'
actions.c:182: error: too many arguments to function 'entry_match'
actions.c:183: error: too many arguments to function 'entry_match'
actions.c:184: error: 'ChannelInfo' has no member named 'botflags'
actions.c:184: error: 'ChannelInfo' has no member named 'bi'
actions.c:184: error: 'ChannelInfo' has no member named 'c'
actions.c:184: error: 'ChannelInfo' has no member named 'c'
actions.c:184: error: 'ChannelInfo' has no member named 'bi'
actions.c:184: error: 'Entry' has no member named 'mask'
actions.c:185: error: 'IRCDCAPAB' has no member named 'tsmode'
actions.c:186: error: 'Entry' has no member named 'mask'
actions.c:188: error: 'Entry' has no member named 'mask'
actions.c:190: error: 'ChannelInfo' has no member named 'botflags'
actions.c:190: error: 'ChannelInfo' has no member named 'bi'
actions.c:190: error: 'ChannelInfo' has no member named 'c'
actions.c:190: error: 'ChannelInfo' has no member named 'c'
actions.c:190: error: 'ChannelInfo' has no member named 'bi'
actions.c:194: error: 'IRCDCAPAB' has no member named 'tsmode'
actions.c: In function 'common_get_vhost':
actions.c:242: error: 'IRCDVar' has no member named 'vhostmode'
actions.c:242: error: 'User' has no member named 'mode'
actions.c:242: error: 'IRCDVar' has no member named 'vhostmode'
actions.c: In function 'common_get_vident':
actions.c:263: error: 'IRCDVar' has no member named 'vhostmode'
actions.c:263: error: 'User' has no member named 'mode'
actions.c:263: error: 'IRCDVar' has no member named 'vhostmode'
actions.c:265: error: 'IRCDVar' has no member named 'vident'
make[1]: *** [actions.o] Error 1
make[1]: Leaving directory `/home/stalker/opt/srcbld/anope-1.8.2/src'
make: *** [build] Error 2
Title: Re: making problem
Post by: Charles Kingsley on September 04, 2009, 04:27:09 PM
Need to see the whole output from ./Config forwards please.