[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pamldap
Subject:    [pamldap] Problems with compilation in Solaris 2.6
From:       "Ing. Federico Rodriguez Teja" <rodrigue () antel ! net ! uy>
Date:       2000-10-09 17:58:51
[Download RAW message or body]

Hi:

When I try to compile de PAM_LDAP, in (Sparc) Solaris 2.6, I have some
problems, with the linking of the software..

This is the result:
----------------------------------------------------------------------
bash-2.02# make
cd . && /home/rodrigue/solaris6/pam2/pam_ldap-74/missing aclocal
WARNING: `aclocal' is missing on your system.  You should only need it
if
         you modified `acinclude.m4' or `configure.in'.  You might want
         to install the `Automake' and `Perl' packages.  Grab them from
         any GNU archive site.
cd . && /home/rodrigue/solaris6/pam2/pam_ldap-74/missing automake --gnu
Makefile
WARNING: `automake' is missing on your system.  You should only need it
if
         you modified `Makefile.am', `acinclude.m4' or `configure.in'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
cd . && /home/rodrigue/solaris6/pam2/pam_ldap-74/missing autoconf
WARNING: `autoconf' is missing on your system.  You should only need it
if
         you modified `configure.in'.  You might want to install the
         `Autoconf' and `GNU m4' packages.  Grab them from any GNU
         archive site.
/bin/sh ./config.status --recheck
running /bin/sh ./configure  --no-create --no-recursion
loading cache ./config.cache
checking host system type... sparc-sun-solaris2.6
checking target system type... sparc-sun-solaris2.6
checking build system type... sparc-sun-solaris2.6
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for a BSD compatible install... ./install-sh -c
checking for security/pam_appl.h... (cached) yes
checking for security/pam_misc.h... (cached) no
checking for des.h... (cached) no
checking for crypt.h... (cached) yes
checking for lber.h... (cached) yes
checking for ldap.h... (cached) yes
checking for ldap_ssl.h... (cached) no
checking for main in -ldl... (cached) yes
checking for main in -lpam... (cached) yes
checking for main in -lresolv... (cached) yes
checking for main in -lcrypt... (cached) yes
checking for gethostbyname... (cached) yes
checking for main in -llber... (cached) yes
checking for main in -lldap... (cached) yes
checking for ldap_init... (cached) yes
checking for ldapssl_init... (cached) no
checking for ldap_start_tls_s... (cached) no
checking for ldap_get_lderrno... (cached) no
checking for ldap_parse_result... (cached) no
checking for ldap_memfree... (cached) no
checking for ldap_controls_free... (cached) no
checking for gethostbyname_r... (cached) yes
checking whether gethostbyname_r takes 6 arguments... (cached) 5
checking for ldap_set_rebind_proc... (cached) no
checking whether ldap_set_rebind_proc takes 3 arguments... (cached) 2
creating ./config.status
cd . \
  && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
creating Makefile
gcc -DHAVE_CONFIG_H -I. -I. -I.   -DLDAP_REFERRALS -D_REENTRANT  -g -O2
-Wall -fPIC -c pam_ldap.c
pam_ldap.c: In function `ldap_get_lderrno':
pam_ldap.c:211: warning: unused variable `rc'
pam_ldap.c: In function `_connect_as_user':
pam_ldap.c:942: warning: unused variable `parserc'
pam_ldap.c: In function `_get_user_info':
pam_ldap.c:1343: warning: passing arg 4 of `_get_integer_value' from
incompatible pointer type
gcc -DHAVE_CONFIG_H -I. -I. -I.   -DLDAP_REFERRALS -D_REENTRANT  -g -O2
-Wall -fPIC -c md5.c
gcc  -g -O2 -Wall -fPIC  -o pam_ldap.so --shared pam_ldap.o md5.o
-lldap -llber -lcrypt -lresolv -lpam -ldl
Text relocation remains                         referenced
    against symbol                  offset      in file
free                                0x2c0
/usr/lib/libcrypt.a(des_crypt.o)
free                                0x2bc
/usr/lib/libcrypt.a(des_crypt.o)
free                                0x320
/usr/lib/libcrypt.a(des_crypt.o)
___errno                            0x1e4
/usr/lib/libcrypt.a(des_crypt.o)
_des_crypt                          0x1c
/usr/lib/libcrypt.a(crypt.o)
malloc                              0x2ec
/usr/lib/libcrypt.a(des_crypt.o)
_thr_setspecific                    0x2fc
/usr/lib/libcrypt.a(des_crypt.o)
_des_encrypt                        0x10
/usr/lib/libcrypt.a(crypt.o)
_des_setkey                         0x4
/usr/lib/libcrypt.a(crypt.o)
<unknown>                           0x360
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x344
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x340
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x53c
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x358
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x1b8
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x27c
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x278
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x12c
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x4
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x8
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x130
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x18
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x200
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x248
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x244
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x14
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x120
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x234
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x230
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x228
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x224
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x11c
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x17c
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x204
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x64
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x60
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x1b4
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x180
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x210
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x20c
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x3fc
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x240
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x23c
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x218
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x18c
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x184
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x404
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x1e0
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x400
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x254
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x21c
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x1f8
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x124
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x134
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x13c
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x118
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x10c
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x108
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x100
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0xe0
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0xdc
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0xd8
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0xd0
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x9c
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x8c
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x88
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x80
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x7c
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x78
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x74
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x70
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x6c
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x68
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x24c
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x260
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x5c
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x58
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x24
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x1c
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x250
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x128
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x10
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0xc
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x258
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x25c
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x408
/usr/lib/libcrypt.a(des_crypt.o)
_mutex_lock                         0x1bc
/usr/lib/libcrypt.a(des_crypt.o)
_mutex_lock                         0x280
/usr/lib/libcrypt.a(des_crypt.o)
_mutex_lock                         0x35c
/usr/lib/libcrypt.a(des_crypt.o)
_mutex_unlock                       0x538
/usr/lib/libcrypt.a(des_crypt.o)
_mutex_unlock                       0x294
/usr/lib/libcrypt.a(des_crypt.o)
_mutex_unlock                       0x1cc
/usr/lib/libcrypt.a(des_crypt.o)
_des_encrypt1                       0x264
/usr/lib/libcrypt.a(des_crypt.o)
_thr_getspecific                    0x2a8
/usr/lib/libcrypt.a(des_crypt.o)
_thr_keycreate                      0x2c4
/usr/lib/libcrypt.a(des_crypt.o)
ld: fatal: relocations remain against allocatable but non-writable
sections
collect2: ld returned 1 exit status
make: *** [pam_ldap.so] Error 1
bash-2.02#
----------------------------------------------------------------------
Thanks for your help.

Bye
Ing. Federico Rodriguez

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic