[Nestedvm] Nestedvm Digest, Vol 23, Issue 1

Michaelt 17michaelt at gmail.com
Sun Dec 16 23:05:57 EST 2012


Try to compile without nestedvm first.   After you have a working compiled non nestedvm version, then youll be in a good starting point to review memory.h; otherwise, if you cannot build, you have a missing dependency. 

So basically, you need to find memory.h and find out if its functionality is duplicated in the code and is not necessary or it is necessary and not included in the build path.

I hope this helps. 

-- 
Michaelt


On Sunday, December 16, 2012 at 5:07 AM, nestedvm-request at lists.hcoop.net wrote:

> Send Nestedvm mailing list submissions to
> nestedvm at lists.hcoop.net
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.hcoop.net/listinfo/nestedvm
> or, via email, send a message with subject or body 'help' to
> nestedvm-request at lists.hcoop.net
> 
> You can reach the person managing the list at
> nestedvm-owner at lists.hcoop.net
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Nestedvm digest..."
> 
> 
> Today's Topics:
> 
> 1. memory.h (Pablo Beltran)
> 2. Re: memory.h (Pablo Beltran)
> 3. Re: memory.h (Pablo Beltran)
> 4. Re: memory.h (Pablo Beltran)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Sun, 16 Dec 2012 03:14:38 +0100
> From: Pablo Beltran <pbeltranl at gmail.com>
> Subject: [Nestedvm] memory.h
> To: nestedvm at lists.hcoop.net
> Message-ID:
> <CA+kG3h5M=exSjDz16c61Wj1GR5+p=gyy_SbCM9AuUn8A0sLxgg at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Hi,
> 
> I want to compile the SWFTools project by using the nestedvm compiler. But
> I'm getting problems with the *memory.h* file.
> I've built several 3rd party required libraries (jpeg, freetype, zlib)
> without problems and configured the SWFTools with nestedvm, but when I run
> the *make* command it stops because the memory.h file is missing.
> 
> Well, I found one at the /usr/include, so I added the
> *-I/usr/include*param to the gcc compiler (via Makefile). The missing
> file is already
> found, but tons of errors are then displayed.
> 
> How can it be resolved? I guess that was not the right way to deal with the
> missing memory.h file...
> 
> Many thanks!
> Pablo.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.hcoop.net/pipermail/nestedvm/attachments/20121216/580d7602/attachment-0001.htm 
> 
> ------------------------------
> 
> Message: 2
> Date: Sun, 16 Dec 2012 13:23:00 +0100
> From: Pablo Beltran <pbeltranl at gmail.com>
> Subject: Re: [Nestedvm] memory.h
> To: nestedvm at lists.hcoop.net
> Message-ID:
> <CA+kG3h6oLCWMrDB0ukXpbTGkUd6JDP3DiAdKBgvRFojCzz0EPg at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> This is the error message:
> 
> mips-unknown-elf-gcc -c -DHAVE_CONFIG_H -fPIC -Wimplicit -Wreturn-type
> -Wno-write-strings -Wformat -O -fomit-frame-pointer
> -I/home/pablo/freetype-2.4.10/include -I/home/pablo/jpeg-6b
> -I/home/pablo/zlib-1.2.7 -O3 -mmemcpy -ffunction-sections -fdata-sections
> -falign-functions=512 -fno-rename-registers -fno-schedule-insns
> -fno-delayed-branch -freduce-all-givs modules/swfbits.c -o modules/swfbits.o
> modules/swfbits.c:26:20: memory.h: No such file or directory
> make[1]: *** [modules/swfbits.o] Error 1
> 
> The source code of *swfbits.c*:
> 
> #include <stdlib.h>
> #include <stdio.h>
> *#include <memory.h>*
> #include "../../config.h"
> #ifdef HAVE_ZLIB
> #include <zconf.h>
> #include <zlib.h>
> #endif
> #include <fcntl.h>
> #include <ctype.h>
> ...
> 
> While stdlib.h and stdio.h are provided by the nestedvmt:
> /home/pablo/nestedvm/upstream/build/newlib-1.11.0/newlib/libc/include/stdlib.h
> /home/pablo/nestedvm/upstream/build/newlib-1.11.0/newlib/libc/include/stdio.h
> 
> memory.h not:
> /usr/include/memory.h (and others)
> 
> although there is a similar one at:
> /home/pablo/nestedvm/upstream/build/gcc-3.3.6/libstdc++-v3/include/std/*
> std_memory.h*
> 
> Is memory.h not supported? Does memory.h must be replaced by std_memory.h
> or any similar workaround?'
> 
> Many thanks,
> Pablo.
> 
> 
> 
> 
> 
> 2012/12/16 Pablo Beltran <pbeltranl at gmail.com>
> 
> > Hi,
> > 
> > I want to compile the SWFTools project by using the nestedvm compiler. But
> > I'm getting problems with the *memory.h* file.
> > I've built several 3rd party required libraries (jpeg, freetype, zlib)
> > without problems and configured the SWFTools with nestedvm, but when I run
> > the *make* command it stops because the memory.h file is missing.
> > 
> > Well, I found one at the /usr/include, so I added the *-I/usr/include*param to the gcc compiler (via Makefile). The missing file is already
> > found, but tons of errors are then displayed.
> > 
> > How can it be resolved? I guess that was not the right way to deal with
> > the missing memory.h file...
> > 
> > Many thanks!
> > Pablo.
> > 
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.hcoop.net/pipermail/nestedvm/attachments/20121216/55b508ab/attachment-0001.htm 
> 
> ------------------------------
> 
> Message: 3
> Date: Sun, 16 Dec 2012 13:28:19 +0100
> From: Pablo Beltran <pbeltranl at gmail.com>
> Subject: Re: [Nestedvm] memory.h
> To: nestedvm at lists.hcoop.net
> Message-ID:
> <CA+kG3h4CzR=rW+8-oEa0fYeoBeVvQK0vzJ-j9DFz20TRxgL=og at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Sorry, the right location of stdlib and stdio seems:
> /home/pablo/nestedvm/*upstream/install/mips-unknown-elf/include*/stdio.h
> 
> Anyway, I don't see a easy way to deal with the memory.h problem.
> 
> 
> 2012/12/16 Pablo Beltran <pbeltranl at gmail.com>
> 
> > This is the error message:
> > 
> > mips-unknown-elf-gcc -c -DHAVE_CONFIG_H -fPIC -Wimplicit -Wreturn-type
> > -Wno-write-strings -Wformat -O -fomit-frame-pointer
> > -I/home/pablo/freetype-2.4.10/include -I/home/pablo/jpeg-6b
> > -I/home/pablo/zlib-1.2.7 -O3 -mmemcpy -ffunction-sections -fdata-sections
> > -falign-functions=512 -fno-rename-registers -fno-schedule-insns
> > -fno-delayed-branch -freduce-all-givs modules/swfbits.c -o modules/swfbits.o
> > modules/swfbits.c:26:20: memory.h: No such file or directory
> > make[1]: *** [modules/swfbits.o] Error 1
> > 
> > The source code of *swfbits.c*:
> > 
> > #include <stdlib.h>
> > #include <stdio.h>
> > *#include <memory.h>*
> > #include "../../config.h"
> > #ifdef HAVE_ZLIB
> > #include <zconf.h>
> > #include <zlib.h>
> > #endif
> > #include <fcntl.h>
> > #include <ctype.h>
> > ...
> > 
> > While stdlib.h and stdio.h are provided by the nestedvmt:
> > 
> > /home/pablo/nestedvm/upstream/build/newlib-1.11.0/newlib/libc/include/stdlib.h
> > 
> > /home/pablo/nestedvm/upstream/build/newlib-1.11.0/newlib/libc/include/stdio.h
> > 
> > memory.h not:
> > /usr/include/memory.h (and others)
> > 
> > although there is a similar one at:
> > /home/pablo/nestedvm/upstream/build/gcc-3.3.6/libstdc++-v3/include/std/*
> > std_memory.h*
> > 
> > Is memory.h not supported? Does memory.h must be replaced by std_memory.h
> > or any similar workaround?'
> > 
> > Many thanks,
> > Pablo.
> > 
> > 
> > 
> > 
> > 
> > 2012/12/16 Pablo Beltran <pbeltranl at gmail.com>
> > 
> > > Hi,
> > > 
> > > I want to compile the SWFTools project by using the nestedvm compiler.
> > > But I'm getting problems with the *memory.h* file.
> > > I've built several 3rd party required libraries (jpeg, freetype, zlib)
> > > without problems and configured the SWFTools with nestedvm, but when I run
> > > the *make* command it stops because the memory.h file is missing.
> > > 
> > > Well, I found one at the /usr/include, so I added the *-I/usr/include*param to the gcc compiler (via Makefile). The missing file is already
> > > found, but tons of errors are then displayed.
> > > 
> > > How can it be resolved? I guess that was not the right way to deal with
> > > the missing memory.h file...
> > > 
> > > Many thanks!
> > > Pablo.
> > > 
> > 
> > 
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.hcoop.net/pipermail/nestedvm/attachments/20121216/7b21579d/attachment-0001.htm 
> 
> ------------------------------
> 
> Message: 4
> Date: Sun, 16 Dec 2012 14:07:29 +0100
> From: Pablo Beltran <pbeltranl at gmail.com>
> Subject: Re: [Nestedvm] memory.h
> To: nestedvm at lists.hcoop.net
> Message-ID:
> <CA+kG3h4pk1TYiqWJXZYJXDk_OrGWw7JC=zsmFwogq-w3XkEK5A at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> An a similar problem found while trying to compile a 3rd party optional
> giflib library:
> 
> http://sourceforge.net/projects/giflib/
> 
> It requires stdint.h which is not provided by nestedvm :(
> 
> 
> 2012/12/16 Pablo Beltran <pbeltranl at gmail.com>
> 
> > Sorry, the right location of stdlib and stdio seems:
> > /home/pablo/nestedvm/*upstream/install/mips-unknown-elf/include*/stdio.h
> > 
> > Anyway, I don't see a easy way to deal with the memory.h problem.
> > 
> > 
> > 2012/12/16 Pablo Beltran <pbeltranl at gmail.com>
> > 
> > > This is the error message:
> > > 
> > > mips-unknown-elf-gcc -c -DHAVE_CONFIG_H -fPIC -Wimplicit -Wreturn-type
> > > -Wno-write-strings -Wformat -O -fomit-frame-pointer
> > > -I/home/pablo/freetype-2.4.10/include -I/home/pablo/jpeg-6b
> > > -I/home/pablo/zlib-1.2.7 -O3 -mmemcpy -ffunction-sections -fdata-sections
> > > -falign-functions=512 -fno-rename-registers -fno-schedule-insns
> > > -fno-delayed-branch -freduce-all-givs modules/swfbits.c -o modules/swfbits.o
> > > modules/swfbits.c:26:20: memory.h: No such file or directory
> > > make[1]: *** [modules/swfbits.o] Error 1
> > > 
> > > The source code of *swfbits.c*:
> > > 
> > > #include <stdlib.h>
> > > #include <stdio.h>
> > > *#include <memory.h>*
> > > #include "../../config.h"
> > > #ifdef HAVE_ZLIB
> > > #include <zconf.h>
> > > #include <zlib.h>
> > > #endif
> > > #include <fcntl.h>
> > > #include <ctype.h>
> > > ...
> > > 
> > > While stdlib.h and stdio.h are provided by the nestedvmt:
> > > 
> > > /home/pablo/nestedvm/upstream/build/newlib-1.11.0/newlib/libc/include/stdlib.h
> > > 
> > > /home/pablo/nestedvm/upstream/build/newlib-1.11.0/newlib/libc/include/stdio.h
> > > 
> > > memory.h not:
> > > /usr/include/memory.h (and others)
> > > 
> > > although there is a similar one at:
> > > /home/pablo/nestedvm/upstream/build/gcc-3.3.6/libstdc++-v3/include/std/*
> > > std_memory.h*
> > > 
> > > Is memory.h not supported? Does memory.h must be replaced by
> > > std_memory.h or any similar workaround?'
> > > 
> > > Many thanks,
> > > Pablo.
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 2012/12/16 Pablo Beltran <pbeltranl at gmail.com>
> > > 
> > > > Hi,
> > > > 
> > > > I want to compile the SWFTools project by using the nestedvm compiler.
> > > > But I'm getting problems with the *memory.h* file.
> > > > I've built several 3rd party required libraries (jpeg, freetype, zlib)
> > > > without problems and configured the SWFTools with nestedvm, but when I run
> > > > the *make* command it stops because the memory.h file is missing.
> > > > 
> > > > Well, I found one at the /usr/include, so I added the *-I/usr/include*param to the gcc compiler (via Makefile). The missing file is already
> > > > found, but tons of errors are then displayed.
> > > > 
> > > > How can it be resolved? I guess that was not the right way to deal with
> > > > the missing memory.h file...
> > > > 
> > > > Many thanks!
> > > > Pablo.
> > > > 
> > > 
> > > 
> > 
> > 
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.hcoop.net/pipermail/nestedvm/attachments/20121216/262120a1/attachment.htm 
> 
> ------------------------------
> 
> _______________________________________________
> Nestedvm mailing list
> Nestedvm at lists.hcoop.net
> https://lists.hcoop.net/listinfo/nestedvm
> 
> 
> End of Nestedvm Digest, Vol 23, Issue 1
> ***************************************
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.hcoop.net/pipermail/nestedvm/attachments/20121216/b740c03f/attachment.htm 


More information about the Nestedvm mailing list