[GRASS-dev] Compile errors - dllmain and fmode -
releasebranch_6_4 and develbranch_6
Colin Nielsen
colin.nielsen at gmail.com
Thu Mar 5 11:24:47 EST 2009
Still not working, sorry. I'm still a bit new at this so I'll give you
my steps to make sure I didn't miss anything
1) svn up
2) make clean
3) config.status --recheck
4) make
Result:
$ make > /dev/null
gcc.exe: ../../lib/gis/OBJ.i686-pc-mingw32/dllmain.o: No such file or directory
make[3]: *** [/usr/local/src/grass6_devel/dist.i686-pc-mingw32/lib/libgrass_datetime.6.5.svn.dll]
Error 1
make[3]: *** No rule to make target
`../../lib/gis/OBJ.i686-pc-mingw32/dllmain.o', needed by `default'.
Stop.
gcc.exe: ../../lib/gis/OBJ.i686-pc-mingw32/dllmain.o: No such file or directory
make[3]: *** [/usr/local/src/grass6_devel/dist.i686-pc-mingw32/lib/libgrass_gmath.6.5.svn.dll]
Error 1
gcc.exe: ../../lib/gis/OBJ.i686-pc-mingw32/dllmain.o: No such file or directory
make[3]: *** [/usr/local/src/grass6_devel/dist.i686-pc-mingw32/lib/libgrass_linkm.6.5.svn.dll]
Error 1
gcc.exe: ../../lib/gis/OBJ.i686-pc-mingw32/dllmain.o: No such file or directory
make[3]: *** [/usr/local/src/grass6_devel/dist.i686-pc-mingw32/lib/libgrass_driver.6.5.svn.dll]
Error 1
gcc.exe: ../../lib/gis/OBJ.i686-pc-mingw32/dllmain.o: No such file or directory
make[3]: *** [/usr/local/src/grass6_devel/dist.i686-pc-mingw32/lib/libgrass_pngdriver.6.5.svn.dll]
Error 1
gcc.exe: ../../lib/gis/OBJ.i686-pc-mingw32/dllmain.o: No such file or directory
There were many more errors in lib, db, display, vector, raster, etc.
I'll keep being the mingw/msys test bed if you propose other possible
solutions.
-Colin
On Wed, Mar 4, 2009 at 4:57 PM, Markus Neteler <neteler at osgeo.org> wrote:
> On Wed, Mar 4, 2009 at 5:47 PM, Glynn Clements <glynn at gclements.plus.com> wrote:
>>
>> Markus Neteler wrote:
>>
>>> >> >> The fixes were
>>> >> >> - 6.4.svn (r35767, r35769)
>>> >> >> - 6.4.0svn (r35768, r35770)
>>> >> >>
>>> >> >> > [Probably because a complete fix doesn't exist; the change implies
>>> >> >> > that dllmain.c would be part of lib/gis, but lib/datetime is built
>>> >> >> > first.]
>>> >> >>
>>> >> >> What is exactly missing?
>>> >> >
>>> >> > dllmain.c.
>>> >> >
>>> >> > But hang on: DLLMAIN_OBJ doesn't appear to be defined anywhere in
>>> >> > develbranch_6.
>>> >>
>>> >> I seem to have a different version:
>>> >
>>> > Er, right; my Shlib.make was modified to remove the DLLMAIN_OBJ stuff
>>> > (probably to get it to compile).
>>
>> Actually, that's probably not it. But for whatever reason, I have a
>> modified version without the changes.
>
> Here is what's in SVN:
> http://trac.osgeo.org/grass/browser/grass/branches/develbranch_6/include/Make/Shlib.make
> http://trac.osgeo.org/grass/browser/grass/branches/develbranch_6/lib/gis/Makefile
>
> Ha!
> No trace of dllmain.c in
> http://trac.osgeo.org/grass/browser/grass/branches/develbranch_6/lib/gis/
>
> I'm confused. Perhaps our radio-bridge based internet connection in the
> office failed silently. Submitted (again) in r36196 for devel_branch6.
>
> In 6.4.0svn it was already present.
>
>>> On which platform did it fail?
>>
>> It will fail on MinGW, as the changes add dllmain.o to the link
>> command but don't provide any way for that file to be created.
>
> Please give the compilation another try.
> Colin, too...
>
> The entire change is yet missing in grass 7 as I don't know
> how to modify the Makefiles appropriately. The patches of
> the trac ticket won't work.
>
> Markus
>
More information about the grass-dev
mailing list