lkml.org 
[lkml]   [1998]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectCan't compile smbmount on linux 2.1.106
Probably not a samba bug, but does anyone know the problem here?  I can
compile a hello world that includes the smb.h file..

On linux 2.1.106, redhat 5.0, gcc version 2.7.2.3, glibc 2.0.7, and
samba 1.9.18p8:

$ make smbmount
Compiling smbmount.c
In file included from smb_fs.h:13,
from smbmount.c:33:
/usr/include/linux/smb.h:30: parse error before `__u16'
/usr/include/linux/smb.h:30: warning: no semicolon at end of struct or union
/usr/include/linux/smb.h:31: warning: data definition has no type or storage class
/usr/include/linux/smb.h:32: parse error before `blocksize'
/usr/include/linux/smb.h:32: warning: data definition has no type or storage class
/usr/include/linux/smb.h:33: parse error before `free'
/usr/include/linux/smb.h:33: `free' redeclared as different kind of symbol
/usr/include/stdlib.h:352: previous declaration of `free'
/usr/include/linux/smb.h:33: warning: data definition has no type or storage class
/usr/include/linux/smb.h:46: parse error before `__u32'
/usr/include/linux/smb.h:46: warning: no semicolon at end of struct or union
/usr/include/linux/smb.h:47: warning: data definition has no type or storage class
/usr/include/linux/smb.h:48: parse error before `tid'
/usr/include/linux/smb.h:48: warning: data definition has no type or storage class
/usr/include/linux/smb.h:51: parse error before `secmode'
/usr/include/linux/smb.h:51: warning: data definition has no type or storage class
/usr/include/linux/smb.h:52: parse error before `maxmux'
/usr/include/linux/smb.h:52: warning: data definition has no type or storage class
/usr/include/linux/smb.h:53: parse error before `maxvcs'
/usr/include/linux/smb.h:53: warning: data definition has no type or storage class
/usr/include/linux/smb.h:54: parse error before `rawmode'
/usr/include/linux/smb.h:54: warning: data definition has no type or storage class
/usr/include/linux/smb.h:55: parse error before `sesskey'
/usr/include/linux/smb.h:55: warning: data definition has no type or storage class
/usr/include/linux/smb.h:58: parse error before `maxraw'
/usr/include/linux/smb.h:58: warning: data definition has no type or storage class
/usr/include/linux/smb.h:59: parse error before `capabilities'
/usr/include/linux/smb.h:59: warning: data definition has no type or storage class
/usr/include/linux/smb.h:60: parse error before `serverzone'
/usr/include/linux/smb.h:60: warning: data definition has no type or storage class
smbmount.c: In function `mount_send_login':
smbmount.c:233: invalid use of undefined type `struct smb_conn_opt'
smbmount.c:234: invalid use of undefined type `struct smb_conn_opt'
smbmount.c:235: invalid use of undefined type `struct smb_conn_opt'
smbmount.c:236: invalid use of undefined type `struct smb_conn_opt'
smbmount.c:237: invalid use of undefined type `struct smb_conn_opt'
smbmount.c:238: invalid use of undefined type `struct smb_conn_opt'
smbmount.c:239: invalid use of undefined type `struct smb_conn_opt'
smbmount.c:240: invalid use of undefined type `struct smb_conn_opt'
smbmount.c:241: invalid use of undefined type `struct smb_conn_opt'
smbmount.c:242: invalid use of undefined type `struct smb_conn_opt'
smbmount.c:243: invalid use of undefined type `struct smb_conn_opt'
smbmount.c:244: invalid use of undefined type `struct smb_conn_opt'
smbmount.c:245: invalid use of undefined type `struct smb_conn_opt'
smbmount.c: In function `send_fs_socket':
smbmount.c:273: invalid use of undefined type `struct smb_conn_opt'
smbmount.c:275: invalid use of undefined type `struct smb_conn_opt'
smbmount.c:276: sizeof applied to an incomplete type
smbmount.c: At top level:
smbmount.c:34: storage size of `conn_options' isn't known
make: *** [smbmount.o] Error 1

--
<BLINK>;for(74,1970500640,1634627444,1751478816,1348825708,543711587,
1801810465){for($x=1<<1^1;$x>=1>>1;--$x){$y=hex ff,$z=oct($x=~s,\d,$&
*10,e,$x);$x*=.1,$y<<=$z,$w.=chr(($_&$y)>>$z),$v++}}while(-e$0&&-r$0)
{$u=$u?$?:$/;$|=1;print$u?$w:$"x$v if$;;print"\b"x$v;sleep 1}</BLINK>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.025 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site