[Samba] Problems compiling samba-3.0.7 on Redhat-7.2
rahul.padalikar at wipro.com
rahul.padalikar at wipro.com
Wed Sep 22 21:29:01 GMT 2004
Stéphane, Uli,
I am able to reproduce this problem on RedHat-9. I was compiling samba 3.0.6 with the
same setup and today when I replaced it with the 3.0.7, I started getting "undefined reference" messages for
dlopen, dlclose and some DEBUG_CLASS also.
I am using gcc-3.2.2.
Regards,
Rahul
-----Original Message-----
From: samba-bounces+rahul.padalikar=wipro.com at lists.samba.org on behalf of Uli Menzebach
Sent: Wed 9/22/2004 1:18 PM
To: samba at lists.samba.org
Cc:
Subject: Re: [Samba] Problems compiling samba-3.0.7 on Redhat-7.2
Stéphane,
thanks for your feedback.
Actually the compiler versions are gcc-2.96 for RH-7.2 and gcc-2.95.3 for
SuSE-7.3 .
The warnings I get seem not to be the real problem.
Getting the undefined references to `dlopen' &friends however puzzles me.
Is there a way to make the command lines make uses to call gcc visible ?
Then I could see whether libdl (-ldl) is actually in the command line.
Thanks,
Uli
On Wed, 22 Sep 2004, Stéphane Purnelle wrote:
> This is warning, but after compiltation samba 3.0.7 run succefully.
> But samba 3.0.7 on redhat 8.0 have this warning too
>
> Maybe on older version of gcc ?
>
> Uli Menzebach a écrit :
>
> >Followup:
> >I can reproduce the problem using just:
> >
> >./configure
> >make
> >
> >on RH-7.2 and SuSE-7.3.
> >
> >NO problems on SusE-9.0 .
> >
> >Unfortunately I am bound to using RH-7.2 on the production server I need
> >to install samba on.
> >
> >So if anyone succeded to build samba-3.0.7 (samba-2 builds w/o problems)
> >on older distros like the above, is what I experience a known problem ?
> >
> >I have been building samba(-2) on Linux and Solaris for years without any
> >hassles.
> >
> >Thanks,
> >
> > Uli
> >
> >
> >
> >
> >On Tue, 21 Sep 2004, Johannes-Ulrich Menzebach wrote:
> >
> >
> >
> >>When compiling samba-3.0.7 on Redhat-7.2, stock kernel 2.4.26,
> >>I get undefined references:
> >>-------
> >>Compiling libads/ads_status.c with -fPIC
> >>Linking nsswitch/libnss_wins.so
> >>lib/system.po: In function `sys_dlopen':
> >>lib/system.po(.text+0xc17): undefined reference to `dlopen'
> >>lib/system.po: In function `sys_dlsym':
> >>lib/system.po(.text+0xc3b): undefined reference to `dlsym'
> >>lib/system.po: In function `sys_dlclose':
> >>lib/system.po(.text+0xc5c): undefined reference to `dlclose'
> >>lib/system.po: In function `sys_dlerror':
> >>lib/system.po(.text+0xc7a): undefined reference to `dlerror'
> >>lib/username.po: In function `user_in_netgroup_list':
> >>lib/username.po(.text+0xa47): undefined reference to `yp_get_default_domain'
> >>lib/access.po: In function `string_match':
> >>lib/access.po(.text+0x1d1): undefined reference to `yp_get_default_domain'
> >>lib/util.po: In function `automount_lookup':
> >>lib/util.po(.text+0x1eb9): undefined reference to `yp_get_default_domain'
> >>lib/util.po(.text+0x1f01): undefined reference to `yperr_string'
> >>lib/util.po(.text+0x1fb6): undefined reference to `yp_match'
> >>lib/util.po(.text+0x20e7): undefined reference to `yperr_string'
> >>Compiling nsswitch/pam_winbind.c with -fPIC
> >>Linking nsswitch/pam_winbind.so
> >>----------
> >>and later:
> >>----------
> >>Linking libsmbclient non-shared library bin/libsmbclient.a
> >>Linking libsmbclient shared library bin/libsmbclient.so
> >>Compiling modules/vfs_recycle.c with -fPIC
> >>Building plugin bin/recycle.so
> >>modules/vfs_recycle.po: In function `recycle_connect':
> >>modules/vfs_recycle.po(.text+0x17): undefined reference to `DEBUGLEVEL_CLASS'
> >>modules/vfs_recycle.po(.text+0x31): undefined reference to `DEBUGLEVEL_CLASS_ISSET'
> >>modules/vfs_recycle.po(.text+0x56): undefined reference to `dbghdr'
> >>modules/vfs_recycle.po(.text+0x6c): undefined reference to `dbgtext'
> >>modules/vfs_recycle.po: In function `recycle_disconnect':
> >>modules/vfs_recycle.po(.text+0xa7): undefined reference to `DEBUGLEVEL_CLASS'
> >>modules/vfs_recycle.po(.text+0xc1): undefined reference to `DEBUGLEVEL_CLASS_ISSET'
> >>modules/vfs_recycle.po(.text+0xe6): undefined reference to `dbghdr'
> >>modules/vfs_recycle.po(.text+0x102): undefined reference to `lp_servicename'
> >>modules/vfs_recycle.po(.text+0x111): undefined reference to `dbgtext'
> >>----------
> >>and a lot more of these.
> >>
> >>My configure options:
> >>./configure --prefix=/opt/samba --sysconfdir=/etc/samba --with-configdir=/etc/samba \
> >>--with-privatedir=/etc/samba --with-lockdir=/var/cache/samba --with-piddir=/var/run/samba \
> >>--with-automount --with-pam --with-msdfs --with-libsmbclient --with-smbmount --with-vfs \
> >>--with-logfilebase=/var/log/samba --with-ldap --with-ads
> >>
> >>The general build environment should be ok on that box (compiled the kernel and other stuff).
> >>
> >>Any ideas and pointers are highly welcome.
> >>
> >>Thanks,
> >>
> >> Uli
> >>
> >>
> >>
> >>
> >>--
> >>+----------------------------------------------------------------------+
> >>| Dr. Johannes-Ulrich Menzebach menze at vitesse.com |
> >>| Vitesse Semiconductor GmbH & Co KG |
> >>| D-47057 Duisburg Pappenstr. 36 Tel. +49/203/306-1765 |
> >>| D-44149 Dortmund Borussiastr. 112 Tel. +49/231/6560-186 |
> >>| Key fingerprint = A36C 9660 6A1C 91E6 051E DF1A 573A 770B DD66 9D9F |
> >>+----------------------------------------------------------------------+
> >>
> >>--
> >>To unsubscribe from this list go to the following URL and read the
> >>instructions: http://lists.samba.org/mailman/listinfo/samba
> >>
> >>
> >>
>
>
> --
> Stéphane Purnelle <stephane.purnelle at tiscali.be>
> Site Web : http://www.linuxplusvalue.be
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
>
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
Confidentiality Notice
The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or Mailadmin at wipro.com immediately
and destroy all copies of this message and any attachments.
More information about the samba
mailing list