[Date Prev][Date Next] [Chronological] [Thread] [Top]

Compiling for IBM AIX 4.3.3



Need some help with this issue:

oslevel -r = 4330-04

1. env CPPFLAGS="-I/u/local/include" LDFLAGS="-L/u/local/lib" ./configure 
--prefix=/u/local

no problems that I could see

2. make depend

again no problmes

3. make

PROBLEMS !!!

...{truncated}...

  Entering subdirectory clients
Making all in /home/samba-build/openldap-2.3.6/clients
  Entering subdirectory tools
Target "all" is up to date.

Target "all" is up to date.

  Entering subdirectory servers
Making all in /home/samba-build/openldap-2.3.6/servers
  Entering subdirectory slapd
building static backends...

  cd back-ldif; make  all
        /bin/sh /u/samba-build/openldap-2.3.6/libtool --tag=disable-shared 
--mod
e=compile  cc_r -g -I../../../include        -I../../../include -I.. 
-I./..  -I/
u/local/include    -c ldif.c
        /bin/sh /u/samba-build/openldap-2.3.6/libtool --tag=disable-shared 
--mod
e=compile  cc_r -g -I../../../include        -I../../../include -I.. 
-I./..  -I/
u/local/include    -c version.c
        ar ruv libback_ldif.a `echo ldif.lo | sed 's/\.lo/.o/g'` version.o
a - version.o
ar: A file or directory in the path name does not exist.
ar: 0707-117 The fopen system call failed on file version.o.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.
#


config.log says:

configure:24520: checking for getpeereid
configure:24549: cc_r -o conftest -g -I/u/local/include -L/u/local/lib 
conftest.
c  1>&5
ld: 0711-317 ERROR: Undefined symbol: getpeereid
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more 
information.
configure: failed program was:
#line 24525 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char getpeereid(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char getpeereid();
char (*f)();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_getpeereid) || defined (__stub___getpeereid)
choke me
#else
f = getpeereid;
#endif

; return 0; }
configure:24581: checking for msg_accrights in msghdr
configure:24593: cc_r -c -g -I/u/local/include conftest.c 1>&5
"configure", line 24589.20: 1506-022 (S) "msg_accrightslen" is not a 
member of "
struct msghdr".
configure: failed program was:
#line 24586 "configure"
#include "confdefs.h"
#include <sys/socket.h>
int main() {
struct msghdr m; m.msg_accrightslen=0
; return 0; }
configure:24616: checking for msg_control in msghdr
configure:24628: cc_r -c -g -I/u/local/include conftest.c 1>&5


I am compling openldap-2.3.6.
Berkeley DB version 4.38

I am plan to use OpenLDAP for authenication purposes in SAMBA to Active 
Directory.

Thanks -

Jason Brown
Sr. Unix System Engineer.