trouble with libtool on IRIX

Luke Kenneth Casson Leighton lkcl at samba.org
Fri Jan 21 17:49:19 GMT 2000


greg, bugs with libtool should be reported to them./ unless it's something
that elrond can deal with, he is already cross with the libtool team (and
me too) for assuming that linking is going to be in the same directory:
$(LD) bin/rpcclient fails, they assume $(LD) rpcclient, he had to hack it
to get it to work.


On Sat, 22 Jan 2000, Greg Dickie wrote:

> Hi,
> 
>   I looked at fixing this myself but it does not seem straightforward. IRIX
> likes to preallocate memory space for the .so and uses an so_locations file for
> that but with libtool I get this:
> 
> Linking shared library bin/libsamba.la
> /bin/sh ./libtool --quiet --mode=link /usr/freeware/bin/gcc -O -Iinclude
> -I./include -I./ubiqx -I./smbwrapper  -DLOGFILEBASE=\"/var/samba\"
> -DSMBLOGFILE=\"/var/samba/log.smb\" -DNMBLOGFILE=\"/var/samba/log.nmb\"
> -DCONFIGFILE=\"/usr/local/samba/lib/smb.conf\"
> -DLMHOSTSFILE=\"/usr/local/samba/lib/lmhosts\"  
> -DSWATDIR=\"/usr/local/samba/swat\" -DSBINDIR=\"/usr/local/samba/bin\"
> -DLOCKDIR=\"/var/samba/locks\" -DSMBRUN=\"/usr/local/samba/bin/smbrun\"
> -DCODEPAGEDIR=\"/usr/local/samba/lib/codepages\"
> -DDRIVERFILE=\"/usr/local/samba/lib/printers.def\"
> -DBINDIR=\"/usr/local/samba/bin\"
> -DFORMSFILE=\"/usr/local/samba/lib/ntforms.def\"
> -DNTDRIVERSDIR=\"/usr/local/samba/lib\" -DHAVE_INCLUDES_H
> -DPASSWD_PROGRAM=\"/bin/passwd\"
> -DSMB_PASSWD_PROGRAM=\"/usr/local/samba/bin/smbpasswd\"
> -DSMB_PASSWD_FILE=\"/usr/local/samba/private/smbpasswd\"
> -DSMB_PASSGRP_FILE=\"/usr/local/samba/private/smbpassgrp\"
> -DSMB_GROUP_FILE=\"/usr/local/samba/private/smbgroup\"
> -DSMB_ALIAS_FILE=\"/usr/local/samba/private/smbalias\"   -o bin/libsamba.la
> -rpath /usr/local/samba/lib -version-info 0:1:0 \
>   param/loadparm.lo param/params.lo  lib/charcnv.lo lib/charset.lo lib/debug.lo
> lib/fault.lo lib/getsmbpass.lo lib/interface.lo lib/kanji.lo lib/md4.lo
> lib/netmask.lo lib/pidfile.lo lib/replace.lo lib/signal.lo lib/slprintf.lo
> lib/system.lo lib/doscalls.lo lib/time.lo lib/ufc.lo lib/util.lo lib/genrand.lo
> lib/username.lo lib/vuser.lo lib/access.lo lib/smbrun.lo lib/bitmap.lo
> lib/util_sid.lo lib/snprintf.lo lib/util_str.lo lib/util_unistr.lo
> lib/util_file.lo lib/util_sock.lo lib/util_sec.lo lib/util_array.lo
> lib/vagent.lo lib/util_hnd.lo tdb/tdb.lo
> ld32: ERROR   48 : Cannot access registry file .libs/so_locations (No such file
> or directory) - ignored.
> ld32: FATAL   51 : Can't assign virtual addresses for libsamba.so.1 of size
> 20000 within specified range.  Please check
> your registry file .libs/so_locations.
> Gmake: *** [bin/libsamba.la] Error 1
> 
> 
> I looked in the libtool source and it seems like the .libs directory should get
> created but I'm not sure.
> 
> Thanks,
> Greg
> 
> 
> ----------------------------------
> Greg Dickie
> just a  guy*
> *from Discreet (the Logic is gone)
> ----------------------------------
> 

<a href="mailto:lkcl at samba.org"   > Luke Kenneth Casson Leighton    </a>
<a href="http://www.cb1.com/~lkcl"> Samba and Network Development   </a>
<a href="http://samba.org"        > Samba Web site                  </a>
<a href="http://www.iss.net"      > Internet Security Systems, Inc. </a>
<a href="http://mcp.com"          > Macmillan Technical Publishing  </a>

 ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals



More information about the samba-ntdom mailing list