[testing-pre] Error while compiling a test file


Subject: [testing-pre] Error while compiling a test file
From: Attila Csosz (acsosz@mail.datanet.hu)
Date: Fri May 11 2001 - 06:16:53 MDT


Hi,

I've got the following error messages while compiling your example.

----------
$SAVANTROOT/bin/scram -publish-cc examples/MyEntity.vhdl
$SAVANTROOT/bin/scram -publish-cc examples/ArchBehavioral.vhdl
----------

After cd work._savant.lib typing make, I have got:

---
Application.cc:52: `hashString' was not declared in this scope
Application.cc:52: `Equal' was not declared in this scope
Application.cc:52: template argument 3 is invalid
Application.cc:52: template argument 4 is invalid
Application.cc:53: ANSI C++ forbids declaration `getSimulationObjects' with no type
Application.cc:53: new declaration `static int * Application::getSimulationObjects(int, int, int)'
/home/vhdl/warped/kernel/include/Application.h:87: ambiguates old declaration `static class StringHashMap<SimulationObject *> * Application::getSimulationObjects(int, int, int)'
Application.cc: In function `static int * Application::getSimulationObjects(int, int, int)':
Application.cc:54: `hashString' undeclared (first use this function)
Application.cc:54: (Each undeclared identifier is reported only once
Application.cc:54: for each function it appears in.)
Application.cc:54: `Equal' undeclared (first use this function)
Application.cc:54: template argument 3 is invalid
Application.cc:54: template argument 4 is invalid
Application.cc:54: ANSI C++ forbids declaration `newMap' with no type
Application.cc:55: template argument 3 is invalid
Application.cc:55: template argument 4 is invalid
Application.cc:55: ANSI C++ forbids declaration `' with no type
Application.cc:59: assignment of read-only location
Application.cc:59: assignment to `const char' from `VHDLKernel *' lacks a cast
make: *** [Application.o] Error 1
---

I can compile the ieee lib.

GCC version 2.95.2

2) How to compile and make available for savant other non ieee lib? If it possible I'd compile it into 'my._savant.lib'.

Thanks Attila

-- ---------------------------------------------------------------------- - Mail: acsosz@mail.datanet.hu; Debian 2.2 Linux / 2.2.17 / qmail - - My PGP key: gpg --keyserver keys.pgp.com --recv-key 0x2cc33acb -



This archive was generated by hypermail 2b25 : Mon Mar 18 2002 - 13:00:02 MST