Re: [ROOT] undefined symbol vsnprintf when linking (ROOT v3)

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Jan 05 2001 - 10:43:55 MET


Hi Rasmus,
We have two precompiled binaries for Sun, one for the old SunOS5.6 with
CC4.2 and one compiled with CC5. With both compilers vsnprintf is part
of the system libraries. It seems that SunOS5.4 does not have this
function.
Could you send me the options used by the compiler. Add the option "-v"
when compiling a file and let me know the result. I suspect that
the defined __SVR4 is not selected with your compiler.

Rene Brun

On Thu, 4 Jan 2001, Rasmus Ischebeck wrote:

> Hello everybody,
> 
> when I try to link a project that worked fine with ROOT 2.25.00, I get the
> following error message:
> 
> ild: (undefined symbol) vsnprintf -- referenced in
> /home/rasmus/Root/ROOT/lib/libCore.so
> 
> The command line contained, as always, the libraries as given by
> root-config --libs
> 
> As far as I understand this error message, I have to instruct the linker
> to add another object file containing the code for vsnprintf.
> Does anybody know how to do this?
> 
> I am using:
> 
> ROOT v 3.00.01 (precompiled for Sun with CC 4)
> CC WorkShop Compiler v 4.2
> SunOS 5.4 for sparc
> 
> Thank you for your help,
> 
> Rasmus Ischebeck.
> 



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:33 MET