Re: [Gems-users] Ruby make error


Date: Tue, 8 Aug 2006 12:53:10 -0500 (CDT)
From: Mike Marty <mikem@xxxxxxxxxxx>
Subject: Re: [Gems-users] Ruby make error
The linker isn't finding libz

This is in /usr/lib for most Linux systems.

--Mike


> Now, I'm getting the following error:
>
> x86-linux/generated/MOESI_CMP_directory/obj/gzstream.o: In function `gzstreambuf::open(char const*, int)':../common/gzstream/gzstream.C:61: undefined reference to `gzopen'
> x86-linux/generated/MOESI_CMP_directory/obj/gzstream.o: In function `gzstreambuf::close()':../common/gzstream/gzstream.C:72: undefined reference to `gzclose'
> x86-linux/generated/MOESI_CMP_directory/obj/gzstream.o: In function `gzstreambuf::underflow()':../common/gzstream/gzstream.C:90: undefined reference to `gzread'
> x86-linux/generated/MOESI_CMP_directory/obj/gzstream.o: In function `gzstreambuf::flush_buffer()':../common/gzstream/gzstream.C:107: undefined reference to `gzwrite'
> collect2: ld returned 1 exit status
> make[1]: *** [x86-linux/generated/MOESI_CMP_directory/bin/tester.exec] Error 1
>
> Any ideas?
>
>
> Mike Marty <mikem@xxxxxxxxxxx> wrote:   Message    calc_host.sh uses /bin/csh
>
>  Does  that exist on your system?  If not, then change calc_host.sh so that your  system type is hard-coded
>
>  --Mike
>
>
>    -----Original Message-----
> From:    gems-users-bounces@xxxxxxxxxxx [mailto:gems-users-bounces@xxxxxxxxxxx] On    Behalf Of Dave
> Sent: Monday, August 07, 2006 3:53    PM
> To: gems-users@xxxxxxxxxxx; zhu_dave@xxxxxxxxx
> Subject:    [Gems-users] Ruby make error
>
>
> Hello,
>
> I'm trying to    install GEMS 1.3 with Simics 2.2.X, but I get the following errors when I try    to install Ruby:
>
> > sudo make PROTOCOL=MOESI_CMP_directory    DESTINATION=MOESI_CMP_directory
> Password:
> make: ../scripts/calc_host.sh:    Command not found
> ls: generated/MOESI_CMP_directory/*.C: No such file or    directory
> Ruby: Building protocol: MOESI_CMP_directory
> Ruby: Making    slicc
> cd ../slicc; make
> make[1]: ../scripts/calc_host.sh: Command not    found
> make[1]: Entering directory `/home/sfide/GEMS/slicc'
> make[1]:    ../scripts/calc_host.sh: Command not found
> SLICC: Running flex and    bison
> make generated/generated
> make[2]: ../scripts/calc_host.sh: Command    not found
> make[2]: Entering directory `/home/sfide/GEMS/slicc'
> make[2]:    ../scripts/calc_host.sh: Command not found
> make[2]: `generated/generated'    is up to date.
> make[2]: Leaving directory    `/home/sfide/GEMS/slicc'
> SLICC: Building slicc executable
> make    /bin/slicc.exec
> make[2]: ../scripts/calc_host.sh: Command not    found
> make[2]: Entering directory `/home/sfide/GEMS/slicc'
> make[2]:    ../scripts/calc_host.sh: Command not found
> /dev/null -o /obj/parser.o -c    generated/parser.c -DYY_NO_UNPUT -Wall -W -Wwrite-strings    -Woverlo
> aded-virtual -Wno-unused  -g -ggdb -g3 -O0 -w   -I.    -I../common -Igenerated -Isymbols -Igenerato
> r -Iast
> make[2]: execvp: /dev/null: Permission denied
> make[2]: ***    [/obj/parser.o] Error 127
> make[2]: Leaving directory    `/home/sfide/GEMS/slicc'
> make[1]: *** [all] Error 2
> make[1]: Leaving    directory `/home/sfide/GEMS/slicc'
> make: *** [all] Error 2
>
> Thanks    for your help!
>
>
> ---------------------------------
>    Want to be your own boss? Learn how on Yahoo!    Small Business. _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
> Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/"; to your search.
>
>
>
>
> ---------------------------------
> Yahoo! Music Unlimited - Access over 1 million songs.Try it free.
[← Prev in Thread] Current Thread [Next in Thread→]