|
From: Blat F. <pet...@ho...> - 2000-08-08 16:03:43
|
I have reports that blockgui has build errors under Linux... gcc -o blockgui blockgui.o entropy.o mainwin.o progress.o searchwin.o uploadwin.o -L/usr/X11R6/lib ../libblocks/libblocks.a ../libsock/libsock.a ../../fltk/lib/libfltk.a -lX11 -lm entropy.o: In function `EntropyWin::EntropyWin(void)': /usr/local/aoetmp/src/blocks/blockgui/entropy.cxx:14: undefined reference to `__throw' /usr/local/aoetmp/src/blocks/blockgui/entropy.cxx:17: undefined reference to `__throw' /usr/local/aoetmp/src/blocks/blockgui/entropy.cxx:20: undefined reference to `__throw' /usr/local/aoetmp/src/blocks/blockgui/entropy.cxx:23: undefined reference to `__throw' /usr/local/aoetmp/src/blocks/blockgui/entropy.cxx:26: undefined reference to `__throw' ... Now, this looks to me to be a simple linking error due to gcc being used for the final link rather than g++. Now, if Im right you should just have to change the Makefile line which says... LINKEXE=$(CC) -o $(TARGET) $(OBJ) $(LIB) to read... LINKEXE=$(CXX) -o $(TARGET) $(OBJ) $(LIB) and the problem should go away. Can someone on the mailing list try this out? I dont have any direct access to Linux. ttfn PG. ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com |