The following error was reported when I was trying to install the k-correction and photo-z package from http://cosmo.nyu.edu/~mb144/kcorrect/
on a sgi altix 64-bit server with gnu-linux system:
/usr/bin/ld: /opt/kcorrect/bin/k_test_filter: hidden symbol `__modsi3' in /usr/lib/gcc-lib/ia64-redhat-linux/3.2.3/libgcc.a(__modsi3.oS) is referenced by DSO
collect2: ld returned 1 exit status
make[1]: *** [/opt/kcorrect/bin/k_test_filter] Error 1
while it passes without problem on my local ubuntu 8.10 system.
It seems to be a problem with the linker or gcc library version. Simply modifying the makefile to use gcc as the linker solves the problem.
For example, modify $KCORRECT_DIR/bin/kevilmake to add the following line at the beggining:
LD=gcc
and then follow the standard steps on the website.
最新评论
4 周 4 天 前
4 周 6 天 前
8 周 6 天 前
13 周 6 天 前
24 周 1 天 前
43 周 2 天 前
1 年 3 周 前
1 年 3 周 前
1 年 11 周 前
1 年 12 周 前