I know this is not the site for AFK bit that site is a little bit on the quite side.
Trying to compile latest AFK. getting this error
any help. Smaugfuss compiles ok
Trying to compile latest AFK. getting this error
Quote:
$ make
Building AFKMud....
make -j2 -s afkmud
Compiling o/imc.o....
Compiling o/act_info.o....
imc.cpp: In function ‘void imc_loop()’:
imc.cpp:2568:78: error: ‘select’ was not declared in this scope
if( select( this_imcmud->desc + 1, &in_set, &out_set, nullptr, &null_time ) < 0 )
^
Makefile:172: recipe for target 'o/imc.o' failed
make[1]: *** [o/imc.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:109: recipe for target 'all' failed
make: *** [all] Error 2
$ make
Building AFKMud....
make -j2 -s afkmud
Compiling o/imc.o....
Compiling o/act_info.o....
imc.cpp: In function ‘void imc_loop()’:
imc.cpp:2568:78: error: ‘select’ was not declared in this scope
if( select( this_imcmud->desc + 1, &in_set, &out_set, nullptr, &null_time ) < 0 )
^
Makefile:172: recipe for target 'o/imc.o' failed
make[1]: *** [o/imc.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:109: recipe for target 'all' failed
make: *** [all] Error 2
any help. Smaugfuss compiles ok