hi, i am trying to get this project to workhttp://web.archive.org/web/20100827045918/http://blog.evildro.me.uk/ . when i try to "make" the makefile it says
make
cc -c -o serxfer.o serxfer.c
serxfer.c:38:10: warning: format string is not a string literal
(potentially insecure) [-Wformat-security]
printf(s);
^
serxfer.c:54:3: warning: implicitly declaring library function 'memset' with
type 'void *(void *, int, unsigned long)'
memset ((void *) &serialsettings, 0, sizeof (struct termios));
^
serxfer.c:54:3: note: please include the header <string.h> or explicitly provide
a declaration for 'memset'
serxfer.c:256:11: warning: implicitly declaring library function 'strcmp' with
type 'int (const char *, const char *)'
if (strcmp(sumbuff, inbuff) != 0) // Have a > to start with
^
serxfer.c:256:11: note: please include the header <string.h> or explicitly
provide a declaration for 'strcmp'
3 warnings generated.
cc -c -o main.o main.c
main.c:23:2: warning: implicitly declaring library function 'exit' with type
'void (int) __attribute__((noreturn))'
exit(n);
^
main.c:23:2: note: please include the header <stdlib.h> or explicitly provide a
declaration for 'exit'
main.c:68:23: warning: implicit declaration of function 'atoi' is invalid in C99
[-Wimplicit-function-declaration]
opendelay = atoi(&argv[i][2]);
^
main.c:121:7: warning: implicit declaration of function 'xfer_file' is invalid
in C99 [-Wimplicit-function-declaration]
xfer_file(argv[i]);
^
3 warnings generated.
cc -c -o multi.o multi.c
multi.c:83:10: warning: implicit declaration of function 'xfer' is invalid in
C99 [-Wimplicit-function-declaration]
RData = xfer(0x6202); //
^
1 warning generated.
gcc serxfer.o main.o multi.o -o gbl
and the instructions included seam pretty bear to me. maybe a step by step tutorial by someone?
btw i am a noob
