[linux-cifs-client] can't compile cifs 1.17 on Mandrake 10 (2.6.3-14mdk)

Miguel Cañedo mcanedo at grupogcm.com
Wed Jul 7 16:38:03 GMT 2004


Hi:
I have Mandrake 10, with their lastest official kernel 2.6.3-14mdk, it 
certainly comes with cifs 0.94 but it can not connect to the Win2003 server 
I'm trying.
So I decided to update the cifs module.

I have downloaded:
http://us1.samba.org/samba/ftp/cifs-cvs/cifs-2.6-1.17d.tar.gz
and have extracted on
/usr/src/fs/cifs
(I removed all the previouse contents from that folder)

when i try to recompile the kernel, I type 'make' and then I get this errors:

  CC [M]  fs/cifs/cifsfs.o
fs/cifs/cifsfs.c:807: error: parse error before string constant
fs/cifs/cifsfs.c:807: warning: type defaults to `int' in declaration of 
`MODULE_VERSION'
fs/cifs/cifsfs.c:807: warning: function declaration isn't a prototype
fs/cifs/cifsfs.c:807: warning: data definition has no type or storage class
make[2]: *** [fs/cifs/cifsfs.o] Error 1
make[1]: *** [fs/cifs] Error 2
make: *** [fs] Error 2

The line 807 in cifsfs.c has:
MODULE_VERSION(CIFS_VERSION);

And CIFS_VERSION is defined in cifsfs.h as:
#define CIFS_VERSION   "1.17"

Can anyone tell me what the problem would be or what am I doing wrong?

Thanks,
Miguel


More information about the linux-cifs-client mailing list