Re: [389-devel] Please review: [389 Project] #47700: Unresolved external symbol references break loading of the ACL plugin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nalin Dahyabhai wrote:
On Mon, Feb 17, 2014 at 01:19:10PM -0800, Noriko Hosoi wrote:
https://fedorahosted.org/389/ticket/47700

https://fedorahosted.org/389/attachment/ticket/47700/0001-Ticket-47700-Unresolved-external-symbol-references-b.patch

  Description of problem by nalin@xxxxxxxxxx:
  Various functions in the directory server are declared with extern "C"
  linkage, causing the compiler to emit references to an unmangled symbol
  name, but because their definitions don't match the declarations, and
  the definitions are compiled using the C++ compiler, the implementations
  are emitted as mangled symbols.

  Fix description: Adjusted the function declaration to the implementation.
I think the second half of the original patch needs to be added back.
When I compile master with the proposed fix applied, nm shows that
lib/libaccess/.libs/libns_dshttpd_la-aclcache.o references an unmangled
INTereport symbol, but lib/base/.libs/libns_dshttpd_la-ereport.o
provides it mangled.

Thanks, Nalin.

Interesting... Could you please attach the errors to the email for me not to make further mistakes?

Thanks!
--noriko
HTH,

Nalin
--
389-devel mailing list
389-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-devel

--
389-devel mailing list
389-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-devel





[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux