← Back to team overview

yade-dev team mailing list archive

Re: build crash

 

Hello

I have this error in yade.cpp (related to log4cxx), after an svn update, anyone got this before?

Thanks

Bruno




C core/yade.cpp
core/yade.cpp:45: error: wrong number of arguments specified for 'constructor' attribute

l.45 is :

__attribute__((constructor(1000))) void initLog4cxx(){

I've got the same problem with one of the computer that
I use (and yet liblog4cxx9-dev is installed).
With an other computer, it work fine.

Personally, I don't use log4cxx and I prefer old cout/cerr.
If you also don't use log4cxx you can simply exclude it
from scons compilation for the moment...

VR



Follow ups

References