12-03-2007
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
10 More Discussions You Might Find Interesting
1. 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... (2 Replies)
Discussion started by: BenediktS
2 Replies
2. Solaris
OS: Solaris 10
I downloaded a binary from samba.org (3.0.24)
I extracted the file and ran the following command:
# ./configure --prefix=/usr/sfw --with-configdir=/etc/sfw --with-winbind
Now I am trying to understand the compile process but I can't find many answers online
... (10 Replies)
Discussion started by: Keepcase
10 Replies
3. AIX
Hello all. I have never had any issues like this when compiling applications from source. When I try to compile samba-3.5.0pre2, configure runs with no issues, but when the time comes to make, this happens:
make: make 1254-025 There must be an existing description file or specify a target.
... (4 Replies)
Discussion started by: raidzero
4 Replies
4. UNIX for Advanced & Expert Users
Hello, I asked this question in the AIX subforum but never received an answer, probably because the AIX forum is not that heavily trafficked. Anyway, here it is..
I have never had any issues like this when compiling applications from source. When I try to compile samba-3.5.0pre2, configure runs... (9 Replies)
Discussion started by: raidzero
9 Replies
5. Solaris
I'm getting this error when 'Linking shared library bin/libtalloc.so.2'... anyone know what's up here?
Using CFLAGS = -O -I. -I/source/samba-3.5.1/source3 -I/source/samba-3.5.1/source3/../lib/popt -I/source/samba-3.5.1/source3/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace... (6 Replies)
Discussion started by: son_t
6 Replies
6. UNIX for Dummies Questions & Answers
People i download the lastest version of samba i`am tryng to compile it in a solaris 9 i'm reading the how to of samba, i am in the first step making the autogen.sh but show me this when i do ./autogen.sh
./autogen.sh: running script/mkversion.sh
./script/mkversion.sh: 'include/version.h'... (0 Replies)
Discussion started by: enkei17
0 Replies
7. Solaris
Hi all,
I am getting the following error While installing Samba 3.4.1 on Solaris 10.
#./autogen.sh
./autogen.sh : autoheader : not found
./autogen.sh : test : argument expected
Please help me as I am in a critical state of the project.
Warm regards,
Sathya (10 Replies)
Discussion started by: sathya47
10 Replies
8. AIX
Hello,
I am trying to update Samba on my AIX 7.1 system as there is an issues with it, the smbd process coredumps and I have had no luck figuring it out why.
My approach is to try to re-install a newer samba and I have found the latest 3.x package for samba in ppc.rpm format at perlz.org
... (6 Replies)
Discussion started by: c3rb3rus
6 Replies
9. UNIX for Beginners Questions & Answers
I am running Fedora V21 and had their default Samba installed. But I wanted to put up a PDC with ADS, so I uninstalled samba and down loaded the Samba 4.4.5 source along with the Kerberos devel kit etc.
I then configured and compiled etc and it indicated it was successful.
But I can't load the... (0 Replies)
Discussion started by: griffinmt
0 Replies
10. AIX
I am running AIX 7.1 and currently we have samba 3.6.25 installed on the server. As it stands some AIX folders are shared that can be accessed by certain Windows users.
The problem is that since Windows 10 the guest feature no longer works so users have to manually type in their Windows login/pwd... (14 Replies)
Discussion started by: linuxsnake
14 Replies
LEARN ABOUT CENTOS
krb5-config
KRB5-CONFIG(1) MIT Kerberos KRB5-CONFIG(1)
NAME
krb5-config - tool for linking against MIT Kerberos libraries
SYNOPSIS
krb5-config [--help | --all | --version | --vendor | --prefix | --exec-prefix | --defccname | --defktname | --defcktname | --cflags |
--libs [libraries]]
DESCRIPTION
krb5-config tells the application programmer what flags to use to compile and link programs against the installed Kerberos libraries.
OPTIONS
--help prints a usage message. This is the default behavior when no options are specified.
--all prints the version, vendor, prefix, and exec-prefix.
--version
prints the version number of the Kerberos installation.
--vendor
prints the name of the vendor of the Kerberos installation.
--prefix
prints the prefix for which the Kerberos installation was built.
--exec-prefix
prints the prefix for executables for which the Kerberos installation was built.
--defccname
prints the built-in default credentials cache location.
--defktname
prints the built-in default keytab location.
--defcktname
prints the built-in default client (initiator) keytab location.
--cflags
prints the compilation flags used to build the Kerberos installation.
--libs [library]
prints the compiler options needed to link against library. Allowed values for library are:
+------------+------------------------------------------------+
|krb5 | Kerberos 5 applications (default) |
+------------+------------------------------------------------+
|gssapi | GSSAPI applications with Kerberos 5 bindings |
+------------+------------------------------------------------+
|kadm-client | Kadmin client |
+------------+------------------------------------------------+
|kadm-server | Kadmin server |
+------------+------------------------------------------------+
|kdb | Applications that access the Kerberos database |
+------------+------------------------------------------------+
EXAMPLES
krb5-config is particularly useful for compiling against a Kerberos installation that was installed in a non-standard location. For exam-
ple, a Kerberos installation that is installed in /opt/krb5/ but uses libraries in /usr/local/lib/ for text localization would produce the
following output:
shell% krb5-config --libs krb5
-L/opt/krb5/lib -Wl,-rpath -Wl,/opt/krb5/lib -L/usr/local/lib -lkrb5 -lk5crypto -lcom_err
SEE ALSO
kerberos(1), cc(1)
AUTHOR
MIT
COPYRIGHT
1985-2013, MIT
1.11.3 KRB5-CONFIG(1)