dear all,
I was trying to install root on a freeBSD 6.1 system and I had got this error:
bin/rmkdepend -R -fbase/src/TError.d -Y -w 1000 – -pipe -W -Wall -fPIC -I/usr/X11R6/include -Iinclude -pthread -D__cplusplus – base/src/TError.cxx
g++ -O -pipe -W -Wall -fPIC -I/usr/X11R6/include -Iinclude -pthread -o base/src/TError.o -c base/src/TError.cxx
base/src/TError.cxx: In function void ErrorHandler(Int_t, const char*, const char*, char*)': base/src/TError.cxx:189: error:__va_copy’ undeclared (first use this function)base/src/TError.cxx:189: error: (Each undeclared identifier is reported only once for each function it appears in.)
gmake: *** [base/src/TError.o] Error 1
Does the system lack of something? I made a full system installation (development, X, and all the other stuffs) and I don’t know how to move around this.
Many thanks.
Roberto
that was actually the way I had in mind to solve quickly the problem on my PC…
but I would like that directory to behave just like /usr/lib. I think probably there could be some further useful stuffs in it.
I should work on it.
thanks a lot
I discovered that freBSD systems have the dl functions in libc instead of in libdl (as it it in linux), so the libdl has not to be linked (that’s why it doesn’t exist in the std library directory).
The libdl I found in my freeBSD system is there because I enabled the linux compatibility, and so some linux features are there.
To solve the problem I had just compiled libPyROOT.so by hands without the -ldl flag.
The library compiles now.