lkml.org 
[lkml]   [1998]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectsmbfs/smbmount problems
Hi,

I recently attempted to try out 2.1.xxx and one of the main problems I
was having with it was smbfs support. Reading through some
documentation, I found out that the smbmount included in smbfs would not
work with 2.1.xxx and I would have to use the smbmount included with
samba (errors attached below). I downloaded 1.9.18p8 and attempted to
compile smbmount to no avail. I'm running redhat 5.0, glibc-2.0. 7-13
and gcc-2.7.2.3. I attempted to compile it with the 2.1.115 tree and
2.1.70 tree. I went to linuxhq.com to search through the mailing list to
see if anyone else had brought this up before, however the search
engines appears to be temporarily down, so I resorted to using some of
the search engines that were provided as alternatives, however the
results from my queries only alluded to the problem and not the
solution. Any work around or solution to this problem would be greatly
appreciated. Thanks.


-- Nadeem Riaz

<snip>
Compiling smbmount.c
In file included from /usr/include/linux/smb_fs.h:13,
from smbmount.c:33:
/usr/include/linux/dirent.h:4: redefinition of `struct dirent'
/usr/include/linux/dirent.h:6: parse error before `__kernel_off_t'
/usr/include/linux/dirent.h:6: warning: no semicolon at end of struct or
union
/usr/include/linux/dirent.h:9: parse error before `}'
In file included from /usr/include/linux/smb_fs.h:14,
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 cl$
/usr/include/linux/smb.h:32: parse error before `blocksize'
/usr/include/linux/smb.h:32: warning: data definition has no type or
storage cl$
/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 cl$
/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 cl$
/usr/include/linux/smb.h:48: parse error before `tid'
/usr/include/linux/smb.h:48: warning: data definition has no type or
storage cl$
/usr/include/linux/smb.h:51: parse error before `secmode'
/usr/include/linux/smb.h:51: warning: data definition has no type or
storage cl$
/usr/include/linux/smb.h:52: parse error before `maxmux'
/usr/include/linux/smb.h:52: warning: data definition has no type or
storage cl$
/usr/include/linux/smb.h:53: parse error before `maxvcs'
/usr/include/linux/smb.h:53: warning: data definition has no type or
storage cl$
/usr/include/linux/smb.h:54: parse error before `rawmode'
/usr/include/linux/smb.h:54: warning: data definition has no type or
storage cl$
/usr/include/linux/smb.h:55: parse error before `sesskey'
/usr/include/linux/smb.h:55: warning: data definition has no type or
storage cl$
/usr/include/linux/smb.h:58: parse error before `maxraw'
/usr/include/linux/smb.h:58: warning: data definition has no type or
storage cl$
/usr/include/linux/smb.h:59: parse error before `capabilities'
/usr/include/linux/smb.h:59: warning: data definition has no type or
storage cl$
/usr/include/linux/smb.h:60: parse error before `serverzone'
/usr/include/linux/smb.h:60: warning: data definition has no type or
storage cl$
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
<snip>


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

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