smbsh issues w/ samba-2.0.7

Brad Sahr bsahr at macromedia.com
Thu Nov 2 17:16:39 GMT 2000


I'm running Samba on RedHat Linux 6.2 (along with the VFS feature) and
dlopen() and dlsym() are used in loading the VFS. So IF I understand your
question, they did not remove dlopen/dlsym.

I thought the stat64 and dirent64 stuff was to support large files. I don't
believe that RedHat Linux supports large files, so it looks to me like some
compile flags aren't getting set correctly.

Brad Sahr

> -----Original Message-----
> From: samba-technical-admin at us5.samba.org
> [mailto:samba-technical-admin at us5.samba.org]On Behalf Of David
> Collier-Brown
> Sent: Thursday, November 02, 2000 4:41 AM
> To: Giulio Orsero
> Cc: samba-technical at samba.org; Dave Krovich
> Subject: Re: smbsh issues w/ samba-2.0.7
>
>
> Dave Krovich  wrote:
> > >       First off, I'm running on a Redhat Linux 6.2 system, using
> > >gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release).
> > >       I can't seem to get smbsh to compile.
> > >       I grabbed samba-2.0.7, and did the following, which generated
> > >a compile error.
>
> Giulio Orsero wrote:
> > You cannot use smbsh on linux anymore. glibc incompatibilities.
>
> 	I know  they took out LD_PRELOAD, but did they
> 	remove dlopen/dlysm too? (I have an uninstalled
> 	copy of red hat at home, waiting for me to find
> 	spare time)
>
> 	I'll happily help anyone to see if we can get around
> 	the glibc2 removal-of-ELF-standard functionality:
> 	I worked for two years on Elf linkers and interposers,
> 	including sotruss/apptrace on Solaris. The reported
> 	errors don't look all that evil:
>
> smbwrapper/smbw.c:1429: warning: `struct stat64' declared inside
> parameter
> list smbwrapper/smbw.c:1429: warning: its scope is only this definition
> or
> declaration,
> smbwrapper/smbw.c:1429: warning: which is probably not what you want.
> smbwrapper/smbw.c:1431: dereferencing pointer to incomplete type
>
> smbwrapper/smbw.c:1448: warning: `struct dirent64' declared inside
> parameter list
> smbwrapper/smbw.c: In function `dirent64_convert':
> smbwrapper/smbw.c:1450: dereferencing pointer to incomplete type
>
> --dave
> --
> David Collier-Brown,  | Always do right. This will gratify some people
> 185 Ellerslie Ave.,   | and astonish the rest.        -- Mark Twain
> Willowdale, Ontario   | //www.oreilly.com/catalog/samba/author.html
> Work: (905) 415-2849 Home: (416) 223-8968 Email: davecb at canada.sun.com
>
>





More information about the samba-technical mailing list