AW: freeRadius CVS make install problem

Metz, Frederic Frederic.Metz at t-com.net
Fri Jul 22 13:23:29 CEST 2005


Hi,

I tried it but there's another problem when I run make after "configure --disable-shared": (It's an actual CVS up from this morning 9am)

extracting global C symbols from `../modules/rlm_eap/types/rlm_eap_peap/.libs/rlm_eap_peap.a'
extracting global C symbols from `../modules/rlm_eap/types/rlm_eap_mschapv2/.libs/rlm_eap_mschapv2.a'
extracting global C symbols from `../modules/rlm_eap/types/rlm_eap_gtc/.libs/rlm_eap_gtc.a'
extracting global C symbols from `../modules/rlm_sql/drivers/rlm_sql_mysql/.libs/rlm_sql_mysql.a'
(cd .libs && gcc -c -fno-builtin "radiusdS.c")
rm -f .libs/radiusdS.c .libs/radiusd.nm .libs/radiusd.nmS .libs/radiusd.nmT
gcc .libs/radiusdS.o -static -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef -I../include -DHOSTINFO=\"i686-pc-linux-gnu\" -DRADIUSD_VERSION=\"1.1.0-pre0\" -o radiusd radiusd.o files.o util.o acct.o nas.o log.o valuepair.o version.o proxy.o exec.o auth.o conffile.o modules.o modcall.o session.o xlat.o threads.o smux.o radius_snmp.o client.o request_list.o mainconfig.o listen.o request_process.o -Wl,--export-dynamic  ../modules/rlm_acct_unique/.libs/rlm_acct_unique.a ../modules/rlm_always/.libs/rlm_always.a ../modules/rlm_attr_filter/.libs/rlm_attr_filter.a ../modules/rlm_attr_rewrite/.libs/rlm_attr_rewrite.a ../modules/rlm_chap/.libs/rlm_chap.a ../modules/rlm_checkval/.libs/rlm_checkval.a ../modules/rlm_copy_packet/.libs/rlm_copy_packet.a ../modules/rlm_detail/.l!
 ibs/rlm_detail.a ../modules/rlm_digest/.libs/rlm_digest.a ../modules/rlm_eap/.libs/rlm_eap.a ../modules/rlm_exec/.libs/rlm_exec.a ../modules/rlm_expiration/.libs/rlm_expiration.a ../modules/rlm_expr/.libs/rlm_expr.a ../modules/rlm_fastusers/.libs/rlm_fastusers.a ../modules/rlm_files/.libs/rlm_files.a ../modules/rlm_logintime/.libs/rlm_logintime.a ../modules/rlm_mschap/.libs/rlm_mschap.a ../modules/rlm_ns_mta_md5/.libs/rlm_ns_mta_md5.a ../modules/rlm_otp/.libs/rlm_otp.a ../modules/rlm_pap/.libs/rlm_pap.a ../modules/rlm_passwd/.libs/rlm_passwd.a ../modules/rlm_preprocess/.libs/rlm_preprocess.a ../modules/rlm_radutmp/.libs/rlm_radutmp.a ../modules/rlm_realm/.libs/rlm_realm.a ../modules/rlm_sql/.libs/rlm_sql.a ../modules/rlm_sql_log/.libs/rlm_sql_log.a -lc ../modules/rlm_unix/.libs/rlm_unix.a ../modules/rlm_eap/types/rlm_eap_md5/.libs/rlm_eap_md5.a ../modules/rlm_eap/types/rlm_eap_leap/.libs/rlm_eap_leap.a ../modules/rlm_eap/types/rlm_eap_tls/.libs/rlm_eap_tls.a ../modules/rlm_!
 eap/types/rlm_eap_ttls/.libs/rlm_eap_ttls.a -L/home/fmetz/freeradius/s
