Re: [ROOT] root 4.00/03 linux redhat 9.0 - openAFS - problem to compile sources kit

From: Gerardo Ganis (Gerardo.Ganis@cern.ch)
Date: Thu Apr 15 2004 - 19:18:10 MEST


  Hi Francesco,

  It looks like a conflict between afs and krb5; I will try to
  reproduce and debug it.
  In the meanwhile, if you do not need kerberos, could you try 
  disabling it (--disable-krb5 to configure)?

  Cheers, Gerri    

-- 
+--------------------------------------------------------------------------+
  Gerardo GANIS    IWR  - ForschungZentrum Karlsruhe   
        address    CERN / EP-SFT , CH 1211 Geneve 23  
                   room: 32-RC-017, tel / fax: +412276 76439 / 79425
         e-mail    gerardo.ganis@cern.ch
+--------------------------------------------------------------------------+

On Thu, 15 Apr 2004, iannone wrote:

> Hi rooters
> 
> I have already compiled root 4.00/03 under Alpha/CompaqTrue64/alphacxx6
> and Sun/Solaris9/solarisgcc(gcc_3.2.1) enabling: openAFS, Mysql and
> thread supports.
> 
> I had not problems and root works fine.
> 
> I am trying to compile the root 4.00/03 source kit with Linux/Pentium
> 4/gcc_3.3. with following flags:
> 
> # ./configure linux --prefix=/afs/fusione.it/project/fturoot/ROOT/
> --enable-afs --enable-mysql --enable-thread --with-afs=/usr/afsws/lib
> --with-mysql-incdir=/afs/fusione.it/project/ftumysql/mysql-4.0.13/includ
> e/mysql
> --with-mysql-libdir=/afs/fusione.it/project/ftumysql/mysql-4.0.13/lib/my
> sql
>  
> The linux kernel is foolowing:
> 
> Linux hostname 2.4.20-18.9 #1 Thu May 29 07:08:16 EDT 2003 i686 i686
> i386 GNU/Linux
> 
> And gcc version is:
> 
> # gcc -v
> Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3/specs
> Configured with: ./configure  : (reconfigured) ./configure --prefix=/usr
> : (reconfigured) ./configure --prefix=/usr
> Thread model: posix
> gcc version 3.3
> 
> Below is the error output:
> 
> 
> g++ -O   -o bin/rootd rootd/src/rootd.o rpdutils/src/daemon.o
> rpdutils/src/error.o rpdutils/src/net.o rpdutils/src/netpar.o
> rpdutils/src/rpdutils.o 
> rpdutils/src/ssh.o  \
>            clib/src/rsaaux.o clib/src/rsalib.o clib/src/rsafun.o
> /usr/afsws/lib//afs/libkauth.a /usr/afsws/lib//afs/libprot.a
> /usr/afsws/lib//afs/libauth.a /usr/afsws/lib//afs/libsys.a
> /usr/afsws/lib//afs/libcmd.a /usr/afsws/lib//afs/libaudit.a
> /usr/afsws/lib//afs/util.a /usr/afsws/lib//libubik.a
> /usr/afsws/lib//librx.a /usr/afsws/lib//librxkad.a
> /usr/afsws/lib//liblwp.a /usr/afsws/lib//libafsrpc.a
> /usr/afsws/lib//libdes.a   /usr/kerberos/lib/libkrb5.a
> /usr/kerberos/lib/libk5crypto.a   /usr/afsws/lib//afs/libcom_err.a
> -lresolv   -lcrypt -lm -ldl  -lpthread -rdynamic
> /usr/kerberos/lib/libkrb5.a(fcc_gennew.o)(.text+0x6c): In function
> `krb5_fcc_generate_new':
> : the use of `mktemp' is dangerous, better use `mkstemp'
> /usr/afsws/lib//afs/libprot.a(ptuser.o)(.text+0xe98): In function
> `stolower':
> : undefined reference to `__ctype_b'
> /usr/afsws/lib//afs/libprot.a(ptuser.o)(.text+0xea4): In function
> `stolower':
> : undefined reference to `__ctype_tolower'
> /usr/afsws/lib//afs/libauth.a(cellconfig.o)(.text+0x7d): In function
> `TrimLine':
> /vicepa/129/openafs-1.2.9/src/auth/cellconfig.c:129: undefined reference
> to `__ctype_b'
> /usr/afsws/lib//afs/libauth.a(cellconfig.o)(.text+0xc69): In function
> `afsconf_GetAfsdbInfo':
> /vicepa/129/openafs-1.2.9/src/auth/cellconfig.c:731: undefined reference
> to `__ctype_tolower'
> /usr/afsws/lib//afs/libauth.a(ktc.o)(.text+0x238): In function
> `OldSetToken':
> /vicepa/129/openafs-1.2.9/src/auth/ktc.c:315: undefined reference to
> `__ctype_b'
> /usr/afsws/lib//afs/util.a(casestrcpy.o)(.text+0x26): In function
> `lcstring':
> : undefined reference to `__ctype_b'
> /usr/afsws/lib//afs/util.a(casestrcpy.o)(.text+0x33): In function
> `lcstring':
> : undefined reference to `__ctype_tolower'
> /usr/afsws/lib//afs/util.a(casestrcpy.o)(.text+0x7e): In function
> `ucstring':
> : undefined reference to `__ctype_b'
> /usr/afsws/lib//afs/util.a(casestrcpy.o)(.text+0x8b): In function
> `ucstring':
> : undefined reference to `__ctype_toupper'
> /usr/afsws/lib//afs/util.a(dirpath.o)(.text+0x88b): In function
> `ConstructLocalPath':
> : undefined reference to `__ctype_b'
> /usr/kerberos/lib/libkrb5.a(prof_err.o)(.text+0x1b): In function
> `initialize_prof_error_table':
> : undefined reference to `_et_list'
> /usr/kerberos/lib/libkrb5.a(asn1_err.o)(.text+0x1b): In function
> `initialize_asn1_error_table':
> : undefined reference to `_et_list'
> /usr/kerberos/lib/libkrb5.a(kdb5_err.o)(.text+0x1b): In function
> `initialize_kdb5_error_table':
> : undefined reference to `_et_list'
> /usr/kerberos/lib/libkrb5.a(krb5_err.o)(.text+0x1b): In function
> `initialize_krb5_error_table':
> : undefined reference to `_et_list'
> /usr/kerberos/lib/libkrb5.a(kv5m_err.o)(.text+0x1b): In function
> `initialize_kv5m_error_table':
> : undefined reference to `_et_list'
> collect2: ld returned 1 exit status
> gmake: *** [bin/rootd] Error 1
> 
> 
> Can you help me ?
> 
> Thanks in advance
> 
> Francesco Iannone
> Associazione EURATOM-ENEA sulla Fusione
> C.R. ENEA Frascati
> Via E. Fermi 45
> 00044 Frascati (Roma) Italy
> phone 00-39-06-9400-5124
> fax 00-39-06-9400-5524 mailto:francesco.iannone@frascati.enea.it
> http://fusfis.frascati.enea.it/~iannone 
>  
> 
> 



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET