OK i downloaded hlsdk from metamod page
now I'm getting this:
Code:
$ make
mkdir -p Release
make netdb
make[1]: Entering directory `/home/ahtoh/project/netdb'
g++ netdb.cpp -o netdb
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/crt1.o: In function `_start':
../sysdeps/i386/elf/start.S:115: undefined reference to `main'
/tmp/ccKXNYKb.o: In function `amx_netdb_gethostbyaddr(tagAMX*, int*)':
netdb.cpp:(.text+0x1a): undefined reference to `g_fn_GetAmxString'
netdb.cpp:(.text+0x98): undefined reference to `g_fn_SetAmxString'
/tmp/ccKXNYKb.o: In function `amx_netdb_gethostbyname(tagAMX*, int*)':
netdb.cpp:(.text+0xde): undefined reference to `g_fn_GetAmxString'
netdb.cpp:(.text+0x13e): undefined reference to `g_fn_SetAmxString'
/tmp/ccKXNYKb.o: In function `OnAmxxAttach()':
netdb.cpp:(.text+0x17f): undefined reference to `g_fn_AddNatives'
collect2: ld returned 1 exit status
make[1]: *** [netdb] Ошибка 1
make[1]: Leaving directory `/home/ahtoh/project/netdb'
make: *** [all] Ошибка 2