[GRASS-dev] Compile errors - dllmain and fmode - releasebranch_6_4 and develbranch_6

Colin Nielsen colin.nielsen at gmail.com
Fri Mar 6 09:39:41 EST 2009


1) I reverted markus's patch and the jef_mingw patch as well.
2) make distclean
3) ./configure etc etc etc
4) make
5) as Glynn suggested, make again

Seems to still be a lot of errors, so far the jef_mingw patch worked
the best, it fixed dllmain but not fmode.

-Colin


On 3/6/09, Glynn Clements <glynn at gclements.plus.com> wrote:
>
> Colin Nielsen wrote:
>
>> 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'.
>
> AFAICT, this is because the rule in lib/gis/Makefile uses a path based
> upon MODULE_TOPDIR, but the compilation rules require a path relative
> to the current directory. The first attached patch should fix this part.
>
> The second patch should fix the issue with lib/datetime being built
> before lib/gis. If it doesn't, just try running "make" a second time
> without an intervening "make clean".
>
>> 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.
>
> --
> Glynn Clements <glynn at gclements.plus.com>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make2.log
Type: application/octet-stream
Size: 76525 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20090306/0cf06af5/make2-0001.obj


More information about the grass-dev mailing list