List Info

Thread: Debian 3.1r4 + matplc




Debian 3.1r4 + matplc
user name
2007-03-20 04:52:28
Dear Colleagues,

I am trying to use matplc for a student project.
However, the following compilation problems still occur.
I am using Debian 3.1r4 2.6.8-3-386 kernel 

I include the excerpt make log file.
Anyone could give me a hint to this problem.

Thanking you in advance.
Regards,

++ pit ++

iec.y:80:20: iec.y.hh: No such file or directory
iec.y:127: error: `BOGUS_TOKEN_ID' was not declared in this
scope
iec.y:127: error: template argument 2 is invalid
iec.y:127: error: ISO C++ forbids declaration of
`library_element_symtable' 
   with no type
iec.y:132: error: `BOGUS_TOKEN_ID' was not declared in this
scope
iec.y:132: error: template argument 2 is invalid
iec.y:132: error: ISO C++ forbids declaration of
`variable_name_symtable' with 
   no type
iec.y: In function `int yyparse()':
iec.y:1368: error: `yylsp' undeclared (first use this
function)
iec.y:1368: error: (Each undeclared identifier is reported
only once for each 
   function it appears in.)
iec.y:2214: error: request for member `insert' in
`library_element_symtable', 
   which is of non-aggregate type `int'
iec.y:2259: error: request for member `insert' in
`library_element_symtable', 
   which is of non-aggregate type `int'
iec.y:2286: error: request for member `insert' in
`library_element_symtable', 
   which is of non-aggregate type `int'
iec.y:2326: error: request for member `insert' in
`library_element_symtable', 
   which is of non-aggregate type `int'
iec.y:2390: error: request for member `insert' in
`library_element_symtable', 
   which is of non-aggregate type `int'
iec.y:2477: error: request for member `insert' in
`library_element_symtable', 
   which is of non-aggregate type `int'
iec.y:2712: error: request for member `insert' in
`variable_name_symtable', 
   which is of non-aggregate type `int'
iec.y:2716: error: request for member `insert' in
`variable_name_symtable', 
   which is of non-aggregate type `int'
iec.y:2787: error: request for member `set' in
`variable_name_symtable', which 
   is of non-aggregate type `int'
iec.y:2901: error: request for member `insert' in
`variable_name_symtable', 
   which is of non-aggregate type `int'
iec.y:2929: error: request for member `insert' in
`variable_name_symtable', 
   which is of non-aggregate type `int'
iec.y:2933: error: request for member `insert' in
`variable_name_symtable', 
   which is of non-aggregate type `int'
iec.y:2937: error: request for member `insert' in
`variable_name_symtable', 
   which is of non-aggregate type `int'
iec.y:2941: error: request for member `insert' in
`variable_name_symtable', 
   which is of non-aggregate type `int'
iec.y:2945: error: request for member `insert' in
`variable_name_symtable', 
   which is of non-aggregate type `int'
iec.y:2949: error: request for member `insert' in
`variable_name_symtable', 
   which is of non-aggregate type `int'
iec.y:2991: error: request for member `insert' in
`variable_name_symtable', 
   which is of non-aggregate type `int'
iec.y:3018: error: request for member `insert' in
`variable_name_symtable', 
   which is of non-aggregate type `int'
iec.y:3022: error: request for member `insert' in
`variable_name_symtable', 
   which is of non-aggregate type `int'
iec.y:3342: error: request for member `pop' in
`variable_name_symtable', which 
   is of non-aggregate type `int'
iec.y:3344: error: request for member `find_value' in 
`library_element_symtable
   ', which is of non-aggregate type `int'
iec.y:3350: error: request for member `insert' in
`library_element_symtable', 
   which is of non-aggregate type `int'
iec.y:3357: error: request for member `insert' in
`library_element_symtable', 
   which is of non-aggregate type `int'
iec.y:3363: error: request for member `pop' in
`variable_name_symtable', which 
   is of non-aggregate type `int'
iec.y:3365: error: request for member `find_value' in 
`library_element_symtable
   ', which is of non-aggregate type `int'
iec.y:3367: error: request for member `insert' in
`library_element_symtable', 
   which is of non-aggregate type `int'
iec.y:3371: error: request for member `insert' in
`library_element_symtable', 
   which is of non-aggregate type `int'
iec.y:3416: error: request for member `insert' in
`variable_name_symtable', 
   which is of non-aggregate type `int'
iec.y:3492: error: request for member `insert' in
`library_element_symtable', 
   which is of non-aggregate type `int'
