Issue 8123 - compiler_version_error with Visual C++ version 7.0 or higher.
Summary: compiler_version_error with Visual C++ version 7.0 or higher.
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: 641
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: sander_traveling
QA Contact: issues@installation
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-07 15:42 UTC by Unknown
Modified: 2003-04-01 08:29 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2002-10-07 15:42:50 UTC
A top level dmake gives the follwing error using CL.EXE version 12 and 13:

build -- version: 1.41

=============
Building project freetype
=============
D:/OOffice/freetype
4NT: Unknown command "awk"
4NT: Unknown command "awk"
++++++++++++++++++++++++++++++++++++
 ERROR!
 Could not detect compiler version!
 Please extend tg_compv.mk in
 "solenv/inc".
++++++++++++++++++++++++++++++++++++
"cl " returns
Microsoft (R) 32-bit c/C++ Standard Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984=1998. All rights reserved.

usage: cl [ option... ] filename... [ /link linkoption... ]
++++++++++++++++++++++++++++++++++++
dmake: Error code 255, while making 'compiler_version_error'
---*RULES.MK*---

ERROR: Error 65280 occurred while making D:/OOffice/freetype
dmake: Error code 129, while making 'build_all'
---*TG_SLO.MK*---

Is anyone aware of a workaround? I've tried copying another version of the 
executable CL.EXE but doesn't work.

Any suggestions.
Thanks!
Comment 1 Olaf Felka 2002-10-14 15:36:53 UTC
Hi Sander,
any idea?
Comment 2 quetschke 2002-12-03 16:55:58 UTC
Not Sander, but yes ;-)

>=============
>Building project freetype
>=============
>D:/OOffice/freetype
>4NT: Unknown command "awk"
>4NT: Unknown command "awk"

Obviosly awk is missing, or $AWK is pointing to the wrong place.

Powen, can you please show us the line with the AWK definition
from your winenv.bat.
Or simply add your whole winenv.bat as an attachment.
Comment 3 quetschke 2003-04-01 08:29:13 UTC
This probably is a configuration issue. The configure from newer
versions (OO0 1.0.2) checks if awk is there and usable for W32.

Closing with WORKSFORME
Comment 4 quetschke 2003-04-01 08:29:31 UTC
.