==== Log ====
([0])$>> gmake
cc -g -Wall -c -o tapecopy.o tapecopy.c
cc -g -Wall -c -o tapeio.o tapeio.c
cc -g tapecopy.o tapeio.o -o tapecopy
tapeio.o: In function opentape': /home/neo_chen/Git/its/tools/tapeutils/tapeio.c:305: warning: warning: sprintf() is often misused, please use snprintf() cc -g -Wall -c -o tapedump.o tapedump.c cc -g tapedump.o tapeio.o -o tapedump tapeio.o: In functionopentape':
/home/neo_chen/Git/its/tools/tapeutils/tapeio.c:305: warning: warning: sprintf() is often misused, please use snprintf()
cc -g -Wall -c -o taperead.o taperead.c
cc -g taperead.o tapeio.o -o taperead
taperead.o: In function main': /home/neo_chen/Git/its/tools/tapeutils/taperead.c:139: warning: warning: sprintf() is often misused, please use snprintf() cc -g -Wall -c -o tapewrite.o tapewrite.c cc -g tapewrite.o tapeio.o -o tapewrite tapeio.o: In functionopentape':
/home/neo_chen/Git/its/tools/tapeutils/tapeio.c:305: warning: warning: sprintf() is often misused, please use snprintf()
cc -g -Wall -c -o t10backup.o t10backup.c
cc -g t10backup.o tapeio.o -o t10backup
t10backup.o: In function buildfilenames': /home/neo_chen/Git/its/tools/tapeutils/t10backup.c:371: warning: warning: sprintf() is often misused, please use snprintf() cc -g -Wall -c -o read20.o read20.c read20.c:488:19: warning: incompatible pointer types passing 'long *' to parameter of type 'const time_t *' (aka 'const long long *') [-Wincompatible-pointer-types] name, ctime(&t)); ^~ /usr/include/time.h:126:27: note: passing argument to parameter here char *ctime(const time_t *); ^ read20.c:512:16: warning: implicit declaration of function 're_exec' is invalid in C99 [-Wimplicit-function-declaration] if ((match = re_exec(topsname)) == -1) ^ 2 warnings generated. cc -g read20.o tapeio.o -o read20 read20.o: In functionunixname':
/home/neo_chen/Git/its/tools/tapeutils/read20.c:403: warning: warning: strcpy() is almost always misused, please use strlcpy()
read20.o: In function doSaveset': /home/neo_chen/Git/its/tools/tapeutils/read20.c:483: warning: warning: strcat() is almost always misused, please use strlcat() read20.o: In functionunixname':
/home/neo_chen/Git/its/tools/tapeutils/read20.c:399: warning: warning: sprintf() is often misused, please use snprintf()
read20.o: In function doFileHeader': /home/neo_chen/Git/its/tools/tapeutils/read20.c:657: undefined reference tore_exec'
read20.o: In function main': read20.c:(.text+0x1cec): undefined reference tore_comp'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [: read20] Error 1
==== Log ==== ([0])$>> gmake cc -g -Wall -c -o tapecopy.o tapecopy.c cc -g -Wall -c -o tapeio.o tapeio.c cc -g tapecopy.o tapeio.o -o tapecopy tapeio.o: In function: read20] Error 1
opentape': /home/neo_chen/Git/its/tools/tapeutils/tapeio.c:305: warning: warning: sprintf() is often misused, please use snprintf() cc -g -Wall -c -o tapedump.o tapedump.c cc -g tapedump.o tapeio.o -o tapedump tapeio.o: In function
opentape': /home/neo_chen/Git/its/tools/tapeutils/tapeio.c:305: warning: warning: sprintf() is often misused, please use snprintf() cc -g -Wall -c -o taperead.o taperead.c cc -g taperead.o tapeio.o -o taperead taperead.o: In functionmain': /home/neo_chen/Git/its/tools/tapeutils/taperead.c:139: warning: warning: sprintf() is often misused, please use snprintf() cc -g -Wall -c -o tapewrite.o tapewrite.c cc -g tapewrite.o tapeio.o -o tapewrite tapeio.o: In function
opentape': /home/neo_chen/Git/its/tools/tapeutils/tapeio.c:305: warning: warning: sprintf() is often misused, please use snprintf() cc -g -Wall -c -o t10backup.o t10backup.c cc -g t10backup.o tapeio.o -o t10backup t10backup.o: In functionbuildfilenames': /home/neo_chen/Git/its/tools/tapeutils/t10backup.c:371: warning: warning: sprintf() is often misused, please use snprintf() cc -g -Wall -c -o read20.o read20.c read20.c:488:19: warning: incompatible pointer types passing 'long *' to parameter of type 'const time_t *' (aka 'const long long *') [-Wincompatible-pointer-types] name, ctime(&t)); ^~ /usr/include/time.h:126:27: note: passing argument to parameter here char *ctime(const time_t *); ^ read20.c:512:16: warning: implicit declaration of function 're_exec' is invalid in C99 [-Wimplicit-function-declaration] if ((match = re_exec(topsname)) == -1) ^ 2 warnings generated. cc -g read20.o tapeio.o -o read20 read20.o: In function
unixname': /home/neo_chen/Git/its/tools/tapeutils/read20.c:403: warning: warning: strcpy() is almost always misused, please use strlcpy() read20.o: In functiondoSaveset': /home/neo_chen/Git/its/tools/tapeutils/read20.c:483: warning: warning: strcat() is almost always misused, please use strlcat() read20.o: In function
unixname': /home/neo_chen/Git/its/tools/tapeutils/read20.c:399: warning: warning: sprintf() is often misused, please use snprintf() read20.o: In functiondoFileHeader': /home/neo_chen/Git/its/tools/tapeutils/read20.c:657: undefined reference to
re_exec' read20.o: In functionmain': read20.c:(.text+0x1cec): undefined reference to
re_comp' cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake: *** [