Hej, 

mam taki problem przy próbie statycznego zlinkowania programu z sambą.
Any ideas?

#v+
cc -static -o smbget smbget.o -lpopt -lsmbclient
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(wb_client.po)(.text+0x9e3):
 In function `winbind_initgroups':
: warning: Using 'initgroups' in statically linked applications requires at runtime 
the shared libraries from the glibc version used for linking
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(util_getent.po)(.text+0x46):
 In function `getgrent_list':
: warning: Using 'getgrent' in statically linked applications requires at runtime the 
shared libraries from the glibc version used for linking
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(system.po)(.text+0xada):
 In function `sys_getgrgid':
: warning: Using 'getgrgid' in statically linked applications requires at runtime the 
shared libraries from the glibc version used for linking
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(system.po)(.text+0xaaa):
 In function `sys_getgrnam':
: warning: Using 'getgrnam' in statically linked applications requires at runtime the 
shared libraries from the glibc version used for linking
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(util_getent.po)(.text+0x41):
 In function `getgrent_list':
: warning: Using 'setgrent' in statically linked applications requires at runtime the 
shared libraries from the glibc version used for linking
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(util_getent.po)(.text+0x10a):
 In function `getgrent_list':
: warning: Using 'endgrent' in statically linked applications requires at runtime the 
shared libraries from the glibc version used for linking
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(system.po)(.text+0xa03):
 In function `sys_getpwent':
: warning: Using 'getpwent' in statically linked applications requires at runtime the 
shared libraries from the glibc version used for linking
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(system.po)(.text+0xa4a):
 In function `sys_getpwnam':
: warning: Using 'getpwnam' in statically linked applications requires at runtime the 
shared libraries from the glibc version used for linking
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(system.po)(.text+0xa7a):
 In function `sys_getpwuid':
: warning: Using 'getpwuid' in statically linked applications requires at runtime the 
shared libraries from the glibc version used for linking
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(system.po)(.text+0x9e3):
 In function `sys_setpwent':
: warning: Using 'setpwent' in statically linked applications requires at runtime the 
shared libraries from the glibc version used for linking
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(system.po)(.text+0xa23):
 In function `sys_endpwent':
: warning: Using 'endpwent' in statically linked applications requires at runtime the 
shared libraries from the glibc version used for linking
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(util_sock.po)(.text+0x2010):
 In function `get_peer_name':
: warning: Using 'gethostbyaddr' in statically linked applications requires at runtime 
the shared libraries from the glibc version used for linking
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(system.po)(.text+0x8ba):
 In function `sys_gethostbyname':
: warning: Using 'gethostbyname' in statically linked applications requires at runtime 
the shared libraries from the glibc version used for linking
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(system.po)(.text+0xee2):
 In function `sys_dlopen':
: undefined reference to `dlopen'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(system.po)(.text+0xf12):
 In function `sys_dlsym':
: undefined reference to `dlsym'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(system.po)(.text+0xf3a):
 In function `sys_dlclose':
: undefined reference to `dlclose'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(system.po)(.text+0xf63):
 In function `sys_dlerror':
: undefined reference to `dlerror'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(username.po)(.text+0xd56):
 In function `user_in_netgroup_list':
: undefined reference to `yp_get_default_domain'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(util.po)(.text+0x2401):
 In function `automount_lookup':
: undefined reference to `yp_get_default_domain'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(util.po)(.text+0x2456):
 In function `automount_lookup':
: undefined reference to `yperr_string'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(util.po)(.text+0x2576):
 In function `automount_lookup':
: undefined reference to `yp_match'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(util.po)(.text+0x264a):
 In function `automount_lookup':
: undefined reference to `yperr_string'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(cliconnect.po)(.text+0x15fa):
 In function `cli_session_setup_kerberos':
: undefined reference to `error_message'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(cliconnect.po)(.text+0x2032):
 In function `cli_session_setup_spnego':
: undefined reference to `error_message'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(namequery.po)(.text+0x210f):
 In function `resolve_ads':
: undefined reference to `ldap_domain2hostlist'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(kerberos.po)(.text+0xd5):
 In function `kerberos_kinit_password':
: undefined reference to `krb5_init_context'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(kerberos.po)(.text+0xf9):
 In function `kerberos_kinit_password':
