I also get this error, and spent a few hours trying to fix it, but I couldn't. It seems that olaugh doesn't get it this error message trying to compile on his Mac.
Do you have any idea how to fix the linking problem? :) Thanks, Jason On Sun, Aug 3, 2008 at 13:32, dqplz <[EMAIL PROTECTED]> wrote: >> Sorry for a slow response. Try using makeminidawg. You'll have to >> create a smaller.raw, with the same contents as your dawginput.raw, >> and a playabilities.raw, which can be an empty file. >> >> Let me know if something is confounding! > > makeminidawg does compile, but does not link. Some kind of dependency > problem. Quackle and quackleio compiles/link nicely. > > === > $ cd quackleio > $ qmake > $ make > [...no errors...] > $ ar vt libquackleio.a > rw-r--r-- 1000/1000 44644 Aug 3 19:24 2008 gcgio.o > rw-r--r-- 1000/1000 10140 Aug 3 19:24 2008 queenie.o > rw-r--r-- 1000/1000 4548 Aug 3 19:24 2008 streamingreporter.o > rw-r--r-- 1000/1000 13436 Aug 3 19:24 2008 flexiblealphabet.o > rw-r--r-- 1000/1000 20060 Aug 3 19:24 2008 util.o > rw-r--r-- 1000/1000 34512 Aug 3 19:24 2008 froggetopt.o > rw-r--r-- 1000/1000 10116 Aug 3 19:24 2008 dict.o > rw-r--r-- 1000/1000 2736 Aug 3 19:24 2008 dictfactory.o > rw-r--r-- 1000/1000 18792 Aug 3 19:24 2008 dictimplementation.o > $ cd ../makeminidawg > $ qmake > $ make > g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB > -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. > -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore > -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 > -I. -I.. -I. -I. -o obj/release/minidawgmaker.o minidawgmaker.cpp > minidawgmaker.cpp: In member function `int > MiniDawgMaker::executeFromArguments()': > minidawgmaker.cpp:517: warning: control reaches end of non-void function > g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB > -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. > -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore > -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 > -I. -I.. -I. -I. -o obj/release/makeminidawgmain.o makeminidawgmain.cpp > g++ -o makeminidawg obj/release/minidawgmaker.o > obj/release/makeminidawgmain.o -L/usr/lib -L.. -L../quackleio > -lquackle -lquackleio -lQtGui -lQtCore -lpthread > ../quackleio/libquackleio.a(dictimplementation.o): In function > `QuackleIO::DictImplementation::DictImplementation()': > dictimplementation.cpp:(.text+0x18c): undefined reference to > `Quackle::Generator::Generator()' > ../quackleio/libquackleio.a(dictimplementation.o): In function > `QuackleIO::DictImplementation::DictImplementation()': > dictimplementation.cpp:(.text+0x1dc): undefined reference to > `Quackle::Generator::Generator()' > ../quackleio/libquackleio.a(dictimplementation.o): In function > `QuackleIO::DictImplementation::~DictImplementation()': > dictimplementation.cpp:(.text+0x22c): undefined reference to > `Quackle::Generator::~Generator()' > ../quackleio/libquackleio.a(dictimplementation.o): In function > `QuackleIO::DictImplementation::~DictImplementation()': > dictimplementation.cpp:(.text+0x28c): undefined reference to > `Quackle::Generator::~Generator()' > ../quackleio/libquackleio.a(dictimplementation.o): In function > `QuackleIO::DictImplementation::~DictImplementation()': > dictimplementation.cpp:(.text+0x2ec): undefined reference to > `Quackle::Generator::~Generator()' > ../quackleio/libquackleio.a(dictimplementation.o): In function > `QuackleIO::DictImplementation::isBritish(Quackle::FixedLengthString > const&)': > dictimplementation.cpp:(.text+0x3bb): undefined reference to > `Quackle::Generator::storeWordInfo(Quackle::WordWithInfo*)' > ../quackleio/libquackleio.a(dictimplementation.o): In function > `QuackleIO::DictImplementation::query(QString const&, int)': > dictimplementation.cpp:(.text+0x640): undefined reference to > `Quackle::Generator::anagramLetters(Quackle::FixedLengthString const&, > int)' > dictimplementation.cpp:(.text+0x79f): undefined reference to > `Quackle::Generator::storeWordInfo(Quackle::WordWithInfo*)' > dictimplementation.cpp:(.text+0x7bd): undefined reference to > `Quackle::Generator::storeExtensions(Quackle::WordWithInfo*)' > collect2: ld returned 1 exit status > make: *** [makeminidawg] Error 1 > === > > Any hints? > > Thanks in advance, > //D > >
