From: Lloyd D. <ll...@no...> - 2006-06-14 14:24:06
|
>> I donwloaded (from http://www.hpl.hp.com/personal/Hans_Boehm/gc/), build >> and installed Boehm GC. >> >> Now I'm trying to build 'objc.dll' >> with >> >> make clean >> make gc=yes >> >> It more or less work but fail at the link stage with that error >> Linking clibrary libobjc ... >> c:\MinGW\bin\..\lib\gcc\mingw32\3.4.4\..\..\..\..\mingw32\bin\ld.exe: >> cannot find -lobjc_gc >> collect2: ld returned 1 exit status >> make[1]: *** [shared_obj/libobjc.dll.a] Error 1 >> make: *** [libobjc.all.clibrary.variables] Error 2 >> >> >> Any idea what's going on and how to fix it? > ><sigh> > >Please provide the EXACT commands you used. The exact command is: make gc=yes it was already provided but I repeat it for you :-) Additional Info 1 pwd G:\GNUstep-SVN\dev-libs\libobjc Additional Info 2 just before I typed: cd /G/GNUstep-SVN/dev-libs/gc6.6 ./configure make and I copied the .libs directory content in C:\MinGW\bin and I copied the include content directory in C:\MinGW\include >Just in case you aren't aware what the error means: >During the build process it looks for a library libobj_gc.a >(or libobjc_gc.dll or objc_gc.dll or something similar) which >presumably is the garbage collector you wish it to use. I was aware and wondered what this library could be?!? looks like the potential of the library I was building! (kind of weird, isn't it?) beside: no this lib is no where and is not the one I was trying to build after all > The reason could e.g. be: > - ... this library doesn't exist and should not be mentioned in the makefile and if I removed it it link nicely without warning. Additional Info 3 HansBoehmGC is: libgc.a and yes it's there (I just build it) Perhaps it was too way out of topic to post that on MinGW too. I will limit further post to GNUstep only. Your answer was so way out of topic <sigh> But thanks anyway. |