GNOME Bugzilla – Bug 636282
Using makefile for MSVC ends with error message
Last modified: 2021-07-05 13:22:36 UTC
Overview: There seems to be an error in the file Makefile.msvc that prevents building with this makefile. Steps to Reproduce: Run the command cscript configure.js Set up environment to use MSVC from the command line. Run the command nmake /f Makefile.msvc > errors.txt Actual Results: 1) This error is printed: Makefile.msvc(465) : fatal error U1020: end-of-file found before next directive Stop. 2) The library is not built. Expected Results: 1) No error message 2) Building of the library Build Date & Platform: 4/11/2010 on Windows XP Additional Information: The offending lines seem to be +!if "$(WITH_ICU)" == "1" +LIBS = $(LIBS) icu.lib +!endif Removing the pluses at the begin of these lines solves the problem.
Had the same problem, and "fixed" it by remving pluses. In addition there is a problem with using /OPT:NOWIN98 compiler on msvc 2010. The flag have been removed, but should be set for previus version. Need to make a check on e.g. $(VCINSTALLDIR) for 10.0, or maybe someone have a better solution.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/libxml2/-/issues/ Thank you for your understanding and your help.