From: Jay Anderson Date: Sat, 7 Nov 2009 19:37:15 +0000 (-0800) Subject: Upgrade libjpeg to version 7. X-Git-Url: http://git.megacz.com/?p=nestedvm.git;a=commitdiff_plain;h=a36a2d5426615915e2179c160ab8fdda2a645ab5;ds=sidebyside Upgrade libjpeg to version 7. As I was starting to attempt to compile leptonica and I ran into gcc not being able to find stdint.h. I noticed that the busybox patch included took all stdint.h includes out and re-added all the typedefs that were needed. I'm wondering why this is the case. Why with the default installation can't we include stdint.h (among other headers it seems)? In any case I got parts of it to compile :). Now I need to compile some of the external dependencies (libtiff, libpng, libnetpbm, etc.). I started compiling libjpeg (in the upstream directory) and it looks like there is a newer version: http://www.ijg.org/files/jpegsrc.v7.tar.gz which unfortunately fails to compile. Here's a start at fixing it: --- diff --git a/upstream/Makefile b/upstream/Makefile index 9a5c210..babf385 100644 --- a/upstream/Makefile +++ b/upstream/Makefile @@ -312,7 +312,7 @@ tasks/build_linker: tasks/build_binutils $(root)/src/org/ibex/nestedvm/linker.ld ## libjpeg ############################################################################## -version_libjpeg = 6b +version_libjpeg = 7 url_libjpeg = http://www.ijg.org/files/jpegsrc.v$(version_libjpeg).tar.gz tasks/extract_libjpeg: tasks/download_libjpeg @@ -326,7 +326,7 @@ tasks/extract_libjpeg: tasks/download_libjpeg tasks/build_libjpeg: tasks/patch_libjpeg tasks/build_libc cd build/libjpeg-$(version_libjpeg) && \ - ./configure && \ + ./configure --host=mips && \ make CC="mips-unknown-elf-gcc" \ AR="mips-unknown-elf-ar rc" \ AR2="mips-unknown-elf-ranlib" \