Page 1 of 1

make: *** [dsgame-ability.o] Error 1

Posted: Mon Mar 30, 2015 9:50 pm
by Alexandre24
Hello,

I found a error when I compile. I check every package I installed and this error always comes back. Any idea? I run on Ubuntu

server@server-System-Product-Name:~/darkstar$ make
g++ -std=gnu++0x -DHAVE_CONFIG_H -I. -I./src/common -DdsUDPSERV -I/usr//include/luajit-2.0 -I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-aliasing -DTAOCRYPT_DISABLE_X86ASM -g -DNDEBUG -g -O2 -MT dsgame-ability.o -MD -MP -MF .deps/dsgame-ability.Tpo -c -o dsgame-ability.o `test -f 'src/map/ability.cpp' || echo './'`src/map/ability.cpp
src/map/ability.cpp: In function ‘void ability::LoadAbilitiesList()’:
src/map/ability.cpp:270:48: error: ‘memset’ was not declared in this scope
memset(PAbilityList,0,sizeof(PAbilityList));
^
make: *** [dsgame-ability.o] Error 1

Re: make: *** [dsgame-ability.o] Error 1

Posted: Mon Mar 30, 2015 10:26 pm
by kjLotus
good to go now ^^

Re: make: *** [dsgame-ability.o] Error 1

Posted: Mon Mar 30, 2015 10:41 pm
by Alexandre24
Whao, you're quick! Thanks Kj!