There is no ifaddrs.h in my uclibc on an arm based micro system and MiniDLNA doesn't check for it's existence as other web projects do. If ifaddrs.h is not found on the system there should be some another code used, but I have no idea how to fix it, sorry.
In my attempts to deal with this problem I've copied ifaddrs.h from another system to my micro system, but it only helped partially (everything compiled without problems, but on the linking stage it throws out the following errors:
uuid.o: In function `generate_uuid':
./minidlna/uuid.c:131: undefined reference to `getifaddrs'
./minidlna/uuid.c:158: undefined reference to `freeifaddrs'
collect2: ld returned 1 exit status
make: *** [minidlna] Error 1
Log in to post a comment.