| |
comp.unix.programmer |
Hello, I'd appreciate your help in solving this. The error message I'm getting is from the GNU linker: =========== begin quote ============ /usr/local/bin/ld: ./bin/../sobin/libgs.so: sleep: invalid version 3 =========== end quote ============ I'm building GhostScript 8.64 using GCC 4.4.0 on Solaris 10 / Sparc. The build of gs went through fine. Next, I executed The libgs.so built without error but the linker failed as above. Is something wrong in the way the libgs.so was built? This is what I noticed is the differnce between the reference to $ /usr/ccs/bin/nm bin/gs|egrep 'Size.*Type|sleep' $ /usr/ccs/bin/nm sobin/libgs.so|egrep 'Size.*Type|sleep' What is wrong and how do I correct it? Thanks for all the help. Best regards
gcc -DHAVE_MKSTEMP -DHAVE_HYPOT -DHAVE_FILE64 -DHAVE_MKSTEMP64 -
DHAVE_FONTCONFIG -O2 -Wall -Wstrict-prototypes -Wundef -Wmissing-
declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing
-Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H
-DGX_COLOR_INDEX_TYPE="unsigned long long" -I./obj/../soobj -I./
base -g -o ./bin/../sobin/gsc ./psi/dxmainc.c -L./bin/../sobin -lgs
(max 0)
./bin/../sobin/libgs.so: could not read symbols: Bad value
collect2: ld returned 1 exit status
make so
which is supposed to build libgs.so, gsc and gsx
(a shared object version of GhostScript and two example
programs which use that shared object)
the sleep in executable gs and the libgs.so:
[Index] Value Size Type Bind Other Shndx Name
[12970] | 4745700| 0|FUNC |GLOB |0 |UNDEF |sleep@@SUNW_0.9
[Index] Value Size Type Bind Other Shndx Name
[8684] | 0| 0|FUNC |GLOB |0 |ABS |sleep@@SUNW_0.9