You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to compile it myself but an error appear, actually there was more errors but I added -std=c99 to flags. I'm not good at programming C 😞
libcs2d.c: In function 'cs2d_request_ips': libcs2d.c:27:5: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy(usgn->h_addr, &(server.sin_addr.s_addr), 4); ^ libcs2d.c:27:15: error: 'struct hostent' has no member named 'h_addr' bcopy(usgn->h_addr, &(server.sin_addr.s_addr), 4); ^ Makefile:2: recipe for target 'compile' failed make: *** [compile] Error 1
The text was updated successfully, but these errors were encountered:
I tried to compile it myself but an error appear, actually there was more errors but I added -std=c99 to flags. I'm not good at programming C 😞
libcs2d.c: In function 'cs2d_request_ips': libcs2d.c:27:5: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy(usgn->h_addr, &(server.sin_addr.s_addr), 4); ^ libcs2d.c:27:15: error: 'struct hostent' has no member named 'h_addr' bcopy(usgn->h_addr, &(server.sin_addr.s_addr), 4); ^ Makefile:2: recipe for target 'compile' failed make: *** [compile] Error 1
The text was updated successfully, but these errors were encountered: