Project

General

Profile

Actions

Bug #6652

closed

Error when building illumos kernel

Added by zheng cai almost 6 years ago. Updated almost 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2016-02-14
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

Hi, I am new to illumos. I try to build the illumos kernel using guide "http://wiki.illumos.org/display/illumos/How+To+Build+illumos".
But I met tons of error like this:

2918 /code/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/cw -_gcc -o pkcs11_tpm.so.1 -G -hpkcs11_tpm.so.1 -ztext -zdefs -Bdirect  -M../common/mapfile-vers -M/code/illumos-gate/usr/src/common/mapfiles/common/map.pageal      ign -M/code/illumos-gate/usr/src/common/mapfiles/common/map.noexdata pics/api_interface.o  pics/apiutil.o  pics/asn1.o  pics/cert.o  pics/data_obj.o  pics/decr_mgr.o  pics/dig_mgr.o  pics/encr_mgr.o  pics/globals.o  pics/hwf_obj.o        pics/key.o  pics/key_mgr.o  pics/loadsave.o  pics/log.o  pics/mech_md5.o  pics/mech_rsa.o  pics/mech_sha.o  pics/new_host.o  pics/obj_mgr.o  pics/object.o  pics/sess_mgr.o  pics/sign_mgr.o  pics/template.o  pics/tpm_specific.o  pi      cs/utility.o  pics/verify_mgr.o  -L/code/illumos-gate/proto/root_i386/lib -L/code/illumos-gate/proto/root_i386/usr/lib    -L/usr/lib -L/lib -lc -luuid -lmd -ltspi -lcrypto
2919 + /opt/gcc/4.4.4/bin/gcc -fident -finline -fno-inline-functions -fno-builtin -fno-asm -fdiagnostics-show-option -nodefaultlibs -D__sun -o pkcs11_tpm.so.1 -shared -hpkcs11_tpm.so.1 -Wl,-ztext -Wl,-zdefs -Wl,-Bdirect -Wl,-M../common/      mapfile-vers -Wl,-M/code/illumos-gate/usr/src/common/mapfiles/common/map.pagealign -Wl,-M/code/illumos-gate/usr/src/common/mapfiles/common/map.noexdata pics/api_interface.o pics/apiutil.o pics/asn1.o pics/cert.o pics/data_obj.o pic      s/decr_mgr.o pics/dig_mgr.o pics/encr_mgr.o pics/globals.o pics/hwf_obj.o pics/key.o pics/key_mgr.o pics/loadsave.o pics/log.o pics/mech_md5.o pics/mech_rsa.o pics/mech_sha.o pics/new_host.o pics/obj_mgr.o pics/object.o pics/sess_m      gr.o pics/sign_mgr.o pics/template.o pics/tpm_specific.o pics/utility.o pics/verify_mgr.o -L/code/illumos-gate/proto/root_i386/lib -L/code/illumos-gate/proto/root_i386/usr/lib -L/usr/lib -L/lib -lc -luuid -lmd -ltspi -lcrypto
2920 ld: fatal: file /code/illumos-gate/proto/root_i386/lib/libc.so: version 'ILLUMOS_0.12' does not exist:
2921         required by file /usr/lib/libuuid.so
2922 ld: fatal: file /code/illumos-gate/proto/root_i386/lib/libavl.so.1: version 'ILLUMOS_1.0' does not exist:
2923         required by file /usr/lib/libsec.so.1
2924 ld: fatal: file /code/illumos-gate/proto/root_i386/lib/libavl.so.1: version 'ILLUMOS_1.0' does not exist:
2925         required by file /usr/lib/libidmap.so.1
2926 ld: fatal: file processing errors. No output written to pkcs11_tpm.so.1
2927 collect2: ld returned 1 exit status
2928 *** Error code 1
2929 /code/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/cw -_gcc -o pkcs11_tpm.so.1 -G -hpkcs11_tpm.so.1 -ztext -zdefs -Bdirect  -M../common/mapfile-vers -M/code/illumos-gate/usr/src/common/mapfiles/common/map.pageal      ign -M/code/illumos-gate/usr/src/common/mapfiles/common/map.noexdata pics/api_interface.o  pics/apiutil.o  pics/asn1.o  pics/cert.o  pics/data_obj.o  pics/decr_mgr.o  pics/dig_mgr.o  pics/encr_mgr.o  pics/globals.o  pics/hwf_obj.o        pics/key.o  pics/key_mgr.o  pics/loadsave.o  pics/log.o  pics/mech_md5.o  pics/mech_rsa.o  pics/mech_sha.o  pics/new_host.o  pics/obj_mgr.o  pics/object.o  pics/sess_mgr.o  pics/sign_mgr.o  pics/template.o  pics/tpm_specific.o  pi      cs/utility.o  pics/verify_mgr.o  -L/code/illumos-gate/proto/root_i386/lib -L/code/illumos-gate/proto/root_i386/usr/lib    -L/usr/lib -L/lib -lc -luuid -lmd -ltspi -lcrypto
2930 + /opt/gcc/4.4.4/bin/gcc -fident -finline -fno-inline-functions -fno-builtin -fno-asm -fdiagnostics-show-option -nodefaultlibs -D__sun -o pkcs11_tpm.so.1 -shared -hpkcs11_tpm.so.1 -Wl,-ztext -Wl,-zdefs -Wl,-Bdirect -Wl,-M../common/      mapfile-vers -Wl,-M/code/illumos-gate/usr/src/common/mapfiles/common/map.pagealign -Wl,-M/code/illumos-gate/usr/src/common/mapfiles/common/map.noexdata pics/api_interface.o pics/apiutil.o pics/asn1.o pics/cert.o pics/data_obj.o pic      s/decr_mgr.o pics/dig_mgr.o pics/encr_mgr.o pics/globals.o pics/hwf_obj.o pics/key.o pics/key_mgr.o pics/loadsave.o pics/log.o pics/mech_md5.o pics/mech_rsa.o pics/mech_sha.o pics/new_host.o pics/obj_mgr.o pics/object.o pics/sess_m      gr.o pics/sign_mgr.o pics/template.o pics/tpm_specific.o pics/utility.o pics/verify_mgr.o -L/code/illumos-gate/proto/root_i386/lib -L/code/illumos-gate/proto/root_i386/usr/lib -L/usr/lib -L/lib -lc -luuid -lmd -ltspi -lcrypto
2931 ld: fatal: file /code/illumos-gate/proto/root_i386/lib/libc.so: version 'ILLUMOS_0.12' does not exist:
2932         required by file /usr/lib/libuuid.so
2933 ld: fatal: file /code/illumos-gate/proto/root_i386/lib/libavl.so.1: version 'ILLUMOS_1.0' does not exist:
2934         required by file /usr/lib/libsec.so.1
2935 ld: fatal: file /code/illumos-gate/proto/root_i386/lib/libavl.so.1: version 'ILLUMOS_1.0' does not exist:
2936         required by file /usr/lib/libidmap.so.1
2937 ld: fatal: file processing errors. No output written to pkcs11_tpm.so.1
2938 collect2: ld returned 1 exit status
2939 *** Error code 1
2940 /usr/bin/rm -f /code/illumos-gate/proto/root_i386/usr/lib/security/pkcs11_tpm.so; /usr/bin/ln -s pkcs11_tpm.so.1 /code/illumos-gate/proto/root_i386/usr/lib/security/pkcs11_tpm.so
2941 dmake: Warning: Target `install' not remade because of errors
2942 Current working directory /code/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/i386
2943 *** Error code 1
2944 The following command caused the error:
2945 cd i386; pwd; dmake install

Could anyone help have a look, thanks

Actions

Also available in: Atom PDF