[sheepdog-users] Compilation error, master branch at 6f30fa77a6cff8

Marcin Mirosław marcin at mejor.pl
Sun Aug 3 00:06:08 CEST 2014


Hi!
I'd like to report compilation error:

nfs/nfsd.c: In function ‘nfs_init’:
nfs/nfsd.c:204:32: error: invalid operands to binary & (have ‘const char
*’ and ‘sd_thread_t’)
  err = sd_thread_create("nfs, "&t, nfsd, NULL);
                                ^
nfs/nfsd.c:204:2: warning: passing argument 2 of ‘sd_thread_create’ from
incompatible pointer type [enabled by default]
  err = sd_thread_create("nfs, "&t, nfsd, NULL);
  ^
In file included from ./sheep_priv.h:36:0,
                 from nfs/nfsd.c:14:
../include/work.h:73:5: note: expected ‘sd_thread_t *’ but argument is
of type ‘void * (*)(void *)’
 int sd_thread_create(const char *, sd_thread_t *,
     ^
nfs/nfsd.c:204:2: error: too few arguments to function ‘sd_thread_create’
  err = sd_thread_create("nfs, "&t, nfsd, NULL);
  ^
In file included from ./sheep_priv.h:36:0,
                 from nfs/nfsd.c:14:
../include/work.h:73:5: note: declared here
 int sd_thread_create(const char *, sd_thread_t *,
     ^
make[1]: *** [nfsd.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/net-fs/sheepdog-9999/work/sheepdog-9999/sheep'
make: *** [all-recursive] Error 1


Gcc: gcc version 4.8.3

Regards,
Marcin



More information about the sheepdog-users mailing list