|Main Archive Page > Month Archives > samba-users archives|
On 7 May 2010 21:57, Gaiseric Vandal <email@example.com> wrote:
> On Solaris 10 (x86), trying to compile samba 3.5.2
> # mv /usr/ccs/bin/ld /usr/ccs/bin/ld.1
> # ln -s /usr/local/bin/ld /usr/ccs/bin/ld
> # ./configure --prefix=/usr/local/talloc-2.0.1
> # mv /sbin/sh /sbin/sh.1
> # ln -s /bin/bash /sbin/sh
If I were you I'd try this in a chroot or similar rather than messing
with the system.
> So no more issues related to libtalloc BUT the compile still failed:
> creating /export/src/Samba/samba-3.5.2/source3/exports/libwbclient.syms
> Linking shared library bin/libwbclient.so.0
> /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/crt1.o: In function `_start':
> crt1.s:(.text+0x5c): undefined reference to `main'
> collect2: ld returned 1 exit status
> make: *** [bin/libwbclient.so.0] Error 1
Strange. That looks as if ld is trying to generate a program that
should have a main() function instead of a shared library. Or
something like that.
-- Michael Wood <firstname.lastname@example.org> -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba