trouble with libtool on IRIX

Greg Dickie greg at discreet.com
Fri Jan 21 17:31:17 GMT 2000


Uh no. bin exists already.

Greg

On 21-Jan-00 Alan Hourihane wrote:
> Do a
> 
> 'mkdir bin'
> 
> and all is well.
> 
> Alan.
> 
> On 21 January 2000 16:57, Greg Dickie [SMTP:greg at discreet.com] 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)
>> ----------------------------------

----------------------------------
Greg Dickie
just a  guy*
*from Discreet (the Logic is gone)
----------------------------------


More information about the samba-ntdom mailing list