[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Install vTPM on Xen-4.2.2
On 06/03/2013 03:45 AM, Bei Guan wrote: Additional information: My environment is Centos6.3 64bit and the my gcc version is like this: [root@localhost newlib-x86_64]# gcc -v Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla--enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) Thank you. 2013/6/3 Bei Guan <gbtju85@xxxxxxxxx>Hi, I compile the stubdom when I install xen-4.3-unstable, but there is an error about the newlibc linked library. Do you have any ideas to solved this problem? The output of "make install" is attached below. According to the functions "__ctype_ptr" and "__getreent" in the output that are very very basic ones, maybe the problem is something related to the environment. However, with several days' work, I still have no idea. If this problem cannot be solved, can I just make "newlib" not to compile the doc? Maybe makedoc is not so important. But, how to do it? Any suggestions is appreciated. Thank you very much. # make install-stubdom ... gcc -g -O2 -o makedoc makedoc.o makedoc.o: In function `at': /root/Xen/xen-4.3-unstable/stubdom/newlib-x86_64/x86_64-xen-elf/newlib /doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:125: undefined reference to `__ctype_ptr' makedoc.o: In function `nextword': /root/Xen/xen-4.3-unstable/stubdom/newlib-x86_64/x86_64-xen-elf/newlib /doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:1067: undefined reference to `__ctype_ptr' makedoc.o: In function `quickref': /root/Xen/xen-4.3-unstable/stubdom/newlib-x86_64/x86_64-xen-elf/newlib /doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:470: undefined reference to `__getreent' /root/Xen/xen-4.3-unstable/stubdom/newlib-x86_64/x86_64-xen-elf/newlib /doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:477: undefined reference to `__getreent' makedoc.o: In function `kill_bogus_lines': /root/Xen/xen-4.3-unstable/stubdom/newlib-x86_64/x86_64-xen-elf/newlib /doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:867: undefined reference to `__ctype_ptr' makedoc.o: In function `bulletize': /root/Xen/xen-4.3-unstable/stubdom/newlib-x86_64/x86_64-xen-elf/newlib /doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:679: undefined reference to `__ctype_ptr' /root/Xen/xen-4.3-unstable/stubdom/newlib-x86_64/x86_64-xen-elf/newlib /doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:679: undefined reference to `__ctype_ptr' makedoc.o: In function `do_fancy_stuff': /root/Xen/xen-4.3-unstable/stubdom/newlib-x86_64/x86_64-xen-elf/newlib /doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:735: undefined reference to `__ctype_ptr' /root/Xen/xen-4.3-unstable/stubdom/newlib-x86_64/x86_64-xen-elf/newlib /doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:744: undefined reference to `__ctype_ptr' makedoc.o:/root/Xen/xen-4.3-unstable/stubdom/newlib-x86_64/x86_64-xen-elf/ newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:378: more undefined references to `__ctype_ptr' follow makedoc.o: In function `lookup_word': /root/Xen/xen-4.3-unstable/stubdom/newlib-x86_64/x86_64-xen-elf/newlib /doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:1151: undefined reference to `__getreent' makedoc.o: In function `compile': /root/Xen/xen-4.3-unstable/stubdom/newlib-x86_64/x86_64-xen-elf/newlib /doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:1332: undefined reference to `__getreent' makedoc.o: In function `main': /root/Xen/xen-4.3-unstable/stubdom/newlib-x86_64/x86_64-xen-elf/newlib /doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:1431: undefined reference to `__getreent' makedoc.o: In function `write_buffer': /root/Xen/xen-4.3-unstable/stubdom/newlib-x86_64/x86_64-xen-elf/newlib /doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:103: undefined reference to `__getreent' makedoc.o: In function `remove_noncomments': /root/Xen/xen-4.3-unstable/stubdom/newlib-x86_64/x86_64-xen-elf/newlib /doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:311: undefined reference to `__ctype_ptr' /root/Xen/xen-4.3-unstable/stubdom/newlib-x86_64/x86_64-xen-elf/newlib /doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:328: undefined reference to `__ctype_ptr' makedoc.o: In function `perform': /root/Xen/xen-4.3-unstable/stubdom/newlib-x86_64/x86_64-xen-elf/newlib /doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:1185: undefined reference to `__getreent' makedoc.o: In function `main': /root/Xen/xen-4.3-unstable/stubdom/newlib-x86_64/x86_64-xen-elf/newlib /doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:1446: undefined reference to `__getreent' collect2: ld returned 1 exit status make[5]: *** [makedoc] Error 1 make[5]: Leaving directory `/root/Xen/xen-4.3-unstable/stubdom/newlib -x86_64/x86_64-xen-elf/newlib/doc' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/root/Xen/xen-4.3-unstable/stubdom/newlib -x86_64/x86_64-xen-elf/newlib' make[3]: *** [all] Error 2 make[3]: Leaving directory `/root/Xen/xen-4.3-unstable/stubdom/newlib -x86_64/x86_64-xen-elf/newlib' make[2]: *** [all-target-newlib] Error 2 make[2]: Leaving directory `/root/Xen/xen-4.3-unstable/stubdom/newlib -x86_64' make[1]: *** [all] Error 2 make[1]: Leaving directory `/root/Xen/xen-4.3-unstable/stubdom/newlib -x86_64' make: *** [cross-root-x86_64/x86_64-xen-elf/lib/libc.a] Error 2 Your issue seems to be unrelated to the TPM code; newlib is also used in other stub domains. My Centos6.4 test system does not have this problem, although I don't think the release matters - it's likely a package you have installed that I do not. You may want to try cleaning out the entire stubdom directory (with rm) and force everything to re-unpack. -- Daniel De Graaf National Security Agency _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |