-
Notifications
You must be signed in to change notification settings - Fork 72
Home
esmil edited this page Sep 13, 2010
·
7 revisions
Many people reported this. Unfortunately the error message isn’t very helpful, but I’ll soon release a new version with better error reporting.
Hopefully it’ll give a clue if this is something that can be fixed or custom tree walking needs to be implemented.
One user reported this:
$ dd if=/dev/zero of=test2 bs=1000k count=4700
4700+0 records in
4700+0 records out
4812800000 bytes (4.8 GB) copied, 92.0489 seconds, 52.3 MB/s$ mktorrent —announce=a test2
mktorrent 0.4 © 2007 Emil Renner Berthingerror: cannot stat test2.
One OS X user has reported this behavior:
cc -O2 -Wall -DVERSION=“\”0.4\"" -c init.c
cc -O2 -Wall -DVERSION=“\”0.4\"" -c hash.c
cc -O2 -Wall -DVERSION=“\”0.4\"" -c output.c
In file included from output.c:25:
mktorrent.h:22: error: parse error before `off_t’
mktorrent.h:22: warning: no semicolon at end of struct or union
mktorrent.h:24: error: parse error before `}’ token
output.c: In function `write_file_list’:
output.c:38: error: dereferencing pointer to incomplete type
output.c:46: error: dereferencing pointer to incomplete type
output.c:50: error: dereferencing pointer to incomplete type
output.c: In function `write_metainfo’:
output.c:108: error: dereferencing pointer to incomplete type
make: * [output.o] Error 1
It seems off_t
isn’t defined on OS X.
Perhaps something like
mktorrent -a http://lala.com/announce.php -x '*~' mytorrent