This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/13625] New: xdr_* definitions missing from libc.a


http://sourceware.org/bugzilla/show_bug.cgi?id=13625

             Bug #: 13625
           Summary: xdr_* definitions missing from libc.a
           Product: glibc
           Version: 2.14
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: johncass@blueyonder.co.uk
    Classification: Unclassified


I am trying to compile Samba 3.6.1 using gcc 4.6.2 / glibc 2.14.1

>From make:

    Linking bin/smbd
    lib/sysquotas_nfs.o: In function `my_xdr_getquota_args':
    sysquotas_nfs.c:(.text+0x1a): undefined reference to `xdr_string'
    sysquotas_nfs.c:(.text+0x2f): undefined reference to `xdr_int'

I found two Google references which suggested that libc.a does not contain the
xdr_* references.  I checked this out with version 2.11.1 of glibc; both static
and shared libraries in 2.11.1 contain xdr_int but only the shared library in
2.14.1 contains this reference.

I haven't been able to find a workaround but I am puzzled that libc_pic.a does
contain these references while libc.a does not as the dependencies in the
makefiles look the same.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]