From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8497 invoked by alias); 21 Sep 2018 05:23:44 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 8484 invoked by uid 89); 21 Sep 2018 05:23:44 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=HX-Received:a05, python.c, UD:python.c, python.h X-HELO: mail-qt1-f171.google.com Received: from mail-qt1-f171.google.com (HELO mail-qt1-f171.google.com) (209.85.160.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 21 Sep 2018 05:23:42 +0000 Received: by mail-qt1-f171.google.com with SMTP id t39-v6so629833qtc.8 for ; Thu, 20 Sep 2018 22:23:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsc.edu; s=ucsc-google; h=mime-version:from:date:message-id:subject:to; bh=yC02GEC2SMYatByTXLN2MX1eV2mynL4MjisOhQdAGDw=; b=TAF2+2s+LaIAQ3BjMEMSjbgfwauYAT1Hog0joYuXdYD/bGW4ofSHa608DbzShhmjuM wrx3P7Vx+xpUXndkjVlB98VhlAYq+/7w8AQLSBN+iEkwiDPu/bGuMHhj2um33mIXAIKV 6eZlBRyTU7LNK/gMT9e9ZiL6zknd6/e0TFLZo= MIME-Version: 1.0 From: Nilufar Ferdous Date: Fri, 21 Sep 2018 05:23:00 -0000 Message-ID: Subject: _PyImport_FixupBuiltin (gdb_module, "_gdb") error To: gdb-patches@sourceware.org Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2018-09/txt/msg00747.txt.bz2 Hi, I got this link https://sourceware.org/ml/gdb-patches/2018-05/msg00863.html Plese let me know how to solve this. I am getting error building rocket chip generator. gdb/gdb/python/python.c:1584:45: error: too few arguments to function 'int _PyImport_FixupBuiltin(PyObject*, const char*, PyObject*)' _PyImport_FixupBuiltin (gdb_module, "_gdb"); ^ In file included from /usr/include/python3.7m/Python.h:126, from /soe/nferdous/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/python/python-internal.h:94, from /soe/nferdous/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/python/python.c:94: /usr/include/python3.7m/import.h:115:17: note: declared here PyAPI_FUNC(int) _PyImport_FixupBuiltin( ^~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:1947: python.o] Error 1 make[2]: *** [Makefile:10420: all-gdb] Error 2 make[1]: *** [Makefile:849: all] Error 2 Thanks! Nilufar