It appears that the
/home/lpchome/gchoi/SOC/gems/slicc/v9-sol8-64/bin/slicc.exec executable is
failing to run because it cannot dynamically link the standard C++ library
(libstdc++.so.5).
You can try setting the LD_LIBRARY_PATH environment variable to the path of
this file. But a better solution is to resolve the problem with the build.
You may need to edit common/Makefile.common and add a runtime path used by
the dynamic linker/loader. This is specified with the "-Wl,-R/mypath"
option in LDFLAGS
--Mike
> -----Original Message-----
> From: gems-users-bounces@xxxxxxxxxxx [mailto:gems-users-
> bounces@xxxxxxxxxxx] On Behalf Of Gyu Sang Choi
> Sent: Tuesday, March 22, 2005 1:58 PM
> To: gems-users@xxxxxxxxxxx
> Subject: [Gems-users] A compilation error comes from libstdc++.so.5.
>
> Hi there,
>
>
> I got a problem to compile ruby.
> I guess that compilation error comes from libstdc++.so.5, but I copied
> libstdc++.so.5 to $GEMS/simics/v9-sol8-64/sys/lib.
> So, what am I doing wrong?
> I really appreciate if you helpe me.
>
> Best,
>
>
> >make PROTOCOL=MOSI_SMP_bcast DESTINATION=MOSI_SMP_bcast
> generated/MOSI_SMP_bcast/*.C not found
> Ruby: Building protocol: MOSI_SMP_bcast
> Ruby: Making slicc
> cd ../slicc; make
> make[1]: Entering directory `/home/lpchome/gchoi/SOC/gems/slicc'
> SLICC: Running flex and bison
> make generated/generated
> make[2]: Entering directory `/home/lpchome/gchoi/SOC/gems/slicc'
> make[2]: `generated/generated' is up to date.
> make[2]: Leaving directory `/home/lpchome/gchoi/SOC/gems/slicc'
> SLICC: Building slicc executable
> make v9-sol8-64/bin/slicc.exec
> make[2]: Entering directory `/home/lpchome/gchoi/SOC/gems/slicc'
> make[2]: `v9-sol8-64/bin/slicc.exec' is up to date.
> make[2]: Leaving directory `/home/lpchome/gchoi/SOC/gems/slicc'
> make[1]: Leaving directory `/home/lpchome/gchoi/SOC/gems/slicc'
> Ruby: Running slicc
> make generated/MOSI_SMP_bcast/generated
> generated/MOSI_SMP_bcast/*.C not found
> make[1]: Entering directory `/home/lpchome/gchoi/SOC/gems/ruby'
> Generating protocol handlers
> ../slicc/v9-sol8-64/bin/slicc.exec generated/MOSI_SMP_bcast
> html/MOSI_SMP_bcast MOSI_SMP_bcast "html"
> ../protocols/RubySlicc_Exports.sm ../protocols/RubySlicc_Types.sm
> ../protocols/RubySlicc_Util.sm
> ../protocols/RubySlicc_ComponentMapping.sm
> ../protocols/RubySlicc_Profiler.sm ../protocols/RubySlicc_Defines.sm
> ../protocols/MOSI_SMP_bcast-msg.sm ../protocols/MOSI_SMP_bcast-cache.sm
> ../protocols/MOSI_SMP_bcast-dir.sm ../protocols/standard_SMP-protocol.sm
> ld.so.1: ../slicc/v9-sol8-64/bin/slicc.exec: fatal: libstdc++.so.5: open
> failed: No such file or directory
> Killed
> make[1]: *** [generated/MOSI_SMP_bcast/generated] Error 137
> make[1]: Leaving directory `/home/lpchome/gchoi/SOC/gems/ruby'
> make: *** [all] Error 2
>
> --
>
> ---------------------------------------------------------------
> | Name : Gyu Sang Choi |
> | Department : Computer Science & Engineering |
> | Office : 358 IST Building |
> | Office Phone : (814)865-2729 |
> | email : gchoi@xxxxxxxxxxx |
> | Home Phone : (814)861-6986 |
> | Address : 425 Waupelani Drive #327, State College, PA 16801 |
> ---------------------------------------------------------------
>
>
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
|