EnergyMech

Forum | Features | Download | Addons | Help | #emech | Links | About | Contact

Versions | News Archive | Installing | Linking | Configuration | Commands | FAQ


The time is now Thursday, April 7th, 2022, 12:24pm

Create account ]   User/Pass   


Forum Index :: Generic Discussion :: a little help?.. :: Reply to this topic

Author
 
siko
Posted :: 5:32am, Mon, Nov 26, 2012     Subject :: a little help?..


Posts: 3
 
    Please tell me why do i get this error ? :\



root@xxl:~/emech-2.9.3$ make clean mech install
( cd src ; make clean )
make[1]: Entering directory `/home/root/emech-2.9.3/src'
/bin/rm -f cfgfile.o channel.o com-ons.o combot.o commands.o dcc.o debug.o function.o link.o main.o parse.o socket.o userlist.o vars.o xmech.o trivia.o gencmd mcmd.h core
make[1]: Leaving directory `/home/root/emech-2.9.3/src'
( cd src ; make mech )
make[1]: Entering directory `/home/root/emech-2.9.3/src'
/usr/bin/gcc -g -o gencmd gencmd.c
./gencmd > mcmd.h
/usr/bin/gcc -pipe -g -Wshadow -Wall -O2 -c cfgfile.c
cfgfile.c: In function 'cfg_addhandle':
cfgfile.c:455:2: warning: value computed is not used [-Wunused-value]
cfgfile.c: In function 'cfg_addks':
cfgfile.c:605:2: warning: value computed is not used [-Wunused-value]
cfgfile.c: In function 'cfg_addshit':
cfgfile.c:622:2: warning: value computed is not used [-Wunused-value]
/usr/bin/gcc -pipe -g -Wshadow -Wall -O2 -c channel.c
channel.c: In function 'channel_massmode':
channel.c:1041:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
channel.c:1052:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
/usr/bin/gcc -pipe -g -Wshadow -Wall -O2 -c com-ons.c
/usr/bin/gcc -pipe -g -Wshadow -Wall -O2 -c combot.c
/usr/bin/gcc -pipe -g -Wshadow -Wall -O2 -c commands.c
commands.c: In function 'do_spymsg':
commands.c:1447:2: warning: value computed is not used [-Wunused-value]
commands.c: In function 'do_statmsg':
commands.c:1469:2: warning: value computed is not used [-Wunused-value]
commands.c: In function 'do_spy':
commands.c:1669:2: warning: value computed is not used [-Wunused-value]
commands.c: In function 'do_kicksay':
commands.c:2075:2: warning: value computed is not used [-Wunused-value]
/usr/bin/gcc -pipe -g -Wshadow -Wall -O2 -c dcc.c
dcc.c: In function 'process_incoming_chat':
dcc.c:114:3: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign]
/usr/include/x86_64-linux-gnu/sys/socket.h:214:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *'
dcc.c: In function 'dcc_chat':
dcc.c:331:2: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign]
/usr/include/x86_64-linux-gnu/sys/socket.h:119:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *'
/usr/bin/gcc -pipe -g -Wshadow -Wall -O2 -c debug.c
/usr/bin/gcc -pipe -g -Wshadow -Wall -O2 -c function.c
function.c: In function 'cipher':
function.c:1021:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
function.c: In function 'findstruct':
function.c:1085:12: error: lvalue required as left operand of assignment
function.c: In function 'addstruct':
function.c:1114:13: error: lvalue required as left operand of assignment
make[1]: *** [function.o] Error 1
make[1]: Leaving directory `/home/root/emech-2.9.3/src'
make: *** [mech] Error 2
root@xxl:~/emech-2.9.3$


 

Copyright © 2000-2005 Proton,  All rights reserved. Last edited August 16th, 2005.
HTML 4.01 CSS