I have dclib 0.3.8 installed - no problems there. Today (may 28) I did as root an emerge --sync and then an emerge dclib. The buid failed. I do not remember doing any major updates between compilation of 0.3.8 and today. I put the complete build log at http://fep.hpc.pub.ro/~egrama/build.log Reproducible: Always
Attach the log here, please. Also post emerge --info output.
Created attachment 120530 [details] build log showing errors
Created attachment 120532 [details] output of emerge --info
Attached needed info.
Dclib 0.3.9 uses a different hash implementation than 0.3.8, it takes some files from DC++. Something appears to have gone wrong with the int types definitions for you. I previously thought they were all in sys/types.h, but now it appears that u_int8_t format is in sys/types.h, and uint8_t is in stdint.h. (I don't know why the DC++ code uses both formats). So I've added the include of stdint.h to compat.h, patch attached. Does this fix the problem?
Created attachment 122271 [details, diff] adds stdint.h include to compat.h
Yup! Works like a charm. Thanks a lot for your help.
Reopen. Fix is not in Portage yet.
I think you should upgrade your system...
Fixed since 0.3.10, closing.