Thursday, March 24, 2005

Naming convention for OO114 source directory while building

The source or root directory should not contain any '-' character, if there is '-' in the name of the source directory then build will crash in "xml2cmp" module giving LNK2001: error. Because of this '-' in name of source directory, "SOLARLIB" and "SOLARINC" variable is not properly set in "winenv.bat" and this causes linking error while building.

Internal compiler error: while building OO1.1.4

While building OpenOffice if one gets error as follows:

d:\ooo_1.1.4_source\solver\645\wntmsci9.pro\inc\tools/gen.hxx(152) : fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 1786)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
dmake.exe: Error code 130, while making '..\..\wntmsci9.pro\slo\registerservices.obj'
---*TG_SLO.MK*---

Then the error is because of microsoft bug in visual c++ compiler, this bug is removed in Sp6 version of vc++, so one need to download the "Vs6sp6.exe" from microsoft download page and run the exe. This way one can remove the error.

Wednesday, March 02, 2005

My nerd score


I am nerdier than 89% of all people. Are you nerdier? Click here to find out!

Error while building OO1.14: 16 bit MS-DOS Subsystem -- The NTVDM CPU has encountered an illegal instruction

The error is because of the symlinks in cygwin. So, before building OO one should remove the symlinks between [(awk & gawk), (gzip & gunzip)].
This error is causing problem in 'boost' module. A pop window is appearing with the error message(Error: 16 bit MS-DOS Subsystem -- The NTVDM CPU has encountered an illegal instruction)with 'ignore/cancel' button. When one ignores the error message, a message 'File to patch:' is coming and further build is crashing.
This particular error is because of 'gunzip->gzip' symlink, to nullify this link remove 'gunzip.exe' and copy 'gzip.exe' as 'gunzip.exe' in 'cygwin/bin' directory.