AIX

AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

Compiling samba 3.0.27a under AIX


👤 Login to reply

    #1  
Old 12-04-2007
BenediktS BenediktS is offline
Registered User
 
Join Date: Dec 2007
Last Activity: 7 February 2008, 3:42 AM EST
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Compiling samba 3.0.27a under AIX

Compiling samba 3.0.27a under AIX
I try to compile Samba 3.0.27a under AIX with LDAP and KErberos.
The configure work fine:
CFLAGS:
-I/opt/pware/include -I/opt/pware/lib/ -I/opt/pware/open_ldap_exec/lib/ -I/software/samba/oldap/usr/lib -I/software/samba/oldap/usr/include

./configure --prefix=/opt/pware/samba/3.0.27a --with-acl-support --with-ads --with-winbind --with-ldap --with-krb5

But when i start make I get the following errors:
passdb/pdb_ldap.c: In function 'ldapsam_get_new_rid':
passdb/pdb_ldap.c:4459: error: incompatible types in assignment
passdb/pdb_ldap.c: In function 'pdb_init_ldapsam':
passdb/pdb_ldap.c:5654: error: incompatible types in assignment
The following command failed:
gcc -I. -I/software/samba/samba_327a/source -I/opt/pware/include -I/opt/pware/include -I/opt/pware/lib/ -I/opt/pware/open_ldap_exec/lib/ -I/software/samba/oldap/usr/lib -I/software/samba/oldap/usr/include -R/opt/pware/include -R/opt/pware/lib/ -R/opt/pware/open_ldap_exec/lib/ -R/software/samba/oldap/usr/lib -R/software/samba/oldap/usr/include -D_SAMBA_BUILD_=3 -I/software/samba/samba_327a/source/iniparser/src -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H -I/opt/pware/include -I/opt/pware/berkdb/include -I/opt/pware/berkdb/bin -DLDAP_DEPRECATED -I/software/samba/samba_327a/source/lib -D_SAMBA_BUILD_=3 -O2 -c passdb/pdb_ldap.c -o passdb/pdb_ldap.o
make: 1254-004 The error code from the last command is 1.

I have googled for these errors but I have found no solution.
Can anyone help me please?
Benedikt
Sponsored Links
    #2  
Old 12-06-2007
BenediktS BenediktS is offline
Registered User
 
Join Date: Dec 2007
Last Activity: 7 February 2008, 3:42 AM EST
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Solved

I don't know what exactly I have done.
But when I tried to compile the Xth time make did it.
Best Regards
Benedikt
Sponsored Links
    #3  
Old 12-06-2007
matrixmadhan matrixmadhan is offline Forum Advisor  
Technorati Master
 
Join Date: Mar 2005
Last Activity: 19 July 2018, 4:57 AM EDT
Location: classification algos
Posts: 3,215
Thanks: 19
Thanked 31 Times in 28 Posts
https://www.unix.com/unix-application...#post302149476

Duplicate thread

Moderators please close the thread !
Sponsored Links
👤 Login to reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Compiling samba problem enkei17 UNIX for Dummies Questions & Answers 0 07-15-2010 12:58 PM
Problem compiling Samba 3.5.1 on Solaris 10 with gcc (3.4.6) son_t Solaris 6 03-31-2010 09:31 AM
Compiling samba from source in AIX 5.3 raidzero AIX 4 01-18-2010 11:51 AM
Samba Compiling questions Keepcase Solaris 10 07-28-2009 10:32 AM
Compiling samba 3.0.27a under AIX BenediktS UNIX and Linux Applications 1 12-06-2007 08:44 AM



All times are GMT -4. The time now is 07:24 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password





Not a Forum Member?
Forgot Password?