[Samba] 2.2.5 - SOl 2.8 - Recycle Bin VFS

Juergen Hasch Hasch at t-online.de
Sat Jul 6 06:45:03 GMT 2002


Am Mittwoch, 3. Juli 2002 21:59 schrieb Dennis:
> Here's the output of configure and make in my attempt to use cc:
>
> 92 % ./configure  --prefix=/usr/local/samba.22
> creating cache ./config.cache
> checking for gcc... cc
> checking whether the C compiler (cc  ) works... yes
> checking whether the C compiler (cc  ) is a cross-compiler... no
> checking whether we are using GNU C... no
> checking whether cc accepts -g... yes
> checking for libtool... /usr/local/bin/libtool
> checking for poptGetContext in -lpopt... no
> checking whether to use included popt... ./popt
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
>
> 93 % make
> Compiling audit.c
> mkdir .libs
> cc -I/usr/openwin/share/include/X11/extensions -I/usr/openwin/include
> -I../../source/popt -I../../source -I../../source/include
> -I../../source/ubiqx -I../../source/smbwrapper -c audit.c  -fPIC -DPIC
> -o .libs/audit.lo
> cc: Warning: illegal option -fPIC
> cc: illegal suffix of output filename
> *** Error code 1
> make: Fatal error: Command failed for target `audit.lo'
>
> I'm getting errors using cc also.
>
> I'll follow up with the output using GNU ld

It looks like Solaris doesn't know strsep. I was using the gcc 2.95.3 package 
on Solaris which had strsep when I tested the recycle bin (it's linked to
strsep at GLIBC2.0). The new GCC 3.0.3 package doesn't seem to have strsep 
anymore.

Simply add the strsep function to recylce.c (e.g. from
http://nemesis.sourceforge.net/browse/mod/venimpl/c/str/strsep.c.html)
and it should work.

...Juergen





More information about the samba mailing list