Skip to content

Unable to build the plugin #175

@canerbulduk

Description

@canerbulduk

While building the plugin via "make", I was getting the following error.

src/ghdl.cc:760:8: error: use of undeclared identifier 'Id_Dlatch'; did you mean 'Id_Latch'?
                case Id_Dlatch:
                     ^~~~~~~~~
                     Id_Latch
/usr/local/include/ghdl/synth_gates.h:72:4: note: 'Id_Latch' declared here
   Id_Latch = 70,
   ^
src/ghdl.cc:1093:8: error: use of undeclared identifier 'Id_Dlatch'; did you mean 'Id_Latch'?
                case Id_Dlatch:
                     ^~~~~~~~~
                     Id_Latch
/usr/local/include/ghdl/synth_gates.h:72:4: note: 'Id_Latch' declared here
   Id_Latch = 70,
   ^
2 errors generated.
make: *** [Makefile:27: ghdl.o] Error 1
caner@caner-VirtualBox:~$ ghdl --version
GHDL 2.0.0 (2.0.0.r0.g8185ed878) [Dunoon edition]
 Compiled with GNAT Version: 10.3.0
 mcode code generator
Written by Tristan Gingold.


Copyright (C) 2003 - 2022 Tristan Gingold.
GHDL is free software, covered by the GNU General Public License.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


caner@caner-VirtualBox:~$ yosys -V
Yosys 0.22 (git sha1 f109fa3d4, gcc 9.4.0-1ubuntu1~20.04.1 -fPIC -Os)

As a solution, I reverted this, 90c5411 , commit on my end, the result was a success.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions