Date: prev next · Thread: first prev next last
2019 Archives by date, by thread · List index


On 25/01/2019 09:50, julien2412 wrote:
workdir\UnpackedTarball\nss\nspr\out\config.log
configure:2543: checking for cl
configure:2570: result: cl
configure:5898: cl  -c   conftest.c >&5
conftest.c
conftest.c(14): error C2065: '__thumb2__'ÿ: identificateur non d‚clar‚
Compilateur d'optimisation Microsoft (R) C/C++ versionÿ19.16.27026.1 pour
x64
Copyright (C) Microsoft Corporation. Tous droits r‚serv‚s.

configure:5898: $? = 2
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define DEBUG 1
| /* end confdefs.h.  */
|
| int
| main ()
| {
| return sizeof(__thumb2__);
|   ;
|   return 0;
| }
configure:7134: error: Could not determine MSC version.

The __thumb2__ part is a red herring; configure proceeds past it just fine. The issue is

        # Determine compiler version
        changequote(,)
        _MSVC_VER_FILTER='s|.* \([0-9]\+\.[0-9]\+\.[0-9]\+\(\.[0-9]\+\)\?\).*|\1|p'
        changequote([,])
        CC_VERSION=`${CC} -v 2>&1 | sed -ne "$_MSVC_VER_FILTER"`
        if test -z "$CC_VERSION"; then
            AC_MSG_ERROR([Could not determine MSC version.])
        fi

at workdir/UnpackedTarball/nss/nspr/configure.in:1931. For me, it determines CC_VERSION=19.16.27024.1. For you, the sed invocation apparently fails, leading to an empty CC_VERSION, presumably because your French MSVC outputs something that the code can't cope with.

In the cygwin shell where you do `make`, do the following:

$ grep CC= config_host.mk
to get the CC=... line, should be something like CC=C:/PROGRA... Do the below two commands, with each XXX replaced by the exact value from that CC= line:

$ XXX -v

and

$ XXX -v 2>&1 | sed -ne 's|.* \([0-9]\+\.[0-9]\+\.[0-9]\+\(\.[0-9]\+\)\?\).*|\1|p'

and provide the output of each.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.