Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jul 2007 15:51:46 +0300
From:      adnan <adnansame@gmail.com>
To:        freebsd-cvsweb@FreeBSD.org
Subject:   BDSIM installation ?
Message-ID:  <87122ef0707060551n3872d9aaqf3158d9a46b32f05@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Dear Experts,

I have attended to install your free BDSIM simulation package on your web
page, but during the configuratin, i take the following error message:

adnan@adnan-laptop:~/BDSIM$ make
echo "Making gmad parser..."
Making gmad parser...
make -C parser
g++ -Wall -fpic -g -c gmad.cc
bison -d -v parser.y
parser.y:35 parser name defined to default :"parse"
parser.y contains 3 shift/reduce conflicts.
flex -i parser.l
g++ -Wall -fpic -g -c  lex.yy.c
parser.l: In function 'int yylex()':
parser.l:185: warning: statement has no effect
lex.yy.c: At global scope:
lex.yy.c:1596: warning: 'void yyunput(int, char*)' defined but not used
g++ -Wall -fpic -g -c   parser.tab.c
parser.h: In function 'int expand_line(char*, char*, char*)':
parser.h:519: error: no match for 'operator!=' in 'it != 0'
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_list.h:173:
note: candidates are: bool std::_List_iterator<_Tp>::operator!=(const
std::_List_iterator<_Tp>&) const [with _Tp = Element]
parser.h:576: error: no match for 'operator!=' in 'tmpit != 0'
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_list.h:173:
note: candidates are: bool std::_List_iterator<_Tp>::operator!=(const
std::_List_iterator<_Tp>&) const [with _Tp = Element]
parser.h:589: error: no match for 'operator!=' in 'tmpit != 0'
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_list.h:173:
note: candidates are: bool std::_List_iterator<_Tp>::operator!=(const
std::_List_iterator<_Tp>&) const [with _Tp = Element]
parser.h:630: error: no match for 'operator==' in 'sit == 0'
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_list.h:169:
note: candidates are: bool std::_List_iterator<_Tp>::operator==(const
std::_List_iterator<_Tp>&) const [with _Tp = Element]
parser.h:645: error: no match for 'operator==' in 'eit == 0'
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_list.h:169:
note: candidates are: bool std::_List_iterator<_Tp>::operator==(const
std::_List_iterator<_Tp>&) const [with _Tp = Element]
parser.h:660: error: no match for 'operator!=' in 'it != 0'
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_list.h:173:
note: candidates are: bool std::_List_iterator<_Tp>::operator!=(const
std::_List_iterator<_Tp>&) const [with _Tp = Element]
parser.h: In function 'std::_List_iterator<Element> element_lookup(char*)':
parser.h:681: error: conversion from 'int' to non-scalar type
'std::_List_iterator<Element>' requested
parser.h: In function 'std::_List_iterator<Element> element_lookup(char*,
std::list<Element, std::allocator<Element> >&)':
parser.h:693: error: conversion from 'int' to non-scalar type
'std::_List_iterator<Element>' requested
parser.h: In function 'double property_lookup(char*, char*)':
parser.h:1003: error: no match for 'operator==' in 'it == 0'
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_list.h:169:
note: candidates are: bool std::_List_iterator<_Tp>::operator==(const
std::_List_iterator<_Tp>&) const [with _Tp = Element]
parser.y: In function 'int yyparse()':
parser.y:342: error: no match for 'operator==' in 'it == 0'
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_list.h:169:
note: candidates are: bool std::_List_iterator<_Tp>::operator==(const
std::_List_iterator<_Tp>&) const [with _Tp = Element]
parser.y:922: error: conversion from 'int' to non-scalar type
'std::_List_iterator<double>' requested
make[1]: *** [parser.tab.o] Error 1
make: *** [gmad] Error 2
adnan@adnan-laptop:~/BDSIM$

for this reason, i can't make any progress. Could you please give me some
information what is the problem and how to solve that?

yours sincerely,

                   adnan.

Note: i use Ubuntu version of Linux and compiler is gcc 4.1.2.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87122ef0707060551n3872d9aaqf3158d9a46b32f05>