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

Post Reply
Alexandre24
Posts: 175
Joined: Thu Mar 13, 2014 10:15 pm
Location: Hawkesbury, Ontario, CANADA

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

Post by Alexandre24 » Mon Mar 30, 2015 9:50 pm

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

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

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

Post by kjLotus » Mon Mar 30, 2015 10:26 pm

good to go now ^^

Alexandre24
Posts: 175
Joined: Thu Mar 13, 2014 10:15 pm
Location: Hawkesbury, Ontario, CANADA

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

Post by Alexandre24 » Mon Mar 30, 2015 10:41 pm

Whao, you're quick! Thanks Kj!

Post Reply