I try simulate simple VHDL program ant get error: "libtool: link: specify a tag with `--tag'"

"Starting new simulation on Sun 19. Oct 2008 at 19:54:19
creating netlist... done.
running C++ conversion... done.
compiling functions... done.
compiling main... done.
linking...libtool: link: unable to infer tagged configuration
Errors occurred during simulation on Sun 19. Oct 2008 at 19:54:24

g++ 4.3.1, libtool  2.2.2/1.5.26 (Debian)

With freehdl I have same error, but can manually add this --tag option like:
libtool --mode=link --tag=CXX g++-4.3  -g spu._main_.o  spu.o -lm /usr/lib/libfreehdl-kernel.la /usr/lib/libfreehdl-std.la /usr/lib/freehdl/libieee.la -o spu

As possible solve this problem?