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

Re: [Xen-devel] [stubdom] Makefile configuration failed for user-defined studbom





> At 2016-01-14 21:56:13, Ian Campbell wrote: > > Please don't top post and please don't post HTML mails (use plain text > instead). > >> Hi, Ian >>        The error message is this: >> ``` >> make[2]: Leaving directory `/usr/src/xen-4.6.0/stubdom/libvmi' >> make[1]: Leaving directory `/usr/src/xen-4.6.0/stubdom/libvmi' >> DEF_CPPFLAGS="-isystem /usr/src/xen-4.6.0/stubdom/../extras/mini- >> os/include -D__MINIOS__ -DHAVE_LIBC -isystem /usr/src/xen- >> 4.6.0/stubdom/../extras/mini-os/include/posix -isystem /usr/src/xen- >> 4.6.0/stubdom/../tools/xenstore/include  -isystem /usr/src/xen- >> 4.6.0/stubdom/../extras/mini-os/include/x86 -isystem /usr/src/xen- >> 4.6.0/stubdom/../extras/mini-os/include/x86/x86_64 -U __linux__ -U >> __FreeBSD__ -U __sun__ -nostdinc -isystem /usr/src/xen- >> 4.6.0/stubdom/../extras/mini-os/include/posix -isystem /usr/src/xen- >> 4.6.0/stubdom/cross-root-x86_64/x86_64-xen-elf/include -isystem >> /usr/lib/gcc/x86_64-redhat-linux/4.8.3/include -isystem /usr/src/xen- >> 4.6.0/stubdom/lwip-x86_64/src/include -isystem /usr/src/xen- >> 4.6.0/stubdom/lwip-x86_64/src/include/ipv4 -isystem /usr/src/xen- >> 4.6.0/stubdom/libvmi/libvmi -I/usr/src/xen-4.6.0/stubdom/include >> -I/usr/src/xen-4.6.0/stubdom/../xen/include" DEF_CFLAGS="-mno-red-zone >> -O1 -fno-omit-frame-pointer  -m64 -mno-red-zone -fno-reorder-blocks -fno- >> asynchronous-unwind-tables -m64 -g -fno-strict-aliasing -std=gnu99 -Wall >> -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set- >> variable -Wno-unused-local-typedefs   -fno-stack-protector -fno- >> exceptions" DEF_LDFLAGS="-nostdlib -L/usr/src/xen-4.6.0/stubdom/cross- >> root-x86_64/x86_64-xen-elf/lib" MINIOS_CONFIG="/usr/src/xen- >> 4.6.0/stubdom/libvmi/minios.cfg" make DESTDIR= -C /usr/src/xen- >> 4.6.0/stubdom/../extras/mini-os OBJ_DIR=/usr/src/xen-4.6.0/stubdom/mini- >> os-x86_64-libvmi APP_OBJS=/usr/src/xen- >> 4.6.0/stubdom/libvmi/example/process-list.a >> make[1]: Entering directory `/usr/src/xen-4.6.0/extras/mini-os' >> make[1]: *** No rule to make target `/usr/src/xen- >> 4.6.0/stubdom/libvmi/example/process-list.a', needed by `/usr/src/xen- >> 4.6.0/stubdom/mini-os-x86_64-libvmi/mini-os_app.o'.  Stop. >> make[1]: Leaving directory `/usr/src/xen-4.6.0/extras/mini-os' >> make: *** [libvmi-stubdom] Error 2 >> ``` >>   >> Obviously, It has finished the makefile in /xen/stubdom/libvmi, then it >> goes wrong. > > Why obviously? Does process-list.a actually exist? Is it mentioned in the > libvmi build system? What lead you to pick it as the target to depend on? > > You still haven't posted your patch, please do so. > > Ian.
Hi, Ian
        Thank you for your reply and patience, this is my first time to use mail list. 
When I run make, the object files or executable file are generated in directory libVMI.
So I know the makefile in stubdom/libVMI/ has finished, And I also posted  the diff file 
of stubdom directory which I have make changes on. Please check the attachment.
Thank you again.


 

Attachment: xen-stubdom-makefile.diff
Description: Binary data

_______________________________________________
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®.