rc/modules/rlm_eap/libeap ../modules/rlm_eap/types/rlm_eap_sim/.libs/rlm_eap_sim.a ../modules/rlm_eap/types/rlm_eap_peap/.libs/rlm_eap_peap.a /home/fmetz/freeradius/src/modules/rlm_eap/types/rlm_eap_tls/.libs/rlm_eap_tls.a /home/fmetz/freeradius/src/modules/rlm_eap/libeap/.libs/libeap.a ../modules/rlm_eap/types/rlm_eap_mschapv2/.libs/rlm_eap_mschapv2.a ../modules/rlm_eap/types/rlm_eap_gtc/.libs/rlm_eap_gtc.a ../modules/rlm_sql/drivers/rlm_sql_mysql/.libs/rlm_sql_mysql.a -L/usr/lib /usr/lib/libmysqlclient.a -lz -lm -L/home/fmetz/freeradius/src/lib /home/fmetz/freeradius/src/lib/.libs/libradius.a /home/fmetz/freeradius/libltdl/.libs/libltdl.a -ldl -lnsl -lresolv -lpthread -lcrypt -lssl -lcrypto
mainconfig.o(.text+0x630): In function `switch_users':
/home/fmetz/freeradius/src/main/mainconfig.c:541: warning: Using 'initgroups' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
mainconfig.o(.text+0x597):/home/fmetz/freeradius/src/main/mainconfig.c:507: warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
mainconfig.o(.text+0x54b): In function `radlogdir_iswritable':
/home/fmetz/freeradius/src/main/mainconfig.c:486: warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
listen.o(.text+0x1e0f): In function `listen_bind':
/home/fmetz/freeradius/src/main/listen.c:1536: warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/home/fmetz/freeradius/libltdl/.libs/libltdl.a(ltdl.o)(.text+0x3a9): In function `sys_dl_open':
/home/fmetz/freeradius/libltdl/ltdl.c:1107: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/libpthread.a(lockfile.o)(.text+0x0): In function `__flockfile':
/home/drow/debian-glibc/glibc-2.3.2.ds1/build-tree/glibc-2.3.2/linuxthreads/lockfile.c:28: multiple definition of `__flockfile'
/usr/lib/libc.a(flockfile.o)(.text+0x0): first defined here
/usr/bin/ld: Warning: size of symbol `__flockfile' changed from 34 in /usr/lib/libc.a(flockfile.o) to 18 in /usr/lib/libc.a(flockfile.o)
/usr/lib/libpthread.a(lockfile.o)(.text+0x0): In function `__flockfile':
/home/drow/debian-glibc/glibc-2.3.2.ds1/build-tree/glibc-2.3.2/linuxthreads/lockfile.c:28: multiple definition of `_IO_flockfile'
/usr/lib/libc.a(flockfile.o)(.text+0x0): first defined here
/usr/bin/ld: Warning: size of symbol `_IO_flockfile' changed from 34 in /usr/lib/libc.a(flockfile.o) to 18 in /usr/lib/libc.a(flockfile.o)
/usr/lib/libpthread.a(lockfile.o)(.text+0x20): In function `__funlockfile':
/home/drow/debian-glibc/glibc-2.3.2.ds1/build-tree/glibc-2.3.2/linuxthreads/lockfile.c:38: multiple definition of `__funlockfile'
/usr/lib/libc.a(funlockfile.o)(.text+0x0): first defined here
/usr/bin/ld: Warning: size of symbol `__funlockfile' changed from 34 in /usr/lib/libc.a(funlockfile.o) to 18 in /usr/lib/libc.a(funlockfile.o)
/usr/lib/libpthread.a(lockfile.o)(.text+0x20): In function `__funlockfile':
/home/drow/debian-glibc/glibc-2.3.2.ds1/build-tree/glibc-2.3.2/linuxthreads/lockfile.c:38: multiple definition of `_IO_funlockfile'
/usr/lib/libc.a(funlockfile.o)(.text+0x0): first defined here
/usr/bin/ld: Warning: size of symbol `_IO_funlockfile' changed from 34 in /usr/lib/libc.a(funlockfile.o) to 18 in /usr/lib/libc.a(funlockfile.o)
/usr/lib/libmysqlclient.a(libmysql.o)(.text+0x2a8f): In function `read_user_name':
: warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/libmysqlclient.a(mf_pack.o)(.text+0x848): In function `expand_tilde':
: warning: Using 'endpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/home/fmetz/freeradius/src/lib/.libs/libradius.a(misc.o)(.text+0x50f): In function `ip_hton':
/home/fmetz/freeradius/src/lib/misc.c:578: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
../modules/rlm_unix/.libs/rlm_unix.a(rlm_unix.o)(.text+0x26f): In function `unix_getpw':
/home/fmetz/freeradius/src/modules/rlm_unix/rlm_unix.c:254: warning: Using 'getspnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/home/fmetz/freeradius/src/lib/.libs/libradius.a(misc.o)(.text+0x6b): In function `ip_hostname':
/home/fmetz/freeradius/src/lib/misc.c:75: warning: Using 'gethostbyaddr_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/libmysqlclient.a(my_gethostbyname.o)(.text+0x30): In function `my_gethostbyname_r':
: warning: Using 'gethostbyname_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
collect2: ld returned 1 exit status
rm -f .libs/radiusdS.o
make[4]: *** [radiusd] Fehler 1
make[4]: Leaving directory `/home/fmetz/freeradius/src/main'
make[3]: *** [common] Fehler 2
make[3]: Leaving directory `/home/fmetz/freeradius/src'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/home/fmetz/freeradius/src'
make[1]: *** [common] Fehler 2
make[1]: Leaving directory `/home/fmetz/freeradius'
make: *** [all] Fehler 2


Sorry for so much context and for the german "Fehler" which means "error", I'm sure you know.

Thanks in advance.

Frederic


-----Ursprüngliche Nachricht-----
Von: freeradius-users-bounces at lists.freeradius.org [mailto:freeradius-users-bounces at lists.freeradius.org] Im Auftrag von Alan DeKok
Gesendet: Donnerstag, 21. Juli 2005 19:20
An: FreeRadius users mailing list
Betreff: Re: freeRadius CVS make install problem 

"Metz, Frederic" <Frederic.Metz at t-com.net> wrote:
> sorry for that but I have a simple question about the make
> install. It throws an error in linking or s.th. like that, see
> below. I am not familiar with building shared object files so could
> you please help me.

$ configure --disable-shared
$ make
$ make install

  Alan DeKok.
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



More information about the Freeradius-Users mailing list