SuSE 10.0 uses the dreaded gcc-4.0.x compiler with strict type
checking.  This version of gcc chokes on lots of formerly working
programs.  Two possibilities for you:  

1.  Grab the latest copy (0.8.2) out of the Icarus FTP site, which you
can get to from here:

http://geda.seul.org/tools/icarus/index.html

2.  SuSE should have "compatibility" versions of gcc and g++ on its
install media.  Find them through yast and install them.  These will
not choke on the old version of Icarus.

I will be releasing a CD very soon which will overcome the recent
problems with FC4 and SuSE 10.0.  If you can wait, the CD should fix
your problems.

Stuart




> 
> 
> 
> Hi all programing gurus,
> 
> when I compile icarus verilog with SuSE 10.0 I get tonnes of errors like:
> 
> make
> mkdir dep
> g++ -DHAVE_CVS_IDENT=3D1 -DHAVE_CONFIG_H -I. -I.  -Wall -g -O2 -MD -c main.=
> cc -o=20
> main.o
>  [1;31mverinum.h: [0m [1;31m46: [0m [1;31m error: expected =E2=80=98,=E2=80=
> =99 or =E2=80=98...=E2=80=99 before=20
> =E2=80=98&=E2=80=99 token [0m
>  [1;31mverinum.h: [0m [1;31m46: [0m [1;31m error: ISO C++ forbids declarati=
> on=20
> of =E2=80=98string=E2=80=99 with no type [0m
>  [1;31mverinum.h: [0m [1;31m93: [0m [1;31m error: =E2=80=98string=E2=80=99 =
> does not name a=20
> type [0m
>  [1;31mverinum.h: [0m [1;31m110: [0m [1;31m error: expected initializer bef=
> ore=20
> =E2=80=98&=E2=80=99 token [0m
>  [1;31mverinum.h: [0m [1;31m111: [0m [1;31m error: expected initializer bef=
> ore=20
> =E2=80=98&=E2=80=99 token [0m
>  [1;31mverireal.h: [0m [1;31m42: [0m [1;31m error: ISO C++ forbids declarat=
> ion=20
> of =E2=80=98ostream=E2=80=99 with no type [0m
> 
> 
> 
> 
> Has anyone a idea what the problem is?
> 
> Peter
> 
> =2D-=20
> 
> ASIC Design made easy and cheap: http://www.easy-asic.de
> 

Reply via email to