: undefined reference to `krb5_cc_default'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(kerberos.po)(.text+0x122):
 In function `kerberos_kinit_password':
: undefined reference to `krb5_parse_name'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(kerberos.po)(.text+0x17d):
 In function `kerberos_kinit_password':
: undefined reference to `krb5_get_init_creds_password'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(kerberos.po)(.text+0x19f):
 In function `kerberos_kinit_password':
: undefined reference to `krb5_cc_initialize'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(kerberos.po)(.text+0x1bd):
 In function `kerberos_kinit_password':
: undefined reference to `krb5_cc_store_cred'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(kerberos.po)(.text+0x1d7):
 In function `kerberos_kinit_password':
: undefined reference to `krb5_cc_close'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(kerberos.po)(.text+0x1e7):
 In function `kerberos_kinit_password':
: undefined reference to `krb5_free_cred_contents'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(kerberos.po)(.text+0x1fb):
 In function `kerberos_kinit_password':
: undefined reference to `krb5_free_principal'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(kerberos.po)(.text+0x208):
 In function `kerberos_kinit_password':
: undefined reference to `krb5_free_context'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(kerberos.po)(.text+0x23a):
 In function `kerberos_kinit_password':
: undefined reference to `krb5_cc_close'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(kerberos.po)(.text+0x24a):
 In function `kerberos_kinit_password':
: undefined reference to `krb5_free_cred_contents'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(kerberos.po)(.text+0x25e):
 In function `kerberos_kinit_password':
: undefined reference to `krb5_free_principal'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(kerberos.po)(.text+0x26a):
 In function `kerberos_kinit_password':
: undefined reference to `krb5_free_context'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(kerberos.po)(.text+0x35d):
 In function `ads_kinit_password':
: undefined reference to `error_message'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(ads_status.po)(.text+0x28c):
 In function `.L34':
: undefined reference to `errorlibsmbclient.a(clikrb5.po)(.text+0x35b): In function 
`krb5_locate_kdc':
: undefined reference to `error_message'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(clikrb5.po)(.text+0x398):
 In function `krb5_locate_kdc':
: undefined reference to `krb5_krbhst_next'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(clikrb5.po)(.text+0x3b3):
 In function `krb5_locate_kdc':
: undefined reference to `krb5_krbhst_reset'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(clikrb5.po)(.text+0x40e):
 In function `krb5_locate_kdc':
: undefined reference to `krb5_krbhst_next'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(clikrb5.po)(.text+0x45a):
 In function `krb5_locate_kdc':
: undefined reference to `krb5_krbhst_free'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(clikrb5.po)(.text+0x4bb):
 In function `krb5_locate_kdc':
: undefined reference to `krb5_krbhst_free'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(clikrb5.po)(.text+0x573):
 In function `ads_krb5_mk_req':
: undefined reference to `krb5_parse_name'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(clikrb5.po)(.text+0x60c):
 In function `ads_krb5_mk_req':
: undefined reference to `krb5_copy_principal'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(clikrb5.po)(.text+0x65c):
 In function `ads_krb5_mk_req':
: undefined reference to `krb5_free_principal'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(clikrb5.po)(.text+0x669):
 In function `ads_krb5_mk_req':
: undefined reference to `error_message'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(clikrb5.po)(.text+0x698):
 In function `ads_krb5_mk_req':
: undefined reference to `krb5_cc_get_principal'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(clikrb5.po)(.text+0x6ec):
 In function `ads_krb5_mk_req':
: undefined reference to `krb5_free_cred_contents'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(clikrb5.po)(.text+0x6f9):
 In function `ads_krb5_mk_req':
: undefined reference to `error_message'
/usr/lib/gcc-lib/athlon-pld-linux/3.3.3/../../../libsmbclient.a(clikrb5.po)(.text+0x738):
 In function `ads_krb5_mk_req':
: undefined reference to `krb5_get_crede
#v-
-- 
--= Michal Kochanowicz =--==--==BOFH==--==--= [EMAIL PROTECTED] =--
--= finger me for PGP public key or visit http://michal.waw.pl/PGP =--
--==--==--==--==--==-- Vodka. Connecting people.--==--==--==--==--==--
A chodzenie po górach SSIE!!!

_______________________________________________________
złota zasada - kto się nie zna, niech się nie wypowiada

Odpowiedź listem elektroniczym