March 4 CVS ( tng ) compile error on AIX 4.2 w. gcc2.95.2

Steve Williams steve at genie96.com
Sat Mar 4 22:31:43 GMT 2000


Hi,

Bored Saturday afternoon, so I thought I would do something useful & see
if samba-tng would compile on AIX 4.2.1 using gcc 2.92.2.  I am comfortable
with the compiler installation as it has compiled Emacs and HylaFAX.

I am a C programmer of old, and have done the HylaFAX port to AIX for the
last 6 years or so.

Is it productive for me ( at this point in time ) to try to get Samba_TNG 
to compile on AIX?  I realize it will require resources from the list, 
and don't want to detract from development efforts.

I have no screaming need to use Samba_TNG, just one of my "Putting back into
the community".

Do you want me to persue this, or leave it to a later date?

Problem with final linking of shared libraries with libtool..

...
Compiling rpc_parse/parse_sec.c with libtool
Compiling lib/msrpc-client.c with libtool
mkdir bin
Linking shared library bin/libmsrpc.la
ld: 0711-934 SEVERE ERROR: Cannot create the output file: .libs/libmsrpc.so.0.0.1
        ld:open() No such file or directory
collect2: ld returned 12 exit status
make: 1254-004 The error code from the last command is 1.


Stop.

Standard ./configure  & make..

The flags being used to compile are:
Using FLAGS = -O -Iinclude -I./include -I./ubiqx -I./smbwrapper 
  -D_LARGE_FILES -DLOGFILEBASE="/usr/local/samba/var"
  -DSMBLOGFILE="/usr/local/samba/var/log.smb" 
  -DNMBLOGFILE="/usr/local/samba/var/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="/usr/local/samba/var/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"          
  -DSAM_DIR="/usr/local/samba/sam"                          
  -DSMB_PASSGRP_FILE="/usr/local/samba/private/smbpassgrp"        
  -DSMB_GROUP_FILE="/usr/local/samba/private/smbgroup"            
  -DSMB_ALIAS_FILE="/usr/local/samba/private/smbalias"

Using LIBS = -lreadline  -lcurses


-- 
	Steve Williams, Calgary, Alberta, Canada
	Genie Computer Systems Inc.
	steve at genie96.com

"A man doesn't begin to attain wisdom until he recognizes that he is 
 no longer indispensable."
- Admiral Richard E. Byrd ( 1888-1957 )


More information about the samba-ntdom mailing list