[oe] netpbm fails: 'struct jpeg_decompress_struct' has no member named 'min_DCT_scaled_size'

AJ ONeal coolaj86 at gmail.com
Wed Oct 27 23:13:40 UTC 2010


Status update: still can't get it built



bitbake jpeg libpng
bitbake -c configure netpbm

svn checkout http://netpbm.sourceforge.net/subversion.tigris.org
cp -a netpbm/* ./tmp/work/arm*/netpbm*/netpbm*/
bitbake -f -c configure netpbm

bitbake netpbm

and it gets hung up at the end when looking for `ld` it finds it in /usr/bin
instead of in the oe directory

I manually relinked `/usr/bin/ld` temporarily to

/mnt/local/overo-coolaj86/tmp/sysroots/i686-linux/usr/armv7a/arm-angstrom-linux-gnueabi/bin/ld

and it works for netpbm, and then fails for the next package
so I link things back try again
and then back again

but there I got stuck...



For the benefit of others needing netpbm on arm finding this post:

I tried compiling from source natively, but it failed with a flex exec error

I found prebuilt packages at
https://launchpad.net/ubuntu/+source/netpbm-free/2:10.0-12ubuntu2/+build/1547834

I was able to unpack those with file-roller and install them with
tar xf -C / data.tar.gz

but they don't run because they require glibc 2.11

AJ ONeal


On Wed, Oct 27, 2010 at 4:08 PM, AJ ONeal <coolaj86 at gmail.com> wrote:

> The netpbm in the repo is out-of-date with the libjpeg in the repo.
>
>
> | arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon
> -mfloat-abi=softfp -mthumb-interwork -mno-thumb -c
> -I/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/netpbm-10.28-r8/netpbm-10.28/converter/ppm/ppmtompeg
> -I.
> -I/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/netpbm-10.28-r8/netpbm-10.28/converter/ppm/ppmtompeg/headers
> -DNDEBUG \
> |
> -isystem/mnt/local/overo-coolaj86/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include
> -isystem/mnt/local/overo-coolaj86/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include
> -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2
> -ggdb2   -o jpeg.o jpeg.c
>
>
> | jpeg.c: In function 'ReadJPEG':
> | jpeg.c:484: error: 'struct jpeg_decompress_struct' has no member named
> 'min_DCT_scaled_size'
>
>
>
> | make[3]: *** [jpeg.o] Error 1
> | make[3]: Leaving directory
> `/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/netpbm-10.28-r8/netpbm-10.28/converter/ppm/ppmtompeg'
> | make[2]: *** [ppmtompeg/all] Error 2
> | make[2]: Leaving directory
> `/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/netpbm-10.28-r8/netpbm-10.28/converter/ppm'
> | make[1]: *** [ppm/all] Error 2
> | make[1]: Leaving directory
> `/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/netpbm-10.28-r8/netpbm-10.28/converter'
> | make: *** [converter/all] Error 2
> | FATAL: oe_runmake failed
> NOTE: Task failed:
> /mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/netpbm-10.28-r8/temp/log.do_compile.8537
>
> AJ ONeal
>



More information about the Openembedded-devel mailing list