samba-users May 2010 archive
Main Archive Page > Month Archives  > samba-users archives
samba-users: Re: [Samba] Fwd: RE: Problems 'make'ing on Solaris

Re: [Samba] Fwd: RE: Problems 'make'ing on Solaris 9/10

From: Gaiseric Vandal <gaiseric.vandal_at_nospam>
Date: Wed May 19 2010 - 20:17:27 GMT
To: 'Samba' <samba@lists.samba.org>

On 05/18/2010 01:54 AM, Volker Lendecke wrote:
> On Mon, May 17, 2010 at 10:44:35PM -0400, Gaiseric Vandal wrote:
>
>> As per Klaus Kreuzwieser's suggestions (5/12/2010) I tweeked my configure.sh
>> and Makefile files to support /usr/ccs/bin/ld.
>>
>> However, when I compile samba 3.5.2 with sunfreeware gcc 3.4.6, blastwave
>> gcc 4.x or blastwave gcc 3.x I get the following error on make:
>>
>> Compiling smbd/server.c
>> Linking bin/smbd
>> modules/vfs_scannedonly.o: In function `connect_to_scanner':
>> vfs_scannedonly.c:(.text+0x3b1): undefined reference to `SUN_LEN'
>> collect2: ld returned 1 exit status
>> make: *** [bin/smbd] Error 1
>>
> Current master has a fix for that:
> http://git.samba.org/?p=samba.git;a=commitdiff;h=ae95e8028c294ee1e
>
> You might try it.
>
> Volker
>
That did fix it.

Samba 3.5.2 compiled- unfortunately I still seem to have issues with
shared library support. "--enable-shared" option will cause the
compile to fail. Which isn't a show stopper in itself. However,
nsswitch and vfs_acl also fail to compile- and those are essential.

But since Samba 3.5.3 is out I might give that a try.

Thanks

-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba