You are not logged in.
Hi,
I am trying to compile the vanilla ncpfs package from ABS (well, I added arch=(i686)), but the compiling fails with:
ncpm_common.c: In function 'process_connection':
ncpm_common.c:1229: error: expected expression before 'struct'The incriminated line in ncpm_common.c is calling:
unix_len = offsetof(struct sockaddr_un, sun_path) + sprintf(unix_addr.sun_path, "%cncpfs.permanent.mount.%lu", 0, (unsigned long)stb.st_dev) + 1;Google tells me that such errors with offsetof seem to come from missing kernel libraries, but I have not been able to find out more. Compiling a dummy file with a call to offsetof works flawlessly.
The reason why I am trying to rebuild the ncpfs package myself is that the community package installs in /usr/usr/bin/ and running the programs fails with:
error while loading shared libraries: libncp.so.2.3: cannot open shared object file: No such file or directoryCan anyone help me on this?
Offline