Bug 3556 - cant link samba against heimdal where vasfprintf unavail.
cant link samba against heimdal where vasfprintf unavail.
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
Other Linux
: P3 normal
: none
Assigned To: Tim Potter
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2006-02-26 00:10 UTC by Björn Jacke
Modified: 2009-12-02 16:38 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Björn Jacke 2006-02-26 00:10:27 UTC
Heimdal and Samba provide vasfprintf/asprintf if these are not provided by the OS. But then this clashes at link time.
See http://rcmail.vintela.com/pipermail/samba/2005-July.txt
and the Tru64 machine in the build farm:
Any idea what can be done about this?
Comment 1 Volker Lendecke 2006-02-26 09:52:01 UTC
We could put the Samba replacement into a .a file and reference that last in the linking options. This way lib/snprintf.o would only be linked in if nobody else defines that symbol. At least this is how I understood the linker.

This is not too easy I think, I've never really messed with the Makefiles.

Comment 2 Björn Jacke 2009-12-02 16:38:45 UTC
i think this is fixed since a while.