iec.y:3498: error: request for member `pop' in
`variable_name_symtable', which 
   is of non-aggregate type `int'
iec.y:3589: error: request for member `insert' in
`library_element_symtable', 
   which is of non-aggregate type `int'
iec.y:3595: error: request for member `pop' in
`variable_name_symtable', which 
   is of non-aggregate type `int'
iec.y:3818: error: request for member `pop' in
`variable_name_symtable', which 
   is of non-aggregate type `int'
iec.y:3823: error: request for member `insert' in
`library_element_symtable', 
   which is of non-aggregate type `int'
iec.y:3824: error: request for member `pop' in
`variable_name_symtable', which 
   is of non-aggregate type `int'
iec.y:3833: error: request for member `insert' in
`library_element_symtable', 
   which is of non-aggregate type `int'
iec.y:3834: error: request for member `pop' in
`variable_name_symtable', which 
   is of non-aggregate type `int'
iec.y:3879: error: request for member `push' in
`variable_name_symtable', 
which 
   is of non-aggregate type `int'
iec.y:3884: error: request for member `pop' in
`variable_name_symtable', which 
   is of non-aggregate type `int'
iec.y:3885: error: request for member `insert' in
`variable_name_symtable', 
   which is of non-aggregate type `int'
iec.y:4051: error: request for member `insert' in
`variable_name_symtable', 
   which is of non-aggregate type `int'
iec.y:4055: error: request for member `insert' in
`variable_name_symtable', 
   which is of non-aggregate type `int'
iec.y:4059: error: request for member `insert' in
`variable_name_symtable', 
   which is of non-aggregate type `int'
/usr/share/bison++/bison.cc:910: warning: comparison between
signed and 
   unsigned integer expressions
/usr/share/bison++/bison.cc:922: warning: comparison between
signed and 
   unsigned integer expressions
iec.y: In function `int get_identifier_token(const char*)':
iec.y:5126: error: request for member `find_value' in 
`variable_name_symtable', 
   which is of non-aggregate type `int'
iec.y:5126: error: request for member `end_value' in
`variable_name_symtable', 
   which is of non-aggregate type `int'
iec.y:5127: error: request for member `find_value' in 
`library_element_symtable
   ', which is of non-aggregate type `int'
iec.y:5127: error: request for member `end_value' in
`library_element_symtable
   ', which is of non-aggregate type `int'
iec.y: In function `int stage1_2(const char*, const char*,
symbol_c**)':
iec.y:5388: error: request for member `find_value' in 
`library_element_symtable
   ', which is of non-aggregate type `int'
iec.y:5389: error: request for member `end_value' in
`library_element_symtable
   ', which is of non-aggregate type `int'
iec.y:5390: error: request for member `insert' in
`library_element_symtable', 
   which is of non-aggregate type `int'
iec.y:5393: error: request for member `find_value' in 
`library_element_symtable
   ', which is of non-aggregate type `int'
iec.y:5394: error: request for member `end_value' in
`library_element_symtable
   ', which is of non-aggregate type `int'
iec.y:5395: error: request for member `insert' in
`library_element_symtable', 
   which is of non-aggregate type `int'
make[2]: *** [iec.y.o] Error 1
make[2]: Leaving directory 
`/home/pitanaya/local/mat-coruscant/logic/iec/stage1_2'
make[1]: *** [stage1_2/iec.y.o] Error 2
make[1]: Leaving directory
`/home/pitanaya/local/mat-coruscant/logic/iec'
make: *** [logic/iec/all] Error 2

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
MAT-devel mailing list
MAT-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mat-devel


Re: Debian 3.1r4 + matplc
country flaguser name
Portugal
2007-03-20 09:38:39
On Tuesday 20 March 2007 09:52, Prianggada Indra Tanaya
wrote:
> Dear Colleagues,
>
> I am trying to use matplc for a student project.
> However, the following compilation problems still
occur.
> I am using Debian 3.1r4 2.6.8-3-386 kernel
>
> I include the excerpt make log file.
> Anyone could give me a hint to this problem.
>
> Thanking you in advance.
> Regards,
>
> ++ pit ++
>
> iec.y:80:20: iec.y.hh: No such file or directory
> iec.y:127: error: `BOGUS_TOKEN_ID' was not declared in
this scope



 This is my code, so I should be replying. However, I am a
little tight on 
time right now, so I would like to ask you to please be a
little patient.

 I would also like to ask you that you send the previous
