[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Install vTPM on Xen-4.2.2



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




2013/5/29 George Dunlap <george.dunlap@xxxxxxxxxxxxx>
On 29/05/13 12:56, Daniel De Graaf wrote:
On 05/29/2013 05:56 AM, George Dunlap wrote:
On Tue, May 28, 2013 at 9:00 PM, Daniel De Graaf <dgdegra@xxxxxxxxxxxxx> wrote:
On 05/22/2013 09:56 AM, Bei Guan wrote:

Hi,

I‘m trying to install vTPM based on Xen-4.2.2, linux-kernel 3.9.1 (Dom0)
and TPM emulator. However, I cannot find the TPM backed driver in this
version of Dom0 linux kernel. There is no CONFIG_XEN_TPMDEV_BACKEND in the
kernel config file. The config file for Dom0 is attached. Maybe it
provides
some useful information.

So, how to install a Xen TPM backend driver in the Dom0 linux-kernel.
Thank you very much.


Unless you need to use Xen 4.2 for some reason, I would suggest using the
vTPM in Xen 4.3, as it works more reliably.

You do realize 4.3 hasn't actually been released yet, right? :-)

I assume anyone posting on xen-devel is willing to use pre-release
software - especially as 4.3 is in a later RC now.

On the contrary, this is where users are meant to report bugs and ask technical questions that can't be answered by the people on xen-users.  Where else was Bei Guan supposed to ask for help getting vTPM working in 4.2?

 -George



--
Best Regards,
Bei Guan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.