Hello,
 
We have beening doing some experimentation with modifications to the
migration code in the Qemu and came up against a problem.  We included
some code in a different file and are receiving the following error from
make:
 
---
Migration.o: In function `migrate_prepare_page':
/root/tmp/KVM/qemu/migration.c:367: undefined reference to
`get_cached_page'
/root/tmp/KVM/qemu/migration.c:367: undefined reference to
`get_cached_page'
/root/tmp/KVM/qemu/migration.c:367: undefined reference to
`get_cached_page'
collect2: ld returned 1 exit status
Make[2]: *** [qemu-system_x86_64] Error 1
Make[1]: *** [subdir-x86_64-softmmu] Error2
Make: *** [qemu] Error 2
---

We see from looking at the code that everything seems to be correct and
we suspect that the error is coming from the order that the files are
being compiled.  Is there any special consideration we need to take when
adding new headers and code files to the tree?  (at the minute any new
files we added are in the same directory as migration.c.)
 
We aren't sure if the kvm maintainers are using a custom makefile,
however, would it be more appropriate to post this on the Qemu mailing
list?
 
regards
Stuart
 

Stuart Hacking
SAP Research, CEC Belfast
SAP (UK) Limited
TEIC Building, University of Ulster
BT37 0QB Newtownabbey, U.K.
( +44 (28) 90930094 
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  

This communication contains information which is confidential and may
also be privileged. It is for the exclusive use of the addressee. If you
are not the addressee please contact us immediately and also delete the
communication from your computer. Steps have been taken to ensure this
e-mail is free from computer viruses but the recipient is responsible
for ensuring that it is actually virus free before opening it or any
attachments. Any views and/or opinions expressed in this e-mail are of
the author only and do not represent the views of SAP.

SAP (UK) Limited, Registered in England No. 2152073. Registered Office:
Clockhouse Place, Bedfont Road, Feltham, Middlesex, TW14 8HD
SAP (UK) Limited, Registered in Northern Ireland No. FC004016.
Registered Office: University of Ulster, Shore Road, Newtownabbey, Co.
Antrim, BT37 0QB.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to