2011-01-28 18:46:34     smb_fs.h removed in toolchain trunk & moved in uclinux trunk

Document created by Aaronwu Employee on Aug 26, 2013
Version 1Show Document
  • View in full screen mode

2011-01-28 18:46:34     smb_fs.h removed in toolchain trunk & moved in uclinux trunk

Robert Cochran (UNITED STATES)

Message: 97741   

 

Hello,

 

I have been building with toolchain 5167 and uclinux 10071 (trunk as of this post).  In building samba, it fails on compiling smbmount.c because smb_fs.h can't be found.

 

It was previously under toolchain/bfin-uclinux/bfin-uclinux/runtime/usr/include/linux

 

&

 

uclinux-dist/linux-2.6.x/include/linux

 

For some reason, the smbfs headers have been moved to drivers/staging under uclinux-dist/linux-2.6.x.  I don't know the explanation for this.  And they are missing in the toolchain.

 

 

 

What's the right way to fix this?  Do I patch samba 3.0.3x or move back smb_fs.h into the toolchain include path?

 

 

 

thanks

QuoteReplyEditDelete

 

 

2011-01-29 00:47:43     Re: smb_fs.h removed in toolchain trunk & moved in uclinux trunk

Mike Frysinger (UNITED STATES)

Message: 97744   

 

smbfs is deprecated, thus it is no longer installed by the kernel and moved into staging

QuoteReplyEditDelete

 

 

2011-01-29 08:44:33     Re: smb_fs.h removed in toolchain trunk & moved in uclinux trunk

Robert Cochran (UNITED STATES)

Message: 97752   

 

I thought staging was for experimental?

 

Regardless, it's no longer located in the toolchain include path, and samba 3.0.25a, as is, won't build without it.

 

What's the (blackfin uClinux) preferred way to patch this?

QuoteReplyEditDelete

 

 

2011-01-29 12:14:54     Re: smb_fs.h removed in toolchain trunk & moved in uclinux trunk

Mike Frysinger (UNITED STATES)

Message: 97753   

 

staging is used for code on the way in and on the way out

 

i dont see how you're hitting a problem.  either you're using the 2010R1 release which has the file, or you're using trunk which means you're building samba 3.4.2.

QuoteReplyEditDelete

 

 

2011-01-29 13:42:03     Re: smb_fs.h removed in toolchain trunk & moved in uclinux trunk

Robert Cochran (UNITED STATES)

Message: 97754   

 

"which means you're building samba 3.4.2."

 

Looking at trunk commits in user, I see that samba hasn't been touched in 14 months.   Makefile is still set to 3.0.25a

QuoteReplyEditDelete

 

 

2011-01-29 14:04:38     Re: smb_fs.h removed in toolchain trunk & moved in uclinux trunk

Mike Frysinger (UNITED STATES)

Message: 97755   

 

sorry, i have 3.4.2 ported locally.  guess i never committed it.

QuoteReplyEditDelete

 

 

2011-01-29 14:18:47     Re: smb_fs.h removed in toolchain trunk & moved in uclinux trunk

Robert Cochran (UNITED STATES)

Message: 97756   

 

Thanks

 

I'm looking forward to trying it.

QuoteReplyEditDelete

 

 

2011-02-03 12:15:31     Re: smb_fs.h removed in toolchain trunk & moved in uclinux trunk

Robert Cochran (UNITED STATES)

Message: 97905   

 

Could you please let me know why 3.4.2 was picked as the release to port?   Thanks.

QuoteReplyEditDelete

 

 

2011-02-22 01:42:08     Re: smb_fs.h removed in toolchain trunk & moved in uclinux trunk

Mike Frysinger (UNITED STATES)

Message: 98319   

 

it was the latest when i did it

QuoteReplyEditDelete

 

 

2011-03-23 12:52:52     Re: smb_fs.h removed in toolchain trunk & moved in uclinux trunk

Robert Cochran (UNITED STATES)

Message: 99169   

 

Thanks for the reply Mike.

 

It's obvious you're juggling many, many tasks.  However, perhaps you could give me an idea when we might see the Samba 3.4.2 port in trunk.

 

Also, I would be happy to give you a hand testing it.  

 

Thank you,

 

Bob

QuoteReplyEditDelete

 

 

2011-03-27 02:39:53     Re: smb_fs.h removed in toolchain trunk & moved in uclinux trunk

Mike Frysinger (UNITED STATES)

Message: 99280   

 

ive tweaked the makefile so it doesnt build smbmount with newer kernels

 

it would seem we want to keep samba 3.0.x around since it is GPL-2 and samba-3.2.x+ have moved to GPL-3

QuoteReplyEditDelete

Attachments

    Outcomes