alliance-support '02
Problem in compiling source code


rahiethan.subramaniam@csiro.au
Mon, 7 Jan 2002 16:58:33 +1100

Hello, I am Rahiethan Subramaniam, a vacation work student from CSIRO (Australia). I downloaded your alliance zipped VHDL compiler source code and uncompressed it. I followed your instructions as stated in README file. I got the following error when I tried to run ./build (I include the whole output I got): ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- ---- gullveig:~/vhdl_dir/alliance/sources% ./build Configuring... creating cache ./config.cache checking for platform... Configuring Alliance VLSI CAD System on platform : Solaris checking whether make sets ${MAKE}... yes checking %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Binaries checking for gcc... gcc checking whether the C compiler (gcc -O -DSolaris ) works... yes checking whether the C compiler (gcc -O -DSolaris ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for gcc... /opt/gnudev/bin/gcc checking how to run the C preprocessor... gcc -E checking for gmake... /opt/gnu/bin/gmake checking for make... /opt/gnudev/bin/make checking for bison... bison -y checking for flex... flex checking for yywrap in -lfl... no checking lex output file root... lex.yy checking whether yytext is a pointer... no checking for flex... /opt/gnu/bin/flex checking for bison... /opt/gnudev/bin/bison checking whether ln -s works... yes checking for ar... /opt/gnudev/bin/ar checking for autoconf... /opt/gnu/bin/autoconf checking for autoheader... /opt/gnu/bin/autoheader checking for automake... /opt/gnu/bin/automake checking for gawk... /opt/gnu/bin/gawk checking for awk... /usr/bin/awk checking for chmod... /usr/bin/chmod checking for cp... /usr/bin/cp checking for cat... /usr/bin/cat checking for csh... /usr/bin/csh checking for cut... /usr/bin/cut checking for echo... /usr/bin/echo checking for false... /usr/bin/false checking for find... /usr/bin/find checking for grep... /usr/bin/grep checking for hostname... /usr/bin/hostname checking for ld... /opt/gnudev/bin/ld checking for lndir... no checking for ls... /usr/bin/ls checking for mkdir... /usr/bin/mkdir checking for mv... /usr/bin/mv checking for perl... /opt/bitkeeper/bin/perl checking for ranlib... /opt/gnudev/bin/ranlib checking for rm... /usr/bin/rm checking for sed... /usr/bin/sed checking for sh... /usr/bin/sh checking for strip... /opt/gnudev/bin/strip checking for test... /usr/bin/test checking for touch... /usr/bin/touch checking for tr... /usr/bin/tr checking for true... /usr/bin/true checking for wc... /usr/bin/wc checking %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Headers and Libraries... checking for X... libraries /usr/openwin/lib, headers /usr/openwin/include checking whether -R must be followed by a space... no checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... no checking for gethostbyname in -lnsl... yes checking for connect... no checking for connect in -lsocket... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for location of Motif GUI includes... /usr/dt/include checking for location of Motif GUI libs... /lib -R /lib checking if motif requires lXintl... no OK checking for location of GNU includes... /opt/gnu/include checking for location of GNU libs... /opt/gnu/lib checking for ANSI C header files... yes checking where the Alliance package was installed... updating cache ./config.cache creating ./config.status creating alliance_os.mk creating alc_env.sh creating alc_env.csh Done... Alliance is installed on /home/sub012/vhdl_dir/alliance/archi/Solaris OS definitions are in Solaris.mk You'll need to 'source alc_env.csh' or '. alc_env.sh' whether you use csh or sh" Sourcing env... Making links... ln: cannot create ./cells: File exists ln: cannot create ./doc: File exists ln: cannot create ./etc: File exists ln: cannot create ./man: File exists ln: cannot create ./tutorials: File exists Compiling... %%%%%%%%% building mbk gmake[1]: Entering directory `/home/sub012/vhdl_dir/alliance/sources/mbk' /opt/gnudev/bin/gcc -g -Wall -DSolaris -DMLU_H='"mlu501.h"' -DMLO_H='"mlo501.h"' -DMPU_H='"mpu406.h"' -DMPH_H='"mph410.h"' -DRCN_H='"rcn200.h"' -DMUT_H='"mut325.h"' -c mbk_ph.c mbk_ph.c:31:60: invalid #ident mbk_ph.c:68:60: invalid #ident gmake[1]: *** [mbk_ph.o] Error 1 gmake[1]: Leaving directory `/home/sub012/vhdl_dir/alliance/sources/mbk' gmake: *** [all] Error 1 Errors have occured, please run: . /home/sub012/vhdl_dir/alliance/archi/Solaris/etc/alc_env.sh or source /home/sub012/vhdl_dir/alliance/archi/Solaris/etc/alc_env.csh cd /home/sub012/vhdl_dir/alliance/sources make ALLIANCE_INSTALL_DIR=/home/sub012/vhdl_dir/alliance/archi/Solaris ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- --------- I think the error is towards the end but I am not sure about it. The gcc version is 2.96 The OS is: gullveig:~/vhdl_dir/alliance/sources% uname -a SunOS gullveig 5.7 Generic_106541-15 sun4u sparc SUNW,Ultra-5_10 Can you please what the problem is and how I can fix it? Thank you. rahiethan.

 



Alliance Web Site © 1997, 2002 ASIM/LIP6/UPMC, page maintained by Czo [Olivier Sirol] , last updated on 07 January 2002.