Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Problem with mods after host switched servers  (Read 4624 times)

0 Members and 1 Guest are viewing this topic.

bros

  • Anope User
  • Offline Offline
  • Posts: 17
Problem with mods after host switched servers
« on: September 02, 2010, 02:51:16 AM »

I'm on Unreal 3.2.8, anope 1.8.4, host switched servers today and I am trying to get the modules back up and running

These ones, to be precise:
http://modules.anope.org/index.php?page=view&id=73
http://modules.anope.org/index.php?page=view&id=24
http://modules.anope.org/index.php?page=view&id=97

I go to anope-1.8.4/src and type make modules, and I get:
Code: [Select]
ns_ajoin.c:1069: error: 'DBFile' has no member named 'filename'
ns_ajoin.c:1069: error: 'errno' undeclared (first use in this function)
ns_ajoin.c:1072: error: 'NULL' undeclared (first use in this function)
ns_ajoin.c:1077: error: 'DBFile' has no member named 'db_version'
ns_ajoin.c:1077: warning: implicit declaration of function 'fgetc'
ns_ajoin.c:1077: error: 'DBFile' has no member named 'fptr'
ns_ajoin.c:1077: error: 'DBFile' has no member named 'fptr'
ns_ajoin.c:1078: error: 'DBFile' has no member named 'fptr'
ns_ajoin.c:1078: error: 'DBFile' has no member named 'fptr'
ns_ajoin.c:1080: warning: implicit declaration of function 'ferror'
ns_ajoin.c:1080: error: 'DBFile' has no member named 'fptr'
ns_ajoin.c:1082: error: 'DBFile' has no member named 'filename'
ns_ajoin.c:1089: warning: implicit declaration of function 'feof'
ns_ajoin.c:1089: error: 'DBFile' has no member named 'fptr'
ns_ajoin.c:1092: error: 'DBFile' has no member named 'filename'
ns_ajoin.c:1099: error: 'DBFile' has no member named 'db_version'
ns_ajoin.c:1101: error: 'DBFile' has no member named 'db_version'
ns_ajoin.c:1101: error: 'DBFile' has no member named 'filename'
ns_ajoin.c: In function 'new_open_db_write':
ns_ajoin.c:1114: error: 'DBFile' has no member named 'fptr'
ns_ajoin.c:1114: error: 'DBFile' has no member named 'filename'
ns_ajoin.c:1115: error: 'debug' undeclared (first use in this function)
ns_ajoin.c:1116: error: 'DBFile' has no member named 'service'
ns_ajoin.c:1116: error: 'DBFile' has no member named 'filename'
ns_ajoin.c:1121: warning: implicit declaration of function 'fputc'
ns_ajoin.c:1121: error: 'DBFile' has no member named 'core_db_version'
ns_ajoin.c:1121: error: 'DBFile' has no member named 'fptr'
ns_ajoin.c:1122: error: 'DBFile' has no member named 'core_db_version'
ns_ajoin.c:1122: error: 'DBFile' has no member named 'fptr'
ns_ajoin.c:1123: error: 'DBFile' has no member named 'core_db_version'
ns_ajoin.c:1123: error: 'DBFile' has no member named 'fptr'
ns_ajoin.c:1124: error: 'DBFile' has no member named 'core_db_version'
ns_ajoin.c:1124: error: 'DBFile' has no member named 'fptr'
ns_ajoin.c:1126: error: 'DBFile' has no member named 'filename'
ns_ajoin.c: At top level:
ns_ajoin.c:1134: error: expected ')' before '*' token
ns_ajoin.c:1150: error: expected declaration specifiers or '...' before 'FILE'
ns_ajoin.c: In function 'new_read_db_entry':
ns_ajoin.c:1159: error: 'fptr' undeclared (first use in this function)
ns_ajoin.c:1159: error: 'EOF' undeclared (first use in this function)
ns_ajoin.c: In function 'new_write_db_entry':
ns_ajoin.c:1192: error: 'va_list' undeclared (first use in this function)
ns_ajoin.c:1192: error: expected ';' before 'ap'
ns_ajoin.c:1199: warning: implicit declaration of function 'va_start'
ns_ajoin.c:1199: error: 'ap' undeclared (first use in this function)
ns_ajoin.c:1200: warning: implicit declaration of function 'vsnprintf'
ns_ajoin.c:1201: warning: implicit declaration of function 'va_end'
ns_ajoin.c:1203: warning: implicit declaration of function 'stricmp'
ns_ajoin.c:1206: warning: implicit declaration of function 'snprintf'
ns_ajoin.c:1206: warning: incompatible implicit declaration of built-in function 'snprintf'
ns_ajoin.c:1207: warning: implicit declaration of function 'strlen'
ns_ajoin.c:1207: warning: incompatible implicit declaration of built-in function 'strlen'
ns_ajoin.c:1211: warning: implicit declaration of function 'fwrite'
ns_ajoin.c:1211: warning: incompatible implicit declaration of built-in function 'fwrite'
ns_ajoin.c:1211: error: 'DBFile' has no member named 'fptr'
ns_ajoin.c:1212: error: 'debug' undeclared (first use in this function)
ns_ajoin.c:1213: error: 'DBFile' has no member named 'filename'
ns_ajoin.c:1215: warning: implicit declaration of function 'new_close_db'
ns_ajoin.c:1215: error: 'DBFile' has no member named 'fptr'
ns_ajoin.c:1215: error: 'NULL' undeclared (first use in this function)
ns_ajoin.c:1219: warning: implicit declaration of function 'remove'
ns_ajoin.c:1219: error: 'DBFile' has no member named 'filename'
ns_ajoin.c:1220: warning: implicit declaration of function 'rename'
ns_ajoin.c:1220: error: 'DBFile' has no member named 'temp_name'
ns_ajoin.c:1220: error: 'DBFile' has no member named 'filename'
ns_ajoin.c: In function 'new_write_db_endofblock':
ns_ajoin.c:1233: error: 'DBFile' has no member named 'fptr'
ns_ajoin.c:1233: error: 'EOF' undeclared (first use in this function)
ns_ajoin.c:1234: error: 'debug' undeclared (first use in this function)
ns_ajoin.c:1235: error: 'DBFile' has no member named 'filename'
ns_ajoin.c:1237: error: 'DBFile' has no member named 'fptr'
ns_ajoin.c:1237: error: 'NULL' undeclared (first use in this function)
ns_ajoin.c: In function 'fill_db_ptr':
ns_ajoin.c:1247: error: 'DBFile' has no member named 'db_version'
ns_ajoin.c:1248: error: 'DBFile' has no member named 'core_db_version'
ns_ajoin.c:1250: warning: implicit declaration of function 'strcpy'
ns_ajoin.c:1250: warning: incompatible implicit declaration of built-in function 'strcpy'
ns_ajoin.c:1250: error: 'DBFile' has no member named 'service'
ns_ajoin.c:1252: error: 'DBFile' has no member named 'service'
ns_ajoin.c:1254: error: 'DBFile' has no member named 'filename'
ns_ajoin.c:1255: warning: incompatible implicit declaration of built-in function 'snprintf'
ns_ajoin.c:1255: error: 'DBFile' has no member named 'temp_name'
ns_ajoin.c: At top level:
ns_ajoin.c:1262: error: expected ')' before '*' token
ns_ajoin.c:1275: error: expected ')' before '*' token
ns_ajoin.c: In function 'addAjoinChan':
ns_ajoin.c:1296: error: 'NULL' undeclared (first use in this function)
ns_ajoin.c:1301: warning: incompatible implicit declaration of built-in function 'malloc'
ns_ajoin.c:1302: warning: implicit declaration of function 'fatal'
ns_ajoin.c:1316: warning: implicit declaration of function 'sstrdup'
ns_ajoin.c:1316: warning: assignment makes pointer from integer without a cast
ns_ajoin.c:1318: warning: assignment makes pointer from integer without a cast
ns_ajoin.c: In function 'findAjoinChan':
ns_ajoin.c:1348: error: 'NULL' undeclared (first use in this function)
ns_ajoin.c:1356: warning: control reaches end of non-void function
ns_ajoin.c: In function 'findAjoinChanNr':
ns_ajoin.c:1363: error: 'NULL' undeclared (first use in this function)
ns_ajoin.c:1371: warning: control reaches end of non-void function
ns_ajoin.c: In function 'clearAjoinChans':
ns_ajoin.c:1403: error: 'NULL' undeclared (first use in this function)
ns_ajoin.c: At top level:
ns_ajoin.c:1445: error: expected ')' before '*' token
ns_ajoin.c:1504: error: expected ')' before '*' token
ns_ajoin.c: In function 'deleteAjoinEntry':
ns_ajoin.c:1548: error: 'NULL' undeclared (first use in this function)
ns_ajoin.c: In function 'freeUnusedEntries':
ns_ajoin.c:1563: error: 'NULL' undeclared (first use in this function)
ns_ajoin.c:1568: error: 'AjoinEntry' has no member named 'in_use'
ns_ajoin.c:1570: error: 'AjoinEntry' has no member named 'in_use'
ns_ajoin.c: In function 'do_save':
ns_ajoin.c:1591: error: 'EVENT_STOP' undeclared (first use in this function)
ns_ajoin.c:1600: error: 'MOD_STOP' undeclared (first use in this function)
ns_ajoin.c:1605: error: 'MOD_CONT' undeclared (first use in this function)
ns_ajoin.c:1606: warning: control reaches end of non-void function
ns_ajoin.c: In function 'db_backup':
ns_ajoin.c:1613: error: 'EVENT_STOP' undeclared (first use in this function)
ns_ajoin.c:1615: warning: implicit declaration of function 'ModuleDatabaseBackup'
ns_ajoin.c:1620: error: 'MOD_CONT' undeclared (first use in this function)
ns_ajoin.c:1621: warning: control reaches end of non-void function
ns_ajoin.c: In function 'load_ajoin_db':
ns_ajoin.c:1629: warning: implicit declaration of function 'scalloc'
ns_ajoin.c:1629: warning: initialization makes pointer from integer without a cast
ns_ajoin.c:1630: error: 'NULL' undeclared (first use in this function)
ns_ajoin.c:1631: error: 'NickCore' undeclared (first use in this function)
ns_ajoin.c:1631: error: 'nc' undeclared (first use in this function)
ns_ajoin.c:1635: error: 's_NickServ' undeclared (first use in this function)
ns_ajoin.c:1638: error: 'DBFile' has no member named 'temp_name'
ns_ajoin.c:1648: error: 'DBFile' has no member named 'fptr'
ns_ajoin.c:1648: error: too many arguments to function 'new_read_db_entry'
ns_ajoin.c:1651: error: 'DBFile' has no member named 'fptr'
ns_ajoin.c:1656: error: 'DBFile' has no member named 'fptr'
ns_ajoin.c:1668: warning: implicit declaration of function 'findcore'
ns_ajoin.c:1669: warning: assignment makes pointer from integer without a cast
ns_ajoin.c:1675: error: 'AjoinEntry' has no member named 'flags'
ns_ajoin.c:1675: error: 'uint16' undeclared (first use in this function)
ns_ajoin.c:1675: error: expected ';' before 'atoi'
ns_ajoin.c:1679: warning: implicit declaration of function 'myStrGetToken'
ns_ajoin.c:1679: warning: initialization makes pointer from integer without a cast
ns_ajoin.c:1680: warning: initialization makes pointer from integer without a cast
ns_ajoin.c:1688: warning: implicit declaration of function 'atoi'
ns_ajoin.c: In function 'save_ajoin_db':
ns_ajoin.c:1702: warning: initialization makes pointer from integer without a cast
ns_ajoin.c:1703: error: 'NickCore' undeclared (first use in this function)
ns_ajoin.c:1703: error: 'nc' undeclared (first use in this function)
ns_ajoin.c:1706: error: 's_NickServ' undeclared (first use in this function)
ns_ajoin.c:1709: error: 'DBFile' has no member named 'temp_name'
ns_ajoin.c:1712: error: 'DBFile' has no member named 'temp_name'
ns_ajoin.c:1724: error: 'nclists' undeclared (first use in this function)
ns_ajoin.c:1725: error: 'NULL' undeclared (first use in this function)
ns_ajoin.c:1728: warning: assignment makes pointer from integer without a cast
ns_ajoin.c:1734: error: 'AjoinEntry' has no member named 'flags'
ns_ajoin.c:1734: error: 'DefAjoinFlags' undeclared (first use in this function)
ns_ajoin.c:1736: warning: implicit declaration of function 'moduleDelData'
ns_ajoin.c:1742: error: 'AjoinEntry' has no member named 'flags'
ns_ajoin.c:1753: error: 'AjoinEntry' has no member named 'in_use'
ns_ajoin.c:1758: error: 'DBFile' has no member named 'fptr'
ns_ajoin.c:1759: error: 'DBFile' has no member named 'temp_name'
ns_ajoin.c: In function 'valid_ircd':
ns_ajoin.c:1770: error: 'IRCDModule' undeclared (first use in this function)
ns_ajoin.c: In function 'check_modules':
ns_ajoin.c:1804: warning: implicit declaration of function 'findModule'
ns_ajoin.c:1809: error: 'DisableRaw' undeclared (first use in this function)
ns_ajoin.c: In function 'get_flags':
ns_ajoin.c:1846: error: 'BUFSIZE' undeclared (first use in this function)
ns_ajoin.c:1847: error: expected ',' or ';' before 'VER_DEBUG'
ns_ajoin.c:1851: warning: incompatible implicit declaration of built-in function 'snprintf'
ns_ajoin.c:1856: warning: assignment makes pointer from integer without a cast
ns_ajoin.c:1846: warning: unused variable 'tmp'
ns_ajoin.c: In function 'update_version':
ns_ajoin.c:1864: error: 'Module' undeclared (first use in this function)
ns_ajoin.c:1864: error: 'm' undeclared (first use in this function)
ns_ajoin.c:1865: error: 'BUFSIZE' undeclared (first use in this function)
ns_ajoin.c:1868: error: 'mod_current_module' undeclared (first use in this function)
ns_ajoin.c:1873: warning: incompatible implicit declaration of built-in function 'snprintf'
ns_ajoin.c:1865: warning: unused variable 'tmp'
ns_ajoin.c: In function 'load_config':
ns_ajoin.c:1888: error: 'NULL' undeclared (first use in this function)
ns_ajoin.c:1890: error: 'Directive' undeclared (first use in this function)
ns_ajoin.c:1890: error: expected ';' before 'confvalues'
ns_ajoin.c:1909: warning: implicit declaration of function 'moduleGetConfigDirective'
ns_ajoin.c:1909: error: 'confvalues' undeclared (first use in this function)
ns_ajoin.c:1912: warning: assignment makes pointer from integer without a cast
ns_ajoin.c:1915: error: 'ChannelInfo' undeclared (first use in this function)
ns_ajoin.c:1915: error: 'ci' undeclared (first use in this function)
ns_ajoin.c:1917: warning: implicit declaration of function 'buildStringList'
ns_ajoin.c:1917: warning: assignment makes pointer from integer without a cast
ns_ajoin.c:1923: warning: implicit declaration of function 'anope_valid_chan'
ns_ajoin.c:1924: warning: implicit declaration of function 'cs_findchan'
ns_ajoin.c:1925: error: 'CI_VERBOTEN' undeclared (first use in this function)
ns_ajoin.c:1925: error: 'CI_SUSPENDED' undeclared (first use in this function)
ns_ajoin.c:1929: error: 'debug' undeclared (first use in this function)
ns_ajoin.c: In function 'reload_config':
ns_ajoin.c:1949: error: 'EVENT_START' undeclared (first use in this function)
ns_ajoin.c:1950: error: 'debug' undeclared (first use in this function)
ns_ajoin.c:1962: error: 'MOD_STOP' undeclared (first use in this function)
ns_ajoin.c:1967: error: 'MOD_CONT' undeclared (first use in this function)
ns_ajoin.c:1968: warning: control reaches end of non-void function
ns_ajoin.c: In function 'add_languages':
ns_ajoin.c:2520: warning: implicit declaration of function 'moduleInsertLanguage'
ns_ajoin.c:2520: error: 'LANG_EN_US' undeclared (first use in this function)
ns_ajoin.c:2521: error: 'LANG_NL' undeclared (first use in this function)
ns_ajoin.c:2522: error: 'LANG_DE' undeclared (first use in this function)
ns_ajoin.c:2523: error: 'LANG_TR' undeclared (first use in this function)
ns_ajoin.c:2524: error: 'LANG_RU' undeclared (first use in this function)
make[1]: *** [ns_ajoin.o] Error 1
make[1]: Leaving directory `/home/xxxxxx/anope-1.8.4/src/modules'
make: *** [modules] Error 2

Any suggestions?
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: Problem with mods after host switched servers
« Reply #1 on: September 02, 2010, 11:51:17 AM »

you shouldn't be in src when you do make modules you should be in ~/anope-1.8.4
Logged

bros

  • Anope User
  • Offline Offline
  • Posts: 17
Re: Problem with mods after host switched servers
« Reply #2 on: September 03, 2010, 04:17:19 PM »

you shouldn't be in src when you do make modules you should be in ~/anope-1.8.4

Oh duh.

Thanks :P
Logged
Pages: [1]   Go Up