Comments for gtmess
25 Oct 2005 18:29
can't compile (gcc 4 problem?)
Hi.
I'd like to test your client, and I'm receiving this compile error. I
can see it's been left alone since march, so I'm not sure whether you
still maintain this project! If you don't, don't mind! If you do, here's
some info. :-)
[!]shadowgate] /usr/src/gtmess-0.91> make
Making all in src
make[1]: Entering directory `/usr/src/gtmess-0.91/src'
make all-recursive
make[2]: Entering directory `/usr/src/gtmess-0.91/src'
Making all in inty
make[3]: Entering directory `/usr/src/gtmess-0.91/src/inty'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../src -g -O2 -MT inty.o -MD -MP
-MF ".deps/inty.Tpo" -c -o inty.o inty.c; \
then mv -f ".deps/inty.Tpo" ".deps/inty.Po"; else rm -f
".deps/inty.Tpo"; exit 1; fi
inty.c: In function 'GetMyIP':
inty.c:280: warning: pointer targets in passing argument 3 of
'getsockname' differ in signedness
rm -f libinty.a
ar cru libinty.a inty.o
ranlib libinty.a
make[3]: Leaving directory `/usr/src/gtmess-0.91/src/inty'
Making all in client
make[3]: Entering directory `/usr/src/gtmess-0.91/src/client'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../src
-DDATADIR=\"/usr/local/share/gtmess\" -g -O2 -MT gtmess.o -MD -MP -MF
".deps/gtmess.Tpo" -c -o gtmess.o gtmess.c; \
then mv -f ".deps/gtmess.Tpo" ".deps/gtmess.Po"; else rm -f
".deps/gtmess.Tpo"; exit 1; fi
gtmess.c:120: error: static declaration of 'ConfigTbl' follows
non-static declaration
gtmess.h:82: error: previous declaration of 'ConfigTbl' was here
make[3]: *** [gtmess.o] Error 1
make[3]: Leaving directory `/usr/src/gtmess-0.91/src/client'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/gtmess-0.91/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/gtmess-0.91/src'
make: *** [all-recursive] Error 1
[!]shadowgate] /usr/src/gtmess-0.91>
..and here's some stuff about my system..
[!]shadowgate] /usr/src/gtmess-0.91> dpkg -l |grep -i gcc
ii gcc 4.0.2-1 The GNU C
compiler
ii gcc-3.3 3.3.6-10 The GNU C
compiler
ii gcc-3.3-base 3.3.6-10 The GNU Compiler
Collection (base package)
ii gcc-4.0 4.0.2-2 The GNU C
compiler
ii gcc-4.0-base 4.0.2-2 The GNU Compiler
Collection (base package)
ii libgcc1 4.0.2-2 GCC support
library
[!]shadowgate] /usr/src/gtmess-0.91> dpkg -l |grep -i binu
ii binutils 2.16.1cvs20050902-1 The GNU
assembler, linker and binary utiliti
[!]shadowgate] /usr/src/gtmess-0.91>
Hope this is useful :P
14 Feb 2005 18:31
Great console MSN messenger client!
great console MSN messenger client i've ever seen!
very impressive interface and it can display CJK text..
great * infinity :)
Re: can't compile (gcc 4 problem?)
> gtmess.c:120: error: static declaration
> of 'ConfigTbl' follows
>
> non-static declaration
>
>
> gtmess.h:82: error: previous declaration
> of 'ConfigTbl' was here
Remove the static keyword in gtmess.c, line 120 (or in gtmess.h, line 82). If a function is declared static one place, and none-static another, gcc 3.x ignored the static keyword, while gcc 4.x throws this error, which makes sense.