- 論壇徽章:
- 0
|
本帖最后由 bodybo 于 2010-08-17 16:02 編輯
有一個(gè)工程需要libuuid,因此下載了e2fsprogs-1.41.12,然后執(zhí)行./configure --prefix=/usr --with-root-prefix="" --enable-elf-shlibs,再執(zhí)行g(shù)make,結(jié)果報(bào)如下錯(cuò)誤:
ld: fatal: relocation error: R_SPARC_TLS_DTPOFF32: file gen_uuid.o: symbol num.1: offset 0xff065b05 is non-aligned
ld: fatal: relocation error: R_SPARC_TLS_DTPOFF32: file gen_uuid.o: symbol uu.2: offset 0xff065b17 is non-aligned
ld: fatal: relocation error: R_SPARC_TLS_DTPOFF32: file gen_uuid.o: symbol last_time.3: offset 0xff065b2a is non-aligned
collect2: ld returned 1 exit status
gmake[2]: *** [libuuid.so.1.2] Error 1
。。。
這個(gè)源碼包在linux下能成功編譯,怎么到solaris下報(bào)這個(gè)錯(cuò)誤呢?該如何解決呢? |
|