To recompile the socklog programs with the diet libc, check that you have the recent version of dietlibc installed.
Change to the package directory of socklog:
cd /package/admin/socklog/
Change the conf-cc and conf-ld to use
diet:
echo 'diet -Os gcc -O2 -Wall' >src/conf-cc
echo 'diet -Os gcc -s -Os -pipe' >src/conf-ld
Rebuild and install the socklog programs:
package/install