lines, i.e. the lines 
that come before 
> iec.y:80:20: iec.y.hh: No such file or directory

 Maybe send them directly to me, if this is too long to mail
to the list.


 Cheers,


	Mario.





------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
MAT-devel mailing list
MAT-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mat-devel


Re: Debian 3.1r4 + matplc
user name
2007-03-20 19:51:23
Dear Mario,

First of all, thank you in replying.

On Tuesday 20 March 2007 21:38, Mario de Sousa wrote:
> On Tuesday 20 March 2007 09:52, Prianggada Indra Tanaya
wrote:
> > Dear Colleagues,
> >
> > I am trying to use matplc for a student project.
> > However, the following compilation problems still
occur.
> > I am using Debian 3.1r4 2.6.8-3-386 kernel
> >
> > I include the excerpt make log file.
> > Anyone could give me a hint to this problem.
> >
> > Thanking you in advance.
> > Regards,
> >
> > ++ pit ++
> >
> > iec.y:80:20: iec.y.hh: No such file or directory
> > iec.y:127: error: `BOGUS_TOKEN_ID' was not
declared in this scope
>
>  This is my code, so I should be replying. However, I
am a little tight on

Where is your code. Hopefully, you forget to attached it.

> time right now, so I would like to ask you to please be
a little patient.
>
ok, 

>  I would also like to ask you that you send the
previous lines, i.e. the
> lines that come before
>
> > iec.y:80:20: iec.y.hh: No such file or directory
>
>  Maybe send them directly to me, if this is too long to
mail to the list.
>
>

ok as well. I will send the 'log' file.
I'll send you both that I compile with Debian 3.1r4 and SuSE
10.0
Again, thank you in replying.

best regards
++ pit ++

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
MAT-devel mailing list
MAT-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mat-devel


Re: Debian 3.1r4 + matplc
country flaguser name
Portugal
2007-03-21 06:53:03
On Wednesday 21 March 2007 00:51, Prianggada Indra Tanaya
wrote:
> Dear Mario,
(...)
> >  This is my code, so I should be replying.
However, I am a little tight
> > on
>
> Where is your code. Hopefully, you forget to attached
it.
>


 What I meant was that I wrote the code you are having
trouble compiling, so 
it is essentially my responsibility to try and help you
out.


> >  I would also like to ask you that you send the
previous lines, i.e. the
> > lines that come before
> >
> > > iec.y:80:20: iec.y.hh: No such file or
directory
> >
> >  Maybe send them directly to me, if this is too
long to mail to the list.
>
> ok as well. I will send the 'log' file.
> I'll send you both that I compile with Debian 3.1r4 and
SuSE 10.0


 From what you sent previously it seems that the file
iec.y.hh is missing. 
This file should be created automatically during
'compilation' by the bison 
utility when processing the iec.y file. All the errors that
come after this 
are irrelevant as they are a consequence of the missing
iec.y.hh file.

 I need to know what messages you get BEFORE the missing
iec.y.hh file to 
figure out why it is not being generated.

 The most obvious question is: Do you have bison installed?
Although my guess 
is that you do, so I really need to see the previous lines
of output of the 
compilation process.



  Cheers,

		Mario.

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
MAT-devel mailing list
MAT-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mat-devel


Re: Debian 3.1r4 + matplc
user name
2007-03-22 02:50:46
Dear Mario,

On Wednesday 21 March 2007 18:53, Mario de Sousa wrote:
(....)
>
>  What I meant was that I wrote the code you are having
trouble compiling,
> so it is essentially my responsibility to try and help
you out.
>

Sorry, I misunderstood you.


> > >  I would also like to ask you that you send
the previous lines, i.e.
> > > the lines that come before
> > >
> > > > iec.y:80:20: iec.y.hh: No such file or
directory
> > >
> > >  Maybe send them directly to me, if this is
too long to mail to the
> > > list.
> >
> > ok as well. I will send the 'log' file.
> > I'll send you both that I compile with Debian
3.1r4 and SuSE 10.0
>
>  From what you sent previously it seems that the file
iec.y.hh is missing.
> This file should be created automatically during
'compilation' by the bison
> utility when processing the iec.y file. All the errors
that come after this
> are irrelevant as they are a consequence of the missing
iec.y.hh file.
>
>  I need to know what messages you get BEFORE the
missing iec.y.hh file to
> figure out why it is not being generated.
>

there is no iec.y.hh
but, iec.y.h 
would it be the same file ? I include the search of file
into a text in here.

>  The most obvious question is: Do you have bison
installed? Although my
> guess is that you do, so I really need to see the
previous lines of output
> of the compilation process.
>

I have the following installed bison ...
bison++ (version 1.21.11-2)
bison-1.35 (version 1.35-4)

I attached the make-log file for you info.
Hopefully, those file are not too big.

Thank you.
Regards

++ pit ++

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
MAT-devel mailing list
MAT-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mat-devel


  
  
Re: Debian 3.1r4 + matplc
user name
2007-03-22 08:34:52
Hello,

> I have the following installed bison ...
> bison++ (version 1.21.11-2)
> bison-1.35 (version 1.35-4)

Hmm, I have bison (version 2.3.dfsg-4) and it works for me,
though it gives a 
series of warnings. Unfortunately, my Internet connection is
half-down so I 
can't install bison++ and bison-1.35 tonight to test with
them.

Can you try with the bison package easily, please? (It would
probably 
uninstall bison++ for you.)

Jiri
-- 
Jiri Baum <jiribaum.com.au>                   http://www.baum.com.au/~
jiri

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
MAT-devel mailing list
MAT-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mat-devel


Re: Debian 3.1r4 + matplc
user name
2007-03-23 02:45:48
Hello again Jiri

On Thursday 22 March 2007 20:34, Jiri Baum wrote:
> Hello,
>
> > I have the following installed bison ...
> > bison++ (version 1.21.11-2)
> > bison-1.35 (version 1.35-4)
>
> Hmm, I have bison (version 2.3.dfsg-4) and it works for
me, though it gives
> a series of warnings. Unfortunately, my Internet
connection is half-down so
> I can't install bison++ and bison-1.35 tonight to test
with them.
>

I donwload bison 1:2.3.dfsg-4 and Monday I could try it.
I uninstalled bison++
Herewith, the log file using bison 1:1.875d-1
It seems the errors are different, and a more lines ??

Thank you for your help.
Regards

++ pit ++

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
MAT-devel mailing list
MAT-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mat-devel


  
Re: Debian 3.1r4 + matplc
user name
2007-03-23 04:16:05
Hello,

Prianggada Indra Tanaya:
> I donwload bison 1:2.3.dfsg-4 and Monday I could try
it.
> I uninstalled bison++
> Herewith, the log file using bison 1:1.875d-1
> It seems the errors are different, and a more lines ??

Looks like it worked - the new errors are in the ladder_lib
directory, which 
is not actually used for anything... The ladder_lib
directory is also known 
to have problems...

I will change the Makefile so that "make all"
doesn't attempt to build things 
that don't work.

Can you try going into one of the demo directories and doing
a "make ready"? 
That should build just the parts you need for each demo...


Jiri
-- 
Jiri Baum <jiribaum.com.au>                   http://www.baum.com.au/~
jiri

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
MAT-devel mailing list
MAT-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mat-devel


Re: Debian 3.1r4 + matplc
user name
2007-03-23 04:32:23
Hello,

I wrote:
> I will change the Makefile so that "make all"
doesn't attempt to build
> things that don't work.

Now done and in bzr.

For coruscant, pull http:/
/www.baum.com.au/~jiri/mat/fix-make-all/

Otherwise, use my dev branch, http://www
.baum.com.au/~jiri/mat/mat-main/


Jiri
-- 
Jiri Baum <jiribaum.com.au>                   http://www.baum.com.au/~
jiri

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
MAT-devel mailing list
MAT-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mat-devel


Re: Debian 3.1r4 + matplc
country flaguser name
Portugal
2007-03-23 04:40:24
On Thursday 22 March 2007 13:34, Jiri Baum wrote:
> Hello,
>
> Hmm, I have bison (version 2.3.dfsg-4) and it works for
me, though it gives
> a series of warnings. 


 Yes, I know.

 There are a few things that are declared mutiple times. The
earlier versions 
of bison didn't mind, so I decided to let them be since it
made the code look 
neater. Newer versions of bison don't like this, so they
give out some 
warnings, but compile just the same.

 I am currently collaborating with some people to extend the
compiler, which 
means I have fixed these warnings in my private copy. These
changes will only 
be made public later on.


 Cheers,

		Mario.

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
MAT-devel mailing list
MAT-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mat-devel


[1-10] [11-12]

about | contact  Other archives ( Real Estate discussion Medical topics )