You are not logged in.

#1 2005-11-22 21:24:35

digi691
Member
Registered: 2004-10-12
Posts: 22

IRSSI w/ FiSH

I don't know if anyone has done this.  My linux box has no gui so i need to install an IRC client for the console.  irssi installed fine.  I unzipped FiSH, did all the commands to get the MIRACL to work by doing bash linux.  Copied over the miracl.a to the fish install directry and tried make.  If anyone could help me that would be great.  One of my favorite irc channels switched to using this for security reasons and i really don't want keep using my windows box.  Here is what happens when i do the make.  NOTE- in the make file i am pointing the glib to /usr/lib/glib-2.0/ and irssi to /usr/lib/irssi/.

Cleaning up...

Compiling now...

make[1]: Entering directory `/home/chris/FiSH-irssi.v0.99-source'
gcc -c -static SHA-256.c
SHA-256.c: In function 'SHA256_memory':
SHA-256.c:164: warning: incompatible implicit declaration of built-in function 'memset'
SHA-256.c: In function 'sha_file':
SHA-256.c:177: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness
gcc -c -static base64.c
base64.c: In function 'b64toh':
base64.c:28: warning: incompatible implicit declaration of built-in function 'strlen'
base64.c: In function 'htob64':
base64.c:91: warning: incompatible implicit declaration of built-in function 'strlen'
gcc -c -static blowfish.c
blowfish.c: In function 'encrypt_string':
blowfish.c:146: warning: incompatible implicit declaration of built-in function 'malloc'
blowfish.c:147: warning: incompatible implicit declaration of built-in function 'strncpy'
blowfish.c:148: warning: incompatible implicit declaration of built-in function 'memset'
blowfish.c:149: warning: incompatible implicit declaration of built-in function 'strlen'
blowfish.c:150: warning: pointer targets in assignment differ in signedness
blowfish.c: In function 'decrypt_string':
blowfish.c:186: warning: incompatible implicit declaration of built-in function 'malloc'
blowfish.c:187: warning: incompatible implicit declaration of built-in function 'strncpy'
blowfish.c:188: warning: incompatible implicit declaration of built-in function 'memset'
blowfish.c:189: warning: incompatible implicit declaration of built-in function 'strlen'
blowfish.c: In function 'encrypt_key':
blowfish.c:212: warning: incompatible implicit declaration of built-in function 'strcpy'
blowfish.c:214: warning: incompatible implicit declaration of built-in function 'strlen'
blowfish.c:216: warning: pointer targets in passing argument 1 of 'encrypt_string' differ in signedness
gcc -c -static cfgopts.c
cfgopts.c: In function 'GetPrivateProfileString':
cfgopts.c:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness
cfgopts.c:22: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness
cfgopts.c:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
cfgopts.c:24: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness
cfgopts.c:24: warning: pointer targets in passing argument 2 of 'strncasecmp' differ in signedness
cfgopts.c:28: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness
cfgopts.c:33: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness
cfgopts.c: In function 'WritePrivateProfileString':
cfgopts.c:71: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness
cfgopts.c:88: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness
cfgopts.c:97: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness
cfgopts.c:101: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
cfgopts.c:101: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness
cfgopts.c:101: warning: pointer targets in passing argument 2 of 'strncasecmp' differ in signedness
cfgopts.c:121: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness
cfgopts.c:146: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness
cfgopts.c:156: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
cfgopts.c:156: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness
cfgopts.c:157: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness
cfgopts.c:168: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness
cfgopts.c:186: warning: pointer targets in passing argument 1 of 'rename' differ in signedness
make[1]: Leaving directory `/home/chris/FiSH-irssi.v0.99-source'
make[1]: Entering directory `/home/chris/FiSH-irssi.v0.99-source'
gcc -static -c DH1080.c
DH1080.c: In function 'DH1080_gen':
DH1080.c:54: warning: pointer targets in passing argument 2 of 'b64toh' differ in signedness
DH1080.c:55: warning: pointer targets in passing argument 2 of 'bytes_to_big' differ in signedness
DH1080.c:63: warning: incompatible implicit declaration of built-in function 'memset'
DH1080.c:77: warning: incompatible implicit declaration of built-in function 'memset'
DH1080.c:82: warning: pointer targets in passing argument 3 of 'strong_init' differ in signedness
DH1080.c:91: warning: pointer targets in passing argument 3 of 'big_to_bytes' differ in signedness
DH1080.c:93: warning: pointer targets in passing argument 1 of 'htob64' differ in signedness
DH1080.c:95: warning: pointer targets in passing argument 3 of 'big_to_bytes' differ in signedness
DH1080.c:96: warning: pointer targets in passing argument 1 of 'htob64' differ in signedness
DH1080.c: In function 'DH1080_comp':
DH1080.c:120: warning: incompatible implicit declaration of built-in function 'strspn'
DH1080.c:120: warning: pointer targets in passing argument 2 of 'strspn' differ in signedness
DH1080.c:120: warning: incompatible implicit declaration of built-in function 'strlen'
DH1080.c:120: warning: pointer targets in passing argument 2 of 'strspn' differ in signedness
DH1080.c:122: warning: incompatible implicit declaration of built-in function 'memset'
DH1080.c:134: warning: pointer targets in passing argument 2 of 'b64toh' differ in signedness
DH1080.c:135: warning: pointer targets in passing argument 2 of 'bytes_to_big' differ in signedness
DH1080.c:137: warning: pointer targets in passing argument 2 of 'b64toh' differ in signedness
DH1080.c:138: warning: pointer targets in passing argument 2 of 'bytes_to_big' differ in signedness
DH1080.c:139: warning: incompatible implicit declaration of built-in function 'memset'
DH1080.c:141: warning: pointer targets in passing argument 2 of 'b64toh' differ in signedness
DH1080.c:142: warning: pointer targets in passing argument 2 of 'bytes_to_big' differ in signedness
DH1080.c:147: warning: pointer targets in passing argument 3 of 'big_to_bytes' differ in signedness
DH1080.c:150: warning: pointer targets in passing argument 1 of 'htob64' differ in signedness
gcc -static -shared DH1080.o miracl.a SHA-256.o base64.o -o DH1080.so
make[1]: Leaving directory `/home/chris/FiSH-irssi.v0.99-source'
make[1]: Entering directory `/home/chris/FiSH-irssi.v0.99-source'
gcc -I. -I/usr/lib/glib-2.0/ -I/usr/lib/glib-2.0//include -I/usr/lib/glib-2.0//glib -I/usr/lib/irssi/ -I/usr/lib/irssi//src -I/usr/lib/irssi//src/core -I/usr/lib/irssi//src/fe-common/core -static -O2 -Wall -c FiSH.c -fPIC -DPIC -o FiSH.o
In file included from FiSH.h:12,
                 from FiSH.c:3:
module.h:1:20: error: common.h: No such file or directory
module.h:2:21: error: servers.h: No such file or directory
module.h:3:22: error: settings.h: No such file or directory
module.h:4:23: error: printtext.h: No such file or directory
module.h:5:20: error: levels.h: No such file or directory
module.h:6:21: error: signals.h: No such file or directory
module.h:7:22: error: commands.h: No such file or directory
module.h:8:21: error: queries.h: No such file or directory
module.h:9:22: error: channels.h: No such file or directory
module.h:10:26: error: window-items.h: No such file or directory
In file included from FiSH.h:12,
                 from FiSH.c:3:
module.h:16: error: syntax error before '*' token
module.h:25: error: syntax error before '*' token
module.h:25: warning: type defaults to 'int' in declaration of 'G_GNUC_PRINTF'
module.h:25: warning: data definition has no type or storage class
module.h:27: error: syntax error before '*' token
module.h:27: warning: type defaults to 'int' in declaration of 'irc_query_create'
module.h:27: warning: data definition has no type or storage class
In file included from FiSH.c:3:
FiSH.h:26: error: syntax error before '*' token
FiSH.c: In function 'FiSH_encrypt':
FiSH.c:15: warning: pointer targets in passing argument 4 of 'GetPrivateProfileString' differ in signedness
FiSH.c:15: warning: pointer targets in passing argument 6 of 'GetPrivateProfileString' differ in signedness
FiSH.c:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
FiSH.c:20: warning: pointer targets in passing argument 1 of 'FixContactName' differ in signedness
FiSH.c:22: warning: pointer targets in passing argument 1 of 'GetPrivateProfileString' differ in signedness
FiSH.c:22: warning: pointer targets in passing argument 4 of 'GetPrivateProfileString' differ in signedness
FiSH.c:22: warning: pointer targets in passing argument 6 of 'GetPrivateProfileString' differ in signedness
FiSH.c:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
FiSH.c:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
FiSH.c:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
FiSH.c:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
FiSH.c:25: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
FiSH.c:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:27: warning: pointer targets in passing argument 2 of 'decrypt_string' differ in signedness
FiSH.c:27: warning: pointer targets in passing argument 3 of 'decrypt_string' differ in signedness
FiSH.c:35: warning: pointer targets in passing argument 1 of 'encrypt_string' differ in signedness
FiSH.c: In function 'FiSH_decrypt':
FiSH.c:53: warning: pointer targets in passing argument 4 of 'GetPrivateProfileString' differ in signedness
FiSH.c:53: warning: pointer targets in passing argument 6 of 'GetPrivateProfileString' differ in signedness
FiSH.c:60: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
FiSH.c:61: warning: pointer targets in passing argument 1 of 'FixContactName' differ in signedness
FiSH.c:63: warning: pointer targets in passing argument 1 of 'GetPrivateProfileString' differ in signedness
FiSH.c:63: warning: pointer targets in passing argument 4 of 'GetPrivateProfileString' differ in signedness
FiSH.c:63: warning: pointer targets in passing argument 6 of 'GetPrivateProfileString' differ in signedness
FiSH.c:64: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:65: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:65: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:65: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
FiSH.c:65: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:65: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
FiSH.c:65: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
FiSH.c:65: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
FiSH.c:65: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
FiSH.c:67: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:67: warning: pointer targets in passing argument 2 of 'decrypt_string' differ in signedness
FiSH.c:67: warning: pointer targets in passing argument 3 of 'decrypt_string' differ in signedness
FiSH.c:77: warning: pointer targets in passing argument 2 of '__builtin_strspn' differ in signedness
FiSH.c:77: warning: pointer targets in passing argument 2 of '__builtin_strspn' differ in signedness
FiSH.c:77: warning: pointer targets in passing argument 2 of '__builtin_strspn' differ in signedness
FiSH.c:88: warning: pointer targets in passing argument 4 of 'GetPrivateProfileString' differ in signedness
FiSH.c:88: warning: pointer targets in passing argument 6 of 'GetPrivateProfileString' differ in signedness
FiSH.c:93: warning: pointer targets in passing argument 1 of 'decrypt_string' differ in signedness
FiSH.c:93: warning: pointer targets in passing argument 3 of 'decrypt_string' differ in signedness
FiSH.c:102: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness
FiSH.c:102: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness
FiSH.c:105: warning: pointer targets in passing argument 1 of 'GetPrivateProfileString' differ in signedness
FiSH.c:105: warning: pointer targets in passing argument 4 of 'GetPrivateProfileString' differ in signedness
FiSH.c:105: warning: pointer targets in passing argument 6 of 'GetPrivateProfileString' differ in signedness
FiSH.c:108: warning: pointer targets in passing argument 4 of 'GetPrivateProfileString' differ in signedness
FiSH.c:108: warning: pointer targets in passing argument 6 of 'GetPrivateProfileString' differ in signedness
FiSH.c:111: warning: pointer targets in passing argument 4 of 'GetPrivateProfileString' differ in signedness
FiSH.c:111: warning: pointer targets in passing argument 6 of 'GetPrivateProfileString' differ in signedness
FiSH.c:112: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness
FiSH.c:112: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness
FiSH.c:115: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:116: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:117: warning: pointer targets in passing argument 1 of '__builtin_strncpy' differ in signedness
FiSH.c:117: warning: pointer targets in passing argument 2 of '__builtin_strncpy' differ in signedness
FiSH.c:122: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness
FiSH.c: At top level:
FiSH.c:130: error: syntax error before '*' token
FiSH.c: In function 'decrypt_incoming':
FiSH.c:135: error: 'msg' undeclared (first use in this function)
FiSH.c:135: error: (Each undeclared identifier is reported only once
FiSH.c:135: error: for each function it appears in.)
FiSH.c:135: error: 'target' undeclared (first use in this function)
FiSH.c:135: error: 'nick' undeclared (first use in this function)
FiSH.c:141: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
FiSH.c:146: warning: pointer targets in passing argument 1 of 'ExtractRnick' differ in signedness
FiSH.c:151: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
FiSH.c:153: warning: pointer targets in passing argument 3 of 'FiSH_decrypt' differ in signedness
FiSH.c:155: warning: implicit declaration of function 'signal_stop'
FiSH.c:156: warning: implicit declaration of function 'signal_emit'
FiSH.c:156: warning: implicit declaration of function 'signal_get_emitted'
FiSH.c:156: error: 'server' undeclared (first use in this function)
FiSH.c:156: error: 'addr' undeclared (first use in this function)
FiSH.c: At top level:
FiSH.c:162: error: syntax error before '*' token
FiSH.c: In function 'encrypt_outgoing':
FiSH.c:171: error: 'msg' undeclared (first use in this function)
FiSH.c:174: warning: pointer targets in passing argument 4 of 'GetPrivateProfileString' differ in signedness
FiSH.c:174: warning: pointer targets in passing argument 6 of 'GetPrivateProfileString' differ in signedness
FiSH.c:177: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:178: warning: pointer targets in passing argument 2 of 'strncasecmp' differ in signedness
FiSH.c:180: warning: implicit declaration of function 'irc_send_cmdv'
FiSH.c:180: error: 'server' undeclared (first use in this function)
FiSH.c:180: error: 'target' undeclared (first use in this function)
FiSH.c:185: warning: pointer targets in passing argument 3 of 'FiSH_encrypt' differ in signedness
FiSH.c:194: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
FiSH.c:197: warning: pointer targets in passing argument 1 of 'GetPrivateProfileString' differ in signedness
FiSH.c:197: warning: pointer targets in passing argument 4 of 'GetPrivateProfileString' differ in signedness
FiSH.c:197: warning: pointer targets in passing argument 6 of 'GetPrivateProfileString' differ in signedness
FiSH.c:200: warning: pointer targets in passing argument 4 of 'GetPrivateProfileString' differ in signedness
FiSH.c:200: warning: pointer targets in passing argument 6 of 'GetPrivateProfileString' differ in signedness
FiSH.c:203: warning: pointer targets in passing argument 4 of 'GetPrivateProfileString' differ in signedness
FiSH.c:203: warning: pointer targets in passing argument 6 of 'GetPrivateProfileString' differ in signedness
FiSH.c:204: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness
FiSH.c:204: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness
FiSH.c:207: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:208: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:209: warning: pointer targets in passing argument 1 of '__builtin_strncpy' differ in signedness
FiSH.c:209: warning: pointer targets in passing argument 2 of '__builtin_strncpy' differ in signedness
FiSH.c:214: warning: implicit declaration of function 'signal_continue'
FiSH.c:214: error: 'orig_target' undeclared (first use in this function)
FiSH.c: At top level:
FiSH.c:222: error: syntax error before '*' token
FiSH.c: In function 'notice_incoming':
FiSH.c:226: error: 'msg' undeclared (first use in this function)
FiSH.c:228: error: 'server' undeclared (first use in this function)
FiSH.c:228: error: 'nick' undeclared (first use in this function)
FiSH.c:229: warning: implicit declaration of function 'printtext'
FiSH.c:229: error: 'MSGLEVEL_CRAP' undeclared (first use in this function)
FiSH.c:235: error: 'address' undeclared (first use in this function)
FiSH.c:235: error: 'target' undeclared (first use in this function)
FiSH.c:242: warning: pointer targets in passing argument 3 of 'FiSH_decrypt' differ in signedness
FiSH.c: At top level:
FiSH.c:251: error: syntax error before '*' token
FiSH.c: In function 'decrypt_action':
FiSH.c:253: error: 'msg' undeclared (first use in this function)
FiSH.c:253: error: 'target' undeclared (first use in this function)
FiSH.c:256: error: 'server' undeclared (first use in this function)
FiSH.c:256: error: 'nick' undeclared (first use in this function)
FiSH.c:256: error: 'address' undeclared (first use in this function)
FiSH.c: At top level:
FiSH.c:262: error: syntax error before '*' token
FiSH.c: In function 'decrypt_topic':
FiSH.c:264: error: 'topic' undeclared (first use in this function)
FiSH.c:264: error: 'channel' undeclared (first use in this function)
FiSH.c:267: error: 'server' undeclared (first use in this function)
FiSH.c:267: error: 'nick' undeclared (first use in this function)
FiSH.c:267: error: 'address' undeclared (first use in this function)
FiSH.c: At top level:
FiSH.c:273: error: syntax error before '*' token
FiSH.c: In function 'topic_changed':
FiSH.c:275: error: 'chan_rec' undeclared (first use in this function)
FiSH.c: At top level:
FiSH.c:280: error: syntax error before '*' token
FiSH.c: In function 'raw_handler':
FiSH.c:285: error: 'data' undeclared (first use in this function)
FiSH.c: At top level:
FiSH.c:315: error: syntax error before 'SERVER_REC'
FiSH.c: In function 'encrypt_notice':
FiSH.c:323: error: 'data' undeclared (first use in this function)
FiSH.c:324: warning: implicit declaration of function 'cmd_get_params'
FiSH.c:329: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:331: error: 'server' undeclared (first use in this function)
FiSH.c:331: error: 'MSGLEVEL_CRAP' undeclared (first use in this function)
FiSH.c:335: warning: pointer targets in passing argument 1 of 'FiSH_encrypt' differ in signedness
FiSH.c:335: warning: pointer targets in passing argument 3 of 'FiSH_encrypt' differ in signedness
FiSH.c:345: warning: implicit declaration of function 'cmd_params_free'
FiSH.c:350: error: 'item' undeclared (first use in this function)
FiSH.c:350: warning: implicit declaration of function 'window_item_get_target'
FiSH.c: At top level:
FiSH.c:357: error: syntax error before 'SERVER_REC'
FiSH.c: In function 'command_crypt_TOPIC':
FiSH.c:363: error: 'data' undeclared (first use in this function)
FiSH.c:364: error: 'item' undeclared (first use in this function)
FiSH.c:364: warning: assignment makes pointer from integer without a cast
FiSH.c:369: error: 'server' undeclared (first use in this function)
FiSH.c:369: error: 'MSGLEVEL_CRAP' undeclared (first use in this function)
FiSH.c:381: warning: pointer targets in passing argument 3 of 'FiSH_encrypt' differ in signedness
FiSH.c: At top level:
FiSH.c:398: error: syntax error before 'SERVER_REC'
FiSH.c: In function 'command_helpfish':
FiSH.c:400: error: 'MSGLEVEL_CRAP' undeclared (first use in this function)
FiSH.c: At top level:
FiSH.c:414: error: syntax error before 'SERVER_REC'
FiSH.c: In function 'command_setinipw':
FiSH.c:421: error: 'iniPW' undeclared (first use in this function)
FiSH.c:424: error: 'server' undeclared (first use in this function)
FiSH.c:424: error: 'item' undeclared (first use in this function)
FiSH.c:424: error: 'MSGLEVEL_CRAP' undeclared (first use in this function)
FiSH.c:431: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:443: warning: pointer targets in passing argument 1 of 'htob64' differ in signedness
FiSH.c:443: warning: pointer targets in passing argument 2 of 'htob64' differ in signedness
FiSH.c:444: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
FiSH.c:444: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness
FiSH.c:445: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
FiSH.c:445: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness
FiSH.c:446: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
FiSH.c:446: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness
FiSH.c:448: warning: pointer targets in passing argument 1 of 'htob64' differ in signedness
FiSH.c:448: warning: pointer targets in passing argument 2 of 'htob64' differ in signedness
FiSH.c:453: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
FiSH.c:453: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness
FiSH.c:454: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness
FiSH.c:455: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness
FiSH.c:456: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness
FiSH.c:461: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness
FiSH.c:461: warning: pointer targets in assignment differ in signedness
FiSH.c:464: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness
FiSH.c:464: warning: pointer targets in assignment differ in signedness
FiSH.c:468: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness
FiSH.c:469: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:469: warning: pointer targets in passing argument 1 of 'decrypt_string' differ in signedness
FiSH.c:469: warning: pointer targets in passing argument 2 of 'decrypt_string' differ in signedness
FiSH.c:469: warning: pointer targets in passing argument 3 of 'decrypt_string' differ in signedness
FiSH.c:470: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:471: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:471: warning: pointer targets in passing argument 1 of 'encrypt_string' differ in signedness
FiSH.c:471: warning: pointer targets in passing argument 2 of 'encrypt_string' differ in signedness
FiSH.c:471: warning: pointer targets in passing argument 3 of 'encrypt_string' differ in signedness
FiSH.c:472: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness
FiSH.c:482: warning: pointer targets in passing argument 1 of 'remove' differ in signedness
FiSH.c:497: warning: pointer targets in passing argument 1 of 'remove' differ in signedness
FiSH.c:498: warning: pointer targets in passing argument 1 of 'rename' differ in signedness
FiSH.c:498: warning: pointer targets in passing argument 2 of 'rename' differ in signedness
FiSH.c:502: warning: pointer targets in passing argument 3 of 'WritePrivateProfileString' differ in signedness
FiSH.c:502: warning: pointer targets in passing argument 4 of 'WritePrivateProfileString' differ in signedness
FiSH.c: At top level:
FiSH.c:522: error: syntax error before 'SERVER_REC'
FiSH.c: In function 'command_unsetinipw':
FiSH.c:525: error: 'server' undeclared (first use in this function)
FiSH.c:525: error: 'item' undeclared (first use in this function)
FiSH.c:527: warning: pointer targets in passing argument 4 of 'WritePrivateProfileString' differ in signedness
FiSH.c:529: error: 'MSGLEVEL_CRAP' undeclared (first use in this function)
FiSH.c: At top level:
FiSH.c:539: error: syntax error before 'SERVER_REC'
FiSH.c: In function 'command_setkey':
FiSH.c:545: error: 'data' undeclared (first use in this function)
FiSH.c:547: error: 'server' undeclared (first use in this function)
FiSH.c:547: error: 'item' undeclared (first use in this function)
FiSH.c:547: error: 'MSGLEVEL_CRAP' undeclared (first use in this function)
FiSH.c:565: warning: assignment makes pointer from integer without a cast
FiSH.c:575: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
FiSH.c:576: warning: pointer targets in passing argument 1 of 'FixContactName' differ in signedness
FiSH.c:578: warning: pointer targets in passing argument 2 of 'encrypt_key' differ in signedness
FiSH.c:580: warning: pointer targets in passing argument 1 of 'WritePrivateProfileString' differ in signedness
FiSH.c:580: warning: pointer targets in passing argument 3 of 'WritePrivateProfileString' differ in signedness
FiSH.c:580: warning: pointer targets in passing argument 4 of 'WritePrivateProfileString' differ in signedness
FiSH.c: At top level:
FiSH.c:599: error: syntax error before 'SERVER_REC'
FiSH.c: In function 'command_delkey':
FiSH.c:603: error: 'target' undeclared (first use in this function)
FiSH.c:605: error: 'server' undeclared (first use in this function)
FiSH.c:605: error: 'item' undeclared (first use in this function)
FiSH.c:605: error: 'MSGLEVEL_CRAP' undeclared (first use in this function)
FiSH.c:611: warning: pointer targets in passing argument 1 of 'FixContactName' differ in signedness
FiSH.c:613: warning: pointer targets in passing argument 1 of 'WritePrivateProfileString' differ in signedness
FiSH.c:613: warning: pointer targets in passing argument 4 of 'WritePrivateProfileString' differ in signedness
FiSH.c: At top level:
FiSH.c:626: error: syntax error before 'SERVER_REC'
FiSH.c: In function 'command_key':
FiSH.c:630: error: 'target' undeclared (first use in this function)
FiSH.c:632: error: 'item' undeclared (first use in this function)
FiSH.c:635: error: 'MSGLEVEL_CRAP' undeclared (first use in this function)
FiSH.c:641: warning: pointer targets in passing argument 1 of 'FixContactName' differ in signedness
FiSH.c:643: warning: pointer targets in passing argument 1 of 'GetPrivateProfileString' differ in signedness
FiSH.c:643: warning: pointer targets in passing argument 4 of 'GetPrivateProfileString' differ in signedness
FiSH.c:643: warning: pointer targets in passing argument 6 of 'GetPrivateProfileString' differ in signedness
FiSH.c:644: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:646: error: 'server' undeclared (first use in this function)
FiSH.c:651: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:651: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:651: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
FiSH.c:651: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:651: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
FiSH.c:651: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
FiSH.c:651: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
FiSH.c:651: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
FiSH.c:653: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:653: warning: pointer targets in passing argument 2 of 'decrypt_string' differ in signedness
FiSH.c:653: warning: pointer targets in passing argument 3 of 'decrypt_string' differ in signedness
FiSH.c: At top level:
FiSH.c:669: error: syntax error before 'SERVER_REC'
FiSH.c: In function 'command_keyx':
FiSH.c:671: error: 'target' undeclared (first use in this function)
FiSH.c:673: error: 'item' undeclared (first use in this function)
FiSH.c:676: error: 'MSGLEVEL_CRAP' undeclared (first use in this function)
FiSH.c:683: error: 'server' undeclared (first use in this function)
FiSH.c: At top level:
FiSH.c:697: error: syntax error before '*' token
FiSH.c: In function 'DH1080_received':
FiSH.c:702: error: 'target' undeclared (first use in this function)
FiSH.c:702: error: 'nick' undeclared (first use in this function)
FiSH.c:703: error: 'msg' undeclared (first use in this function)
FiSH.c:709: warning: pointer targets in passing argument 2 of '__builtin_strspn' differ in signedness
FiSH.c:709: warning: pointer targets in passing argument 2 of '__builtin_strspn' differ in signedness
FiSH.c:709: warning: pointer targets in passing argument 2 of '__builtin_strspn' differ in signedness
FiSH.c:711: warning: implicit declaration of function 'query_find'
FiSH.c:711: error: 'server' undeclared (first use in this function)
FiSH.c:711: warning: comparison between pointer and integer
FiSH.c:718: error: 'MSGLEVEL_CRAP' undeclared (first use in this function)
FiSH.c:735: warning: pointer targets in passing argument 4 of 'WritePrivateProfileString' differ in signedness
FiSH.c: At top level:
FiSH.c:749: error: syntax error before '*' token
FiSH.c: In function 'do_auto_keyx':
FiSH.c:755: warning: pointer targets in passing argument 4 of 'GetPrivateProfileString' differ in signedness
FiSH.c:755: warning: pointer targets in passing argument 6 of 'GetPrivateProfileString' differ in signedness
FiSH.c:758: error: 'query' undeclared (first use in this function)
FiSH.c:758: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
FiSH.c:759: warning: pointer targets in passing argument 1 of 'FixContactName' differ in signedness
FiSH.c:761: warning: pointer targets in passing argument 1 of 'GetPrivateProfileString' differ in signedness
FiSH.c:761: warning: pointer targets in passing argument 4 of 'GetPrivateProfileString' differ in signedness
FiSH.c:761: warning: pointer targets in passing argument 6 of 'GetPrivateProfileString' differ in signedness
FiSH.c:762: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c: At top level:
FiSH.c:771: error: syntax error before '*' token
FiSH.c: In function 'query_nick_changed':
FiSH.c:775: warning: pointer targets in passing argument 4 of 'GetPrivateProfileString' differ in signedness
FiSH.c:775: warning: pointer targets in passing argument 6 of 'GetPrivateProfileString' differ in signedness
FiSH.c:778: error: 'orignick' undeclared (first use in this function)
FiSH.c:778: error: 'query' undeclared (first use in this function)
FiSH.c:779: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
FiSH.c:780: warning: pointer targets in passing argument 1 of 'FixContactName' differ in signedness
FiSH.c:782: warning: pointer targets in passing argument 1 of 'GetPrivateProfileString' differ in signedness
FiSH.c:782: warning: pointer targets in passing argument 4 of 'GetPrivateProfileString' differ in signedness
FiSH.c:782: warning: pointer targets in passing argument 6 of 'GetPrivateProfileString' differ in signedness
FiSH.c:783: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:785: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
FiSH.c:786: warning: pointer targets in passing argument 1 of 'FixContactName' differ in signedness
FiSH.c:788: warning: pointer targets in passing argument 1 of 'WritePrivateProfileString' differ in signedness
FiSH.c:788: warning: pointer targets in passing argument 3 of 'WritePrivateProfileString' differ in signedness
FiSH.c:788: warning: pointer targets in passing argument 4 of 'WritePrivateProfileString' differ in signedness
FiSH.c:791: error: 'MSGLEVEL_CRAP' undeclared (first use in this function)
FiSH.c: At top level:
FiSH.c:800: error: syntax error before '*' token
FiSH.c:804: error: syntax error before '*' token
FiSH.c: In function 'server_register_fish':
FiSH.c:808: error: 'server' undeclared (first use in this function)
FiSH.c:810: warning: implicit declaration of function 'g_new0'
FiSH.c:810: error: syntax error before 'MODULE_SERVER_REC'
FiSH.c:811: warning: implicit declaration of function 'MODULE_DATA_SET'
FiSH.c: At top level:
FiSH.c:816: error: syntax error before '*' token
FiSH.c: In function 'server_unregister_fish':
FiSH.c:820: error: 'server' undeclared (first use in this function)
FiSH.c:822: warning: implicit declaration of function 'MODULE_DATA'
FiSH.c:822: warning: assignment makes pointer from integer without a cast
FiSH.c:825: warning: implicit declaration of function 'MODULE_DATA_UNSET'
FiSH.c:826: warning: implicit declaration of function 'g_free'
FiSH.c: In function 'fish_init':
FiSH.c:836: warning: implicit declaration of function 'g_slist_foreach'
FiSH.c:836: error: 'servers' undeclared (first use in this function)
FiSH.c:836: error: 'GFunc' undeclared (first use in this function)
FiSH.c:836: error: syntax error before 'server_register_fish'
FiSH.c:838: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
FiSH.c:839: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
FiSH.c:839: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness
FiSH.c:840: warning: pointer targets in passing argument 1 of 'strrchr' differ in signedness
FiSH.c:840: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness
FiSH.c:841: warning: pointer targets in passing argument 1 of 'strrchr' differ in signedness
FiSH.c:843: warning: pointer targets in passing argument 4 of 'GetPrivateProfileString' differ in signedness
FiSH.c:843: warning: pointer targets in passing argument 6 of 'GetPrivateProfileString' differ in signedness
FiSH.c:844: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:846: warning: pointer targets in assignment differ in signedness
FiSH.c:847: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
FiSH.c:847: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness
FiSH.c:848: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:851: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:853: warning: pointer targets in passing argument 1 of 'htob64' differ in signedness
FiSH.c:853: warning: pointer targets in passing argument 2 of 'htob64' differ in signedness
FiSH.c:854: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
FiSH.c:854: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness
FiSH.c:856: warning: pointer targets in passing argument 1 of 'htob64' differ in signedness
FiSH.c:856: warning: pointer targets in passing argument 2 of 'htob64' differ in signedness
FiSH.c:857: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:857: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:857: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
FiSH.c:857: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
FiSH.c:857: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:857: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
FiSH.c:857: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
FiSH.c:857: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
FiSH.c:857: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
FiSH.c:857: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
FiSH.c:857: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
FiSH.c:857: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
FiSH.c:859: error: 'MSGLEVEL_CRAP' undeclared (first use in this function)
FiSH.c:867: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
FiSH.c:867: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness
FiSH.c:872: warning: implicit declaration of function 'signal_add_first'
FiSH.c:872: error: 'SIGNAL_FUNC' undeclared (first use in this function)
FiSH.c:872: error: syntax error before 'decrypt_incoming'
FiSH.c:873: error: syntax error before 'decrypt_incoming'
FiSH.c:874: error: syntax error before 'notice_incoming'
FiSH.c:875: error: syntax error before 'decrypt_action'
FiSH.c:877: error: syntax error before 'encrypt_outgoing'
FiSH.c:878: error: syntax error before 'encrypt_outgoing'
FiSH.c:880: error: syntax error before 'topic_changed'
FiSH.c:881: error: syntax error before 'decrypt_topic'
FiSH.c:882: error: syntax error before 'raw_handler'
FiSH.c:884: warning: implicit declaration of function 'signal_add'
FiSH.c:884: error: syntax error before 'server_register_fish'
FiSH.c:885: error: syntax error before 'server_unregister_fish'
FiSH.c:887: error: syntax error before 'do_auto_keyx'
FiSH.c:888: error: syntax error before 'query_nick_changed'
FiSH.c:890: warning: implicit declaration of function 'command_bind'
FiSH.c:890: error: syntax error before 'command_crypt_TOPIC'
FiSH.c:891: error: syntax error before 'encrypt_notice'
FiSH.c:892: error: syntax error before 'encrypt_notice'
FiSH.c:893: error: syntax error before 'command_setkey'
FiSH.c:894: error: syntax error before 'command_delkey'
FiSH.c:895: error: syntax error before 'command_key'
FiSH.c:896: error: syntax error before 'command_keyx'
FiSH.c:897: error: syntax error before 'command_setinipw'
FiSH.c:898: error: syntax error before 'command_unsetinipw'
FiSH.c:900: error: syntax error before 'command_helpfish'
FiSH.c:901: error: syntax error before 'command_helpfish'
FiSH.c:903: error: 'MSGLEVEL_CLIENTNOTICE' undeclared (first use in this function)
FiSH.c:907: warning: implicit declaration of function 'module_register'
FiSH.c: In function 'fish_deinit':
FiSH.c:914: error: 'servers' undeclared (first use in this function)
FiSH.c:914: error: 'GFunc' undeclared (first use in this function)
FiSH.c:914: error: syntax error before 'server_unregister_fish'
FiSH.c:916: warning: implicit declaration of function 'signal_remove'
FiSH.c:916: error: 'SIGNAL_FUNC' undeclared (first use in this function)
FiSH.c:916: error: syntax error before 'decrypt_incoming'
FiSH.c:917: error: syntax error before 'decrypt_incoming'
FiSH.c:918: error: syntax error before 'notice_incoming'
FiSH.c:919: error: syntax error before 'decrypt_action'
FiSH.c:921: error: syntax error before 'encrypt_outgoing'
FiSH.c:922: error: syntax error before 'encrypt_outgoing'
FiSH.c:924: error: syntax error before 'topic_changed'
FiSH.c:925: error: syntax error before 'decrypt_topic'
FiSH.c:926: error: syntax error before 'raw_handler'
FiSH.c:928: error: syntax error before 'server_register_fish'
FiSH.c:929: error: syntax error before 'server_unregister_fish'
FiSH.c:931: error: syntax error before 'do_auto_keyx'
FiSH.c:932: error: syntax error before 'query_nick_changed'
FiSH.c:934: warning: implicit declaration of function 'command_unbind'
FiSH.c:934: error: syntax error before 'command_crypt_TOPIC'
FiSH.c:935: error: syntax error before 'encrypt_notice'
FiSH.c:936: error: syntax error before 'encrypt_notice'
FiSH.c:937: error: syntax error before 'command_setkey'
FiSH.c:938: error: syntax error before 'command_delkey'
FiSH.c:939: error: syntax error before 'command_key'
FiSH.c:940: error: syntax error before 'command_keyx'
FiSH.c:941: error: syntax error before 'command_setinipw'
FiSH.c:942: error: syntax error before 'command_unsetinipw'
FiSH.c:944: error: syntax error before 'command_helpfish'
FiSH.c:945: error: syntax error before 'command_helpfish'
FiSH.c: In function 'strfcpy':
FiSH.c:995: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
FiSH.c:996: warning: pointer targets in return differ in signedness
make[1]: *** [FiSH] Error 1
make[1]: Leaving directory `/home/chris/FiSH-irssi.v0.99-source'
make: *** [all] Error 2

