OpenBricks / openbricks

Embedded Linux Framework
http://www.geexbox.org/
GNU General Public License v2.0
82 stars 42 forks source link

png++ build error #29

Closed unixer closed 9 years ago

unixer commented 9 years ago

Hi to all, i have one problem when build these package wen i tipe make for build all version at the package png++ i have these error libpng already installed, skipping... INSTALLDEV png++ PACKAGEDEV png++ BUILD png++ toolchain already installed, skipping... libpng already installed, skipping... eglibc already installed, skipping... libpng already installed, skipping... make[1]: Entering directory '/home/unixer/openbricks/build/build.i386.eglibc/png++-0.2.5' make -C example w -j --jobserver-fds=5,6 make[2]: Entering directory '/home/unixer/openbricks/build/build.i386.eglibc/png++-0.2.5/example' make[2]: * No rule to make target 'w'. Stop. make[2]: Leaving directory '/home/unixer/openbricks/build/build.i386.eglibc/png++-0.2.5/example' Makefile:141: recipe for target 'examples' failed make[1]: * [examples] Error 2 make[1]: Leaving directory '/home/unixer/openbricks/build/build.i386.eglibc/png++-0.2.5' make: *\ [rootfs] Errore 2

if i type these command ./scripts/package png++ the build is ok and i have the package Packaged contents of /root/openbricks/build/build.i386.eglibc/packages/staging/png++ into /root/openbricks/binaries/binaries.i386/packages/png++_0.2.5-1_i686.opk

Why ?

tomlohave commented 9 years ago

Le 05/11/2014 12:16, Unixer a écrit :

Hi to all, i have one problem when build these package wen i tipe make for build all version at the package png++ i have these error libpng already installed, skipping... INSTALLDEV png++ PACKAGEDEV png++ BUILD png++ toolchain already installed, skipping... libpng already installed, skipping... eglibc already installed, skipping... libpng already installed, skipping... make[1]: Entering directory '/home/unixer/openbricks/build/build.i386.eglibc/png++-0.2.5' make -C example w -j --jobserver-fds=5,6 I have this trying to build : make -C example -j --jobserver-fds=5,6

and it works

but : /data/project/openbricks/build/build.i386.eglibc/toolchain/bin/i686-openbricks-linux-gnu-g++ -M -Wall -O3 -fexcess-precision=fast -march=i686 -mtune=generic -fgraphite-identity -ftree-loop-distribution -floop-interchange -floop-strip-mine -floop-block -Wall -pipe -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/data/project/openbricks/build/build.i386.eglibc/toolchain/i686-openbricks-linux-gnu/sysroot/usr/local/include -I/data/project/openbricks/build/build.i386.eglibc/toolchain/i686-openbricks-linux-gnu/sysroot/usr/include -I/usr/local/include -I.. -g pixel_generator.cpp -o- | \ sed 's/(pixel_generator).o[ :]*/\1.o pixel_generator.dep : /g' > pixel_generator.dep

note the : -I/usr/local/include that's wrong ... so something else is broken anyway

in meta file revision should be set to 126 too.

make[2]: Entering directory '/home/unixer/openbricks/build/build.i386.eglibc/png++-0.2.5/example' make[2]: * No rule to make target 'w'. Stop. make[2]: Leaving directory '/home/unixer/openbricks/build/build.i386.eglibc/png++-0.2.5/example' Makefile:141: recipe for target 'examples' failed make[1]: * [examples] Error 2 make[1]: Leaving directory '/home/unixer/openbricks/build/build.i386.eglibc/png++-0.2.5' make: *\ [rootfs] Errore 2

if i type these command ./scripts/package png++ the build is ok and i have the package Packaged contents of /root/openbricks/build/build.i386.eglibc/packages/staging/png++ into /root/openbricks/binaries/binaries.i386/packages/png++_0.2.5-1_i686.opk

Why ?

— Reply to this email directly or view it on GitHub https://github.com/OpenBricks/openbricks/issues/29.

tomlohave commented 9 years ago

Please, try the attached diff

Tom

tomlohave commented 9 years ago

seems attaching a file doesn't work; here is a gist https://gist.github.com/tomlohave/2d9e81d0fdae0c6cc060

unixer commented 9 years ago

Now is ok tnks to @tomlohave