[clamav-users] ARM Cross Compile

Bernd Kuhls bernd.kuhls at t-online.de
Sun Sep 28 13:08:29 UTC 2014


"Mclean, John (GE Energy Management)" <JohnD.Mclean at ge.com> wrote in 
news:831B11E079465943A5793894E6B32AC80B7069AC at CINURCNA24.e2k.ad.ge.com:

> In clamav-0.98.4/clamdscan/proto.c, sockaddr_un was unknown, so made the 
following change:

Hi,

you could also try to add

#include <sys/un.h>

to clamdscan/proto.c. This fixes a similar bug here:

proto.c: In function ‘dconnect’:
proto.c:86:67: error: invalid application of ‘sizeof’ to incomplete type 
‘struct sockaddr_un’
      if (connect(sockd, (struct sockaddr *)&nixsock, sizeof(nixsock)) == 0)

Regards, Bernd




More information about the clamav-users mailing list