Offline

#2 2005-11-22 22:28:24

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: IRSSI w/ FiSH

Well, i didn't see a question in there, so I'm going to assume you're asking for help compiling this?

For starters, you can ignore all those warnings - that's gcc4 telling you "this is bad code" - the errors are your real concern - and they're all "undeclared X" or "implicitly defined Y" - which means either a header is missing, or a #ifdef block has been skipped...

module.h:1:20: error: common.h: No such file or directory
module.h:2:21: error: servers.h: No such file or directory
module.h:3:22: error: settings.h: No such file or directory
module.h:4:23: error: printtext.h: No such file or directory
module.h:5:20: error: levels.h: No such file or directory
module.h:6:21: error: signals.h: No such file or directory
module.h:7:22: error: commands.h: No such file or directory
module.h:8:21: error: queries.h: No such file or directory
module.h:9:22: error: channels.h: No such file or directory
module.h:10:26: error: window-items.h: No such file or directory 

there ya go - those are irssi headers I believe - make sure you have them installed.

Offline

#3 2005-11-23 01:23:37

digi691
Member
Registered: 2004-10-12
Posts: 22

Re: IRSSI w/ FiSH

Well you guessed my question right.  Sorry i did not stat that i was having compile problems.  Ok, i can't find those header files anywhere on the system.  Would i have to compile irssi myself from source to get these files instead of downloading and installing through pacman?

Offline

#4 2005-11-23 02:54:58

digi691
Member
Registered: 2004-10-12
Posts: 22

Re: IRSSI w/ FiSH

I would like to thank you for helping me.  I am not too great w/ compiling but I usually can get programs to compile.  Well I compiled irssi into my home directory and pointed the Makefile to the irssi directory that I compiled and I am not getting the "No such file or directory" for any of those headers you game me.  But still not compiling and getting a new "No Such file or directory" for glib.h.  I have to point the Makefile for the glib files to /usr/lib/glib-2.0 because it needs glibconfig.h.  The Problem now is that glib.h is in /usr/include/glib-2.0.  Talk about Compile hell!  :x    I was hoping not have to compile glib2 cause that looks complicated! Here is what the Makefile looks like where i need to show where the directorys are:

#glib_dir = /usr/local/include/glib-1.2
glib_dir = /usr/lib/glib-2.0/
irssi_dir = /home/chris/irssi-0.8.9/

all:    note

        @make misc
        @make DH
        @make FiSH

        @echo

Well, since there was no response back if anyone stumbles upon this in the future with a solution please feel free to e-mail me.

Offline

Board footer

Powered by FluxBB