[Samba] can't make 3.3.0 on Solaris 10

myron kowalskM at cs.moravian.edu
Wed Feb 4 20:44:50 GMT 2009


On Feb 4, 2009, at 2:59 PM, Brian H. Nelson wrote:

> myron wrote:
>> I tired a few things now.
>> I had gcc-4.2.1 on my system, si I trited that. It failed at the  
>> same spot.
>> I then tried it with Sun's gcc and Sun's ld and that failed with an  
>> option to ld that it didn't understand.
>> I think that's the reason I use gnu's ld. So, now I'm trying it  
>> with Sun's gcc and gnu's ld.
>>
>
> It may be obvious, but did you 'make clean' and re-configure between  
> each attempt? If not, that could be why it's passing ld wrong options.
>
> Also, I'm not sure if you can mix and match linkers. I presume that  
> you need to be using the linker that gcc says it was configured for,  
> but perhaps thats not true.

I tried all the combinations. The furthest I get is

Linking bin/smbd
./bin/libtdb.so: undefined reference to `write at SUNW_0.9'
./bin/libwbclient.so: undefined reference to `sleep at SUNW_0.7'
./bin/libtdb.so: undefined reference to `pread64 at SUNW_1.4'
./bin/libtdb.so: undefined reference to `fcntl at SUNW_0.9'
./bin/libtalloc.so: undefined reference to `close at SUNW_0.9'
./bin/libtdb.so: undefined reference to `read at SUNW_0.9'
./bin/libtdb.so: undefined reference to `msync at SUNW_0.9'
./bin/libtdb.so: undefined reference to `pwrite64 at SUNW_1.4'
./bin/libtdb.so: undefined reference to `select at SUNW_1.4'
./bin/libtdb.so: undefined reference to `fsync at SUNW_0.9'
collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1

If I look at ./bin/libwbclient.so I see that it can't find one of the  
libraries:
# ldd libwbclient.so
         libthread.so.1 =>        /usr/lib/libthread.so.1
         libtalloc.so.1 =>        (file not found)
         libc.so.1 =>     /usr/lib/libc.so.1
         libm.so.2 =>     /usr/lib/libm.so.2
         /platform/SUNW,Ultra-60/lib/libc_psr.so.1

I can't find that library on my system. Do you have a library by that  
name?

>
>
> -Brian
>
> -- 
> ---------------------------------------------------
> Brian H. Nelson         Youngstown State University
> System Administrator   Media and Academic Computing
>             bnelson[at]cis.ysu.edu
> ---------------------------------------------------
>



More information about the samba mailing list