You are not logged in.
I'm not sure this is the right place to post this but here it goes.
When trying to run one of the programs I need for school I get the following error:
hspice -i tran.sp -o output
Using: /usr/bin/time -p /edasoftware/synopsys/hspice/hspice/linux/hspice -i tran.sp -o tran.lis
/edasoftware/synopsys/hspice/hspice/linux/veriloga_utils/tools/x86/bin/ld:/usr/lib/libc.so: file format not recognized; treating as linker script
/edasoftware/synopsys/hspice/hspice/linux/veriloga_utils/tools/x86/bin/ld:/usr/lib/libc.so:5: parse error
collect2: ld returned 1 exit status
Command terminated by signal 11
real 2.03
user 1.64
sys 0.11
I have searched a bit on google and the solution I found is to change the content of /usr/lib/libc.so from
/* GNU ld script
Use the shared library, but some functions are only in
the static library, so try that secondarily. */
OUTPUT_FORMAT(elf32-i386)
GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld-linux.so.2 ) )
to
/* GNU ld script
Use the shared library, but some functions are only in
the static library, so try that secondarily. */
OUTPUT_FORMAT(elf32-i386)
GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a)
but I guess this change will break something else.
Any ideas on how I can solve this problem in another way?
Last edited by R00KIE (2009-01-10 21:09:12)
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
I have found a way to solve the problem.
I renamed the folder /edasoftware/synopsys/hspice/hspice/linux/veriloga_utils/tools/x86/bin/ that contains as, cpp, gcc, gvoc, i686-pc-linux-gnu-gcc and ld.
Then I've made a symlink to /usr/bin where the same files can be found and it's working fine (tested after reverting the changes to /usr/lib/libc.so).
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline