Jump to content


Photo

error when build dm7025 image


  • Please log in to reply
25 replies to this topic

#1 vampeta

  • Member
  • 6 posts

0
Neutral

Posted 1 March 2012 - 18:51

hello guys, i have this problem when try to build dm7025 image.. someone can help me?

+ do_compile_kernelmodules
+ unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
+ grep -q -i -e '^CONFIG_MODULES=y$' .config
+ oe_runmake modules 'CC=mipsel-oe-linux-gcc ' 'LD=mipsel-oe-linux-ld --sysroot=/opt/openpli-mipsel/build-dm7025/tmp/sysroots/mipsel-oe-linux '
+ oenote make modules 'CC=mipsel-oe-linux-gcc ' 'LD=mipsel-oe-linux-ld --sysroot=/opt/openpli-mipsel/build-dm7025/tmp/sysroots/mipsel-oe-linux '
+ echo NOTE: 'make modules CC=mipsel-oe-linux-gcc  LD=mipsel-oe-linux-ld --sysroot=/opt/openpli-mipsel/build-dm7025/tmp/sysroots/mipsel-oe-linux '
NOTE: make modules CC=mipsel-oe-linux-gcc  LD=mipsel-oe-linux-ld --sysroot=/opt/openpli-mipsel/build-dm7025/tmp/sysroots/mipsel-oe-linux
+ make modules 'CC=mipsel-oe-linux-gcc ' 'LD=mipsel-oe-linux-ld --sysroot=/opt/openpli-mipsel/build-dm7025/tmp/sysroots/mipsel-oe-linux '
  CHK	 include/linux/version.h
make[1]: `arch/mips/kernel/offset.s' is up to date.
  CC [M]  fs/squashfs/inode.o
In file included from fs/squashfs/inode.c:33:
include/linux/squashfs_fs_sb.h:27:20: error: sqlzma.h: No such file or directory
fs/squashfs/inode.c:47:21: error: sqmagic.h: No such file or directory
fs/squashfs/inode.c:59: error: field 'un' has incomplete type
fs/squashfs/inode.c: In function 'squashfs_read_data':
fs/squashfs/inode.c:274: error: array type has incomplete element type
fs/squashfs/inode.c:327: warning: implicit declaration of function 'sqlzma_un'
fs/squashfs/inode.c:274: warning: unused variable 'sbuf'
fs/squashfs/inode.c: In function 'squashfs_fill_super':
fs/squashfs/inode.c:1196: error: 'SQUASHFS_MAGIC_LZMA_SWAP' undeclared (first use in this function)
fs/squashfs/inode.c:1196: error: (Each undeclared identifier is reported only once
fs/squashfs/inode.c:1196: error: for each function it appears in.)
fs/squashfs/inode.c:1205: error: 'SQUASHFS_MAGIC_LZMA' undeclared (first use in this function)
fs/squashfs/inode.c: In function 'free_sqlzma':
fs/squashfs/inode.c:2320: warning: implicit declaration of function 'sqlzma_fin'
fs/squashfs/inode.c: In function 'init_squashfs_fs':
fs/squashfs/inode.c:2342: warning: implicit declaration of function 'sqlzma_init'
make[2]: *** [fs/squashfs/inode.o] Error 1
make[1]: *** [fs/squashfs] Error 2
make: *** [fs] Error 2
+ die 'oe_runmake failed'
+ oefatal 'oe_runmake failed'
+ echo FATAL: 'oe_runmake failed'
FATAL: oe_runmake failed
+ exit 1


i see this error "...squashfs_fs_sb.h:27:20: error: sqlzma.h: No such file or directory" and put into the folder fs/squashfs the sqlzma.h file but still have error in kernel modules "linux-dm7025-2.6.12.6-r9.3.1: task do_compile_kernelmodules: Failed"

+ do_compile_kernelmodules
+ unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
+ grep -q -i -e '^CONFIG_MODULES=y$' .config
+ oe_runmake modules 'CC=mipsel-oe-linux-gcc ' 'LD=mipsel-oe-linux-ld --sysroot=/opt/openpli-mipsel/build-dm7025/tmp/sysroots/mipsel-oe-linux '
+ oenote make modules 'CC=mipsel-oe-linux-gcc ' 'LD=mipsel-oe-linux-ld --sysroot=/opt/openpli-mipsel/build-dm7025/tmp/sysroots/mipsel-oe-linux '
+ echo NOTE: 'make modules CC=mipsel-oe-linux-gcc  LD=mipsel-oe-linux-ld --sysroot=/opt/openpli-mipsel/build-dm7025/tmp/sysroots/mipsel-oe-linux '
NOTE: make modules CC=mipsel-oe-linux-gcc  LD=mipsel-oe-linux-ld --sysroot=/opt/openpli-mipsel/build-dm7025/tmp/sysroots/mipsel-oe-linux
+ make modules 'CC=mipsel-oe-linux-gcc ' 'LD=mipsel-oe-linux-ld --sysroot=/opt/openpli-mipsel/build-dm7025/tmp/sysroots/mipsel-oe-linux '
  CHK	 include/linux/version.h
make[1]: `arch/mips/kernel/offset.s' is up to date.
  CC [M]  fs/squashfs/inode.o
  CC [M]  fs/squashfs/squashfs2_0.o
  LD [M]  fs/squashfs/squashfs.o
  Building modules, stage 2.
  MODPOST
*** Warning: "sqlzma_fin" [fs/squashfs/squashfs.ko] undefined!
*** Warning: "sqlzma_un" [fs/squashfs/squashfs.ko] undefined!
*** Warning: "sqlzma_init" [fs/squashfs/squashfs.ko] undefined!
  CC	  fs/squashfs/squashfs.mod.o
  LD [M]  fs/squashfs/squashfs.ko
+ patch -d /opt/openpli-mipsel/build-dm7025/tmp/work/dm7025-oe-linux/linux-dm7025-2.6.12.6-r9.3.1/linux-2.6.12.6 -p1
patching file fs/squashfs/inode.c
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
17 out of 17 hunks ignored -- saving rejects to file fs/squashfs/inode.c.rej
patching file include/linux/squashfs_fs_sb.h
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file include/linux/squashfs_fs_sb.h.rej


with another machine like vusolo everything be done without problem

Re: error when build dm7025 image #2 Sjaaky

  • Senior Member
  • 7,443 posts

+41
Good

Posted 1 March 2012 - 19:49

The easiest solution is to delete the tmp dir and start the build again. The more complicated solution involves -c clean'ing the appropiate packages, like the kernel. But I don't know which ones precisely.

Re: error when build dm7025 image #3 vampeta

  • Member
  • 6 posts

0
Neutral

Posted 2 March 2012 - 09:28

ok thx.. i will do

Re: error when build dm7025 image #4 vampeta

  • Member
  • 6 posts

0
Neutral

Posted 2 March 2012 - 10:25

mhh same error.. ;( ERROR: Function 'do_compile_kernelmodules' failed

Edited by vampeta, 2 March 2012 - 10:25.


Re: error when build dm7025 image #5 MiLo

  • PLi® Core member
  • 14,055 posts

+298
Excellent

Posted 2 March 2012 - 15:43

You may be suffering from the same problem as I do... And I also never solved it.

You have a recent Ubuntu 11.x by any chance?

So far, I've just managed by building with "-k" so that I get a working feed, and then just "upgrade" the box. I used a prebuilt image to flash it, then set the feed locations in /etc/opkg to point to my own server.
Real musicians never die - they just decompose

Re: error when build dm7025 image #6 vampeta

  • Member
  • 6 posts

0
Neutral

Posted 2 March 2012 - 15:58

yes xubuntu 11.10

Re: error when build dm7025 image #7 mrk72

  • Member
  • 39 posts

+10
Neutral

Posted 29 April 2012 - 16:56

Your missing "sqlzma.h file comes with a patch packages, which is broken by now.

Try this patch here #18

Re: error when build dm7025 image #8 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 17 May 2012 - 04:42

i can't compile for dm7025 too

Build Configuration:
BB_VERSION	    = "1.12.0"
METADATA_BRANCH   = "master"
METADATA_REVISION = "1b785a0"
TARGET_ARCH	   = "mipsel"
TARGET_OS		 = "linux"
MACHINE		   = "dm7025"
DISTRO		    = "openpli"
DISTRO_VERSION    = "2.1"
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Running task 396 of 2811 (ID: 1527, /media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/openembedded/recipes/glib-2.0/glib-2.0_2.26.1.bb, do_install)
NOTE: Running task 531 of 2811 (ID: 2442, /media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/openembedded/recipes/popt/popt_1.14.bb, do_populate_sysroot)
NOTE: package glib-2.0-2.26.1-r3: task do_install: Started
NOTE: Running task 570 of 2811 (ID: 1767, /media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/openembedded/recipes/flac/flac_1.2.1.bb, do_install)
NOTE: package popt-1.14-r3.0: task do_populate_sysroot: Started
NOTE: Running task 824 of 2811 (ID: 2802, /media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/openembedded/recipes/libgpg-error/libgpg-error_1.4.bb, do_populate_sysroot)
NOTE: package flac-1.2.1-r2.2: task do_install: Started
NOTE: Running task 837 of 2811 (ID: 2496, /media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/openembedded/recipes/udev/attr_2.4.44.bb, do_compile)
NOTE: package libgpg-error-1.4-r7.1: task do_populate_sysroot: Started
NOTE: Running task 846 of 2811 (ID: 2449, /media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/openembedded/recipes/popt/popt_1.14.bb, do_package)
NOTE: package attr-2.4.44-r4: task do_compile: Started
NOTE: Running task 1013 of 2811 (ID: 559, /media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/openembedded/recipes/linux/linux-dm7025.bb, do_compile_kernelmodules)
NOTE: package popt-1.14-r3.0: task do_package: Started
NOTE: Running task 1047 of 2811 (ID: 290, /media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/openembedded/recipes/util-linux-ng/util-linux-ng_2.18.bb, do_compile)
NOTE: package linux-dm7025-2.6.12.6-r9.3.1: task do_compile_kernelmodules: Started
NOTE: package util-linux-ng-2.18-r36.0: task do_compile: Started
NOTE: package libgpg-error-1.4-r7.1: task do_populate_sysroot: Succeeded
NOTE: package popt-1.14-r3.0: task do_populate_sysroot: Succeeded
NOTE: Running task 1100 of 2811 (ID: 2809, /media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/openembedded/recipes/libgpg-error/libgpg-error_1.4.bb, do_package)
NOTE: Running task 1101 of 2811 (ID: 2759, /media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/openembedded/recipes/libgcrypt/libgcrypt_1.4.1.bb, do_configure)
NOTE: package libgpg-error-1.4-r7.1: task do_package: Started
NOTE: package libgcrypt-1.4.1-r0: task do_configure: Started
NOTE: package popt-1.14-r3.0: task do_package: Succeeded
NOTE: Running task 1160 of 2811 (ID: 1271, /media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/openembedded/recipes/python/python-wifi_0.5.0.bb, do_package)
NOTE: package python-wifi-0.5.0-r0: task do_package: Started
ERROR: Logfile of failure stored in: /media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/build-dm7025/tmp/work/dm7025-oe-linux/linux-dm7025-2.6.12.6-r9.3.1/temp/log.do_compile_kernelmodules.4156
Log data follows:
| + do_compile_kernelmodules
| + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
| + grep -q -i -e '^CONFIG_MODULES=y$' .config
| + oe_runmake modules 'CC=mipsel-oe-linux-gcc ' 'LD=mipsel-oe-linux-ld --sysroot=/media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/build-dm7025/tmp/sysroots/mipsel-oe-linux '
| + oenote make modules 'CC=mipsel-oe-linux-gcc ' 'LD=mipsel-oe-linux-ld --sysroot=/media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/build-dm7025/tmp/sysroots/mipsel-oe-linux '
| + echo NOTE: 'make modules CC=mipsel-oe-linux-gcc  LD=mipsel-oe-linux-ld --sysroot=/media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/build-dm7025/tmp/sysroots/mipsel-oe-linux '
| NOTE: make modules CC=mipsel-oe-linux-gcc  LD=mipsel-oe-linux-ld --sysroot=/media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/build-dm7025/tmp/sysroots/mipsel-oe-linux
| + make modules 'CC=mipsel-oe-linux-gcc ' 'LD=mipsel-oe-linux-ld --sysroot=/media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/build-dm7025/tmp/sysroots/mipsel-oe-linux '
|   CHK	 include/linux/version.h
| make[1]: `arch/mips/kernel/offset.s' is up to date.
|   CC [M]  fs/squashfs/inode.o
| In file included from fs/squashfs/inode.c:33:
| include/linux/squashfs_fs_sb.h:27:20: error: sqlzma.h: No such file or directory
| fs/squashfs/inode.c:47:21: error: sqmagic.h: No such file or directory
| fs/squashfs/inode.c:59: error: field 'un' has incomplete type
| fs/squashfs/inode.c: In function 'squashfs_read_data':
| fs/squashfs/inode.c:274: error: array type has incomplete element type
| fs/squashfs/inode.c:327: warning: implicit declaration of function 'sqlzma_un'
| fs/squashfs/inode.c:274: warning: unused variable 'sbuf'
| fs/squashfs/inode.c: In function 'squashfs_fill_super':
| fs/squashfs/inode.c:1196: error: 'SQUASHFS_MAGIC_LZMA_SWAP' undeclared (first use in this function)
| fs/squashfs/inode.c:1196: error: (Each undeclared identifier is reported only once
| fs/squashfs/inode.c:1196: error: for each function it appears in.)
| fs/squashfs/inode.c:1205: error: 'SQUASHFS_MAGIC_LZMA' undeclared (first use in this function)
| fs/squashfs/inode.c: In function 'free_sqlzma':
| fs/squashfs/inode.c:2320: warning: implicit declaration of function 'sqlzma_fin'
| fs/squashfs/inode.c: In function 'init_squashfs_fs':
| fs/squashfs/inode.c:2342: warning: implicit declaration of function 'sqlzma_init'
| make[2]: *** [fs/squashfs/inode.o] Error 1
| make[1]: *** [fs/squashfs] Error 2
| make: *** [fs] Error 2
| + die 'oe_runmake failed'
| + oefatal 'oe_runmake failed'
| + echo FATAL: 'oe_runmake failed'
| FATAL: oe_runmake failed
| + exit 1
NOTE: package linux-dm7025-2.6.12.6-r9.3.1: task do_compile_kernelmodules: Failed
ERROR: Function 'do_compile_kernelmodules' failed (see /media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/build-dm7025/tmp/work/dm7025-oe-linux/linux-dm7025-2.6.12.6-r9.3.1/temp/log.do_compile_kernelmodules.4156 for further information)
ERROR: Task 559 (/media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/openembedded/recipes/linux/linux-dm7025.bb, do_compile_kernelmodules) failed with exit code '1'
Waiting for 7 active tasks to finish:
0: util-linux-ng-2.18-r36.0 do_compile (pid 4347)
1: glib-2.0-2.26.1-r3 do_install (pid 3560)
2: python-wifi-0.5.0-r0 do_package (pid 5769)
3: attr-2.4.44-r4 do_compile (pid 3791)
4: flac-1.2.1-r2.2 do_install (pid 3635)
5: libgpg-error-1.4-r7.1 do_package (pid 4533)
6: libgcrypt-1.4.1-r0 do_configure (pid 4605)
Waiting for 6 active tasks to finish:
0: util-linux-ng-2.18-r36.0 do_compile (pid 4347)
1: glib-2.0-2.26.1-r3 do_install (pid 3560)
2: attr-2.4.44-r4 do_compile (pid 3791)
3: flac-1.2.1-r2.2 do_install (pid 3635)
4: libgpg-error-1.4-r7.1 do_package (pid 4533)
5: libgcrypt-1.4.1-r0 do_configure (pid 4605)
NOTE: package python-wifi-0.5.0-r0: task do_package: Succeeded
Waiting for 5 active tasks to finish:
0: util-linux-ng-2.18-r36.0 do_compile (pid 4347)
1: glib-2.0-2.26.1-r3 do_install (pid 3560)
2: attr-2.4.44-r4 do_compile (pid 3791)
3: flac-1.2.1-r2.2 do_install (pid 3635)
4: libgcrypt-1.4.1-r0 do_configure (pid 4605)
NOTE: package libgpg-error-1.4-r7.1: task do_package: Succeeded
Waiting for 4 active tasks to finish:
0: util-linux-ng-2.18-r36.0 do_compile (pid 4347)
1: glib-2.0-2.26.1-r3 do_install (pid 3560)
2: flac-1.2.1-r2.2 do_install (pid 3635)
3: libgcrypt-1.4.1-r0 do_configure (pid 4605)
NOTE: package attr-2.4.44-r4: task do_compile: Succeeded
Waiting for 3 active tasks to finish:
0: util-linux-ng-2.18-r36.0 do_compile (pid 4347)
1: glib-2.0-2.26.1-r3 do_install (pid 3560)
2: libgcrypt-1.4.1-r0 do_configure (pid 4605)
NOTE: package flac-1.2.1-r2.2: task do_install: Succeeded
Waiting for 2 active tasks to finish:
0: glib-2.0-2.26.1-r3 do_install (pid 3560)
1: libgcrypt-1.4.1-r0 do_configure (pid 4605)
NOTE: package util-linux-ng-2.18-r36.0: task do_compile: Succeeded
Waiting for 1 active tasks to finish:
0: libgcrypt-1.4.1-r0 do_configure (pid 4605)
NOTE: package glib-2.0-2.26.1-r3: task do_install: Succeeded
NOTE: package libgcrypt-1.4.1-r0: task do_configure: Succeeded
ERROR: '/media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/openembedded/recipes/linux/linux-dm7025.bb' failed
make: *** [image] Error 1

Open Vision sources: https://github.com/OpenVisionE2


Re: error when build dm7025 image #9 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 17 May 2012 - 05:15

fix_lzma_squashfs_makefiles_for_oe-r2.patch.bz2
inotify-0.23-rml-2.6.12-15.patch
sqlzma2k-3.2-r2-2.6.12.6.patch.bz2
sqlzma3.2-r2b.tar.bz2
squashfs3.2-r2.tar.gz
linuxmips-2.6.12-dream-r6.patch.bz2
linux-2.6.12-dvbapi-pilot-rolloff-extension-r0.patch.bz2
linux-2.6.12-dvb-core-fix-several-locking-problems.patch.bz2
linux-2.6.12-dvb-multipid-r4.patch.bz2
linux-2.6.12-update_dvbapi-r1.patch.bz2
linux-2.6.12-update-wireless.patch.bz2

packages are present

also : http://openpli.org/f...a-dm7025-image/

Open Vision sources: https://github.com/OpenVisionE2


Re: error when build dm7025 image #10 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 18 May 2012 - 11:49

I've been getting this "FETCH" error for ages now:

ERROR: Function 'Fetch failed: Unable to fetch URL ftp://ftp.slax.org/source/slax/sqlzma/old-versions-unsupported/sqlzma443/sqlzma3.2-r2b.tar.bz2;apply=no from any source.' failed

I've downloaded the same file from another source but that broke the whole build, apparently there are more versions of the same file..

If Persian Prince has the proper version, I think we should modify our OE to get it from there? ftp.slax.org won't be working at all!

Edited by Erik Slagter, 18 May 2012 - 11:49.

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: error when build dm7025 image #11 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 18 May 2012 - 12:16

i'm using this file but i can't compile an image for dm7025 (as i wrote above)

Edited by Persian Prince, 18 May 2012 - 12:16.

Open Vision sources: https://github.com/OpenVisionE2


Re: error when build dm7025 image #12 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 18 May 2012 - 14:41

That means that probably when I have this file, I will get to this error as well :( Where did you get the file from? I suspect there are two versions of this file going around :mellow: because I got it from an alternative source as well.

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: error when build dm7025 image #13 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 18 May 2012 - 15:46

i got it from http://ftp2.debian.c...ions/sqlzma443/

i'm building from the begining :(

Open Vision sources: https://github.com/OpenVisionE2


Re: error when build dm7025 image #14 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 18 May 2012 - 15:51

I have done that many times (build from scratch...) for the dm7025, never got it working.

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: error when build dm7025 image #15 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 18 May 2012 - 16:00

we have to find a way to get it working cause dmm doesn't care about this box and since closed e2 published this box did not receive any good image

Open Vision sources: https://github.com/OpenVisionE2


Re: error when build dm7025 image #16 hemispherical1

  • Senior Member
  • 1,596 posts

+49
Good

Posted 18 May 2012 - 17:26

Wouldn't a "proper" working version be located on the build server? Maybe Peter or someone can provide it?

--
hemi

Re: error when build dm7025 image #17 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 18 May 2012 - 17:38

again :

Build Configuration:
BB_VERSION	    = "1.12.0"
METADATA_BRANCH   = "master"
METADATA_REVISION = "9b13935"
TARGET_ARCH	   = "mipsel"
TARGET_OS		 = "linux"
MACHINE		   = "dm7025"
DISTRO		    = "openpli"
DISTRO_VERSION    = "2.1"
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Running task 395 of 2811 (ID: 1534, /media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/openembedded/recipes/glib-2.0/glib-2.0_2.26.1.bb, do_compile)
NOTE: Running task 506 of 2811 (ID: 2448, /media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/openembedded/recipes/popt/popt_1.14.bb, do_compile)
NOTE: package glib-2.0-2.26.1-r3: task do_compile: Started
NOTE: Running task 566 of 2811 (ID: 1774, /media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/openembedded/recipes/flac/flac_1.2.1.bb, do_compile)
NOTE: package popt-1.14-r3.0: task do_compile: Started
NOTE: Running task 813 of 2811 (ID: 2807, /media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/openembedded/recipes/libgpg-error/libgpg-error_1.4.bb, do_configure)
NOTE: package flac-1.2.1-r2.2: task do_compile: Started
NOTE: Running task 829 of 2811 (ID: 2495, /media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/openembedded/recipes/udev/attr_2.4.44.bb, do_configure)
NOTE: Running task 885 of 2811 (ID: 673, /media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/openembedded/recipes/python/python-twisted_8.2.0.bb, do_install)
NOTE: Running task 926 of 2811 (ID: 1263, /media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/openembedded/recipes/python/python-wifi_0.5.0.bb, do_install)
NOTE: package libgpg-error-1.4-r7.1: task do_configure: Started
NOTE: package python-twisted-8.2.0-r4: task do_install: Started
NOTE: Running task 942 of 2811 (ID: 1191, /media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/openembedded/recipes/python/python-imaging_1.1.6.bb, do_install)
NOTE: package attr-2.4.44-r4: task do_configure: Started
NOTE: package python-wifi-0.5.0-r0: task do_install: Started
NOTE: package python-imaging-1.1.6-ml2: task do_install: Started
NOTE: package python-wifi-0.5.0-r0: task do_install: Succeeded
NOTE: Running task 976 of 2811 (ID: 1264, /media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/openembedded/recipes/python/python-wifi_0.5.0.bb, do_populate_sysroot)
NOTE: package python-wifi-0.5.0-r0: task do_populate_sysroot: Started
NOTE: package python-imaging-1.1.6-ml2: task do_install: Succeeded
NOTE: Running task 980 of 2811 (ID: 1192, /media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/openembedded/recipes/python/python-imaging_1.1.6.bb, do_populate_sysroot)
NOTE: package python-wifi-0.5.0-r0: task do_populate_sysroot: Succeeded
NOTE: Running task 1003 of 2811 (ID: 559, /media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/openembedded/recipes/linux/linux-dm7025.bb, do_compile_kernelmodules)
NOTE: package popt-1.14-r3.0: task do_compile: Succeeded
NOTE: package python-imaging-1.1.6-ml2: task do_populate_sysroot: Started
NOTE: Running task 1004 of 2811 (ID: 2441, /media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/openembedded/recipes/popt/popt_1.14.bb, do_install)
NOTE: package linux-dm7025-2.6.12.6-r9.3.1: task do_compile_kernelmodules: Started
NOTE: package popt-1.14-r3.0: task do_install: Started
NOTE: package python-imaging-1.1.6-ml2: task do_populate_sysroot: Succeeded
NOTE: Running task 1037 of 2811 (ID: 289, /media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/openembedded/recipes/util-linux-ng/util-linux-ng_2.18.bb, do_configure)
NOTE: package util-linux-ng-2.18-r36.0: task do_configure: Started
ERROR: Logfile of failure stored in: /media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/build-dm7025/tmp/work/dm7025-oe-linux/linux-dm7025-2.6.12.6-r9.3.1/temp/log.do_compile_kernelmodules.28240
Log data follows:
| + do_compile_kernelmodules
| + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
| + grep -q -i -e '^CONFIG_MODULES=y$' .config
| + oe_runmake modules 'CC=mipsel-oe-linux-gcc ' 'LD=mipsel-oe-linux-ld --sysroot=/media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/build-dm7025/tmp/sysroots/mipsel-oe-linux '
| + oenote make modules 'CC=mipsel-oe-linux-gcc ' 'LD=mipsel-oe-linux-ld --sysroot=/media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/build-dm7025/tmp/sysroots/mipsel-oe-linux '
| + echo NOTE: 'make modules CC=mipsel-oe-linux-gcc  LD=mipsel-oe-linux-ld --sysroot=/media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/build-dm7025/tmp/sysroots/mipsel-oe-linux '
| NOTE: make modules CC=mipsel-oe-linux-gcc  LD=mipsel-oe-linux-ld --sysroot=/media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/build-dm7025/tmp/sysroots/mipsel-oe-linux
| + make modules 'CC=mipsel-oe-linux-gcc ' 'LD=mipsel-oe-linux-ld --sysroot=/media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/build-dm7025/tmp/sysroots/mipsel-oe-linux '
|   CHK	 include/linux/version.h
| make[1]: `arch/mips/kernel/offset.s' is up to date.
|   CC [M]  fs/squashfs/inode.o
| In file included from fs/squashfs/inode.c:33:
| include/linux/squashfs_fs_sb.h:27:20: error: sqlzma.h: No such file or directory
| fs/squashfs/inode.c:47:21: error: sqmagic.h: No such file or directory
| fs/squashfs/inode.c:59: error: field 'un' has incomplete type
| fs/squashfs/inode.c: In function 'squashfs_read_data':
| fs/squashfs/inode.c:274: error: array type has incomplete element type
| fs/squashfs/inode.c:327: warning: implicit declaration of function 'sqlzma_un'
| fs/squashfs/inode.c:274: warning: unused variable 'sbuf'
| fs/squashfs/inode.c: In function 'squashfs_fill_super':
| fs/squashfs/inode.c:1196: error: 'SQUASHFS_MAGIC_LZMA_SWAP' undeclared (first use in this function)
| fs/squashfs/inode.c:1196: error: (Each undeclared identifier is reported only once
| fs/squashfs/inode.c:1196: error: for each function it appears in.)
| fs/squashfs/inode.c:1205: error: 'SQUASHFS_MAGIC_LZMA' undeclared (first use in this function)
| fs/squashfs/inode.c: In function 'free_sqlzma':
| fs/squashfs/inode.c:2320: warning: implicit declaration of function 'sqlzma_fin'
| fs/squashfs/inode.c: In function 'init_squashfs_fs':
| fs/squashfs/inode.c:2342: warning: implicit declaration of function 'sqlzma_init'
| make[2]: *** [fs/squashfs/inode.o] Error 1
| make[1]: *** [fs/squashfs] Error 2
| make: *** [fs] Error 2
| + die 'oe_runmake failed'
| + oefatal 'oe_runmake failed'
| + echo FATAL: 'oe_runmake failed'
| FATAL: oe_runmake failed
| + exit 1
NOTE: package linux-dm7025-2.6.12.6-r9.3.1: task do_compile_kernelmodules: Failed
ERROR: Function 'do_compile_kernelmodules' failed (see /media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/build-dm7025/tmp/work/dm7025-oe-linux/linux-dm7025-2.6.12.6-r9.3.1/temp/log.do_compile_kernelmodules.28240 for further information)
ERROR: Task 559 (/media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/openembedded/recipes/linux/linux-dm7025.bb, do_compile_kernelmodules) failed with exit code '1'
Waiting for 7 active tasks to finish:
0: libgpg-error-1.4-r7.1 do_configure (pid 27010)
1: attr-2.4.44-r4 do_configure (pid 27173)
2: python-twisted-8.2.0-r4 do_install (pid 27221)
3: flac-1.2.1-r2.2 do_compile (pid 26884)
4: popt-1.14-r3.0 do_install (pid 28255)
5: glib-2.0-2.26.1-r3 do_compile (pid 26524)
6: util-linux-ng-2.18-r36.0 do_configure (pid 28350)
Waiting for 6 active tasks to finish:
0: libgpg-error-1.4-r7.1 do_configure (pid 27010)
1: attr-2.4.44-r4 do_configure (pid 27173)
2: python-twisted-8.2.0-r4 do_install (pid 27221)
3: flac-1.2.1-r2.2 do_compile (pid 26884)
4: glib-2.0-2.26.1-r3 do_compile (pid 26524)
5: util-linux-ng-2.18-r36.0 do_configure (pid 28350)
NOTE: package popt-1.14-r3.0: task do_install: Succeeded
Waiting for 5 active tasks to finish:
0: libgpg-error-1.4-r7.1 do_configure (pid 27010)
1: attr-2.4.44-r4 do_configure (pid 27173)
2: flac-1.2.1-r2.2 do_compile (pid 26884)
3: glib-2.0-2.26.1-r3 do_compile (pid 26524)
4: util-linux-ng-2.18-r36.0 do_configure (pid 28350)
NOTE: package python-twisted-8.2.0-r4: task do_install: Succeeded
Waiting for 4 active tasks to finish:
0: libgpg-error-1.4-r7.1 do_configure (pid 27010)
1: flac-1.2.1-r2.2 do_compile (pid 26884)
2: glib-2.0-2.26.1-r3 do_compile (pid 26524)
3: util-linux-ng-2.18-r36.0 do_configure (pid 28350)
NOTE: package attr-2.4.44-r4: task do_configure: Succeeded
Waiting for 3 active tasks to finish:
0: libgpg-error-1.4-r7.1 do_configure (pid 27010)
1: glib-2.0-2.26.1-r3 do_compile (pid 26524)
2: util-linux-ng-2.18-r36.0 do_configure (pid 28350)
NOTE: package flac-1.2.1-r2.2: task do_compile: Succeeded
Waiting for 2 active tasks to finish:
0: glib-2.0-2.26.1-r3 do_compile (pid 26524)
1: util-linux-ng-2.18-r36.0 do_configure (pid 28350)
NOTE: package libgpg-error-1.4-r7.1: task do_configure: Succeeded
Waiting for 1 active tasks to finish:
0: util-linux-ng-2.18-r36.0 do_configure (pid 28350)
NOTE: package glib-2.0-2.26.1-r3: task do_compile: Succeeded
NOTE: package util-linux-ng-2.18-r36.0: task do_configure: Succeeded
ERROR: '/media/af3fca50-6176-4087-aaaf-a9187fc363ea/openpli/openembedded/recipes/linux/linux-dm7025.bb' failed
make: *** [image] Error 1

Open Vision sources: https://github.com/OpenVisionE2


Re: error when build dm7025 image #18 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 18 May 2012 - 17:57

That's exactly the same error as I get with the relevant file from an alternative source. I feel the alternative file has something strange...

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: error when build dm7025 image #19 mrk72

  • Member
  • 39 posts

+10
Neutral

Posted 18 May 2012 - 18:14

Did You try the patch I quoted in Post #7 ?

Re: error when build dm7025 image #20 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 18 May 2012 - 18:33

yes same version

i did some experiments :

copy sqlzma.h to

/build-dm7025/tmp/work/dm7025-oe-linux/linux-dm7025-2.6.12.6-r9.3.1/linux-2.6.12.6/include/linux/

then copy sqlzma.h and sqmagic.h to

/build-dm7025/tmp/work/dm7025-oe-linux/linux-dm7025-2.6.12.6-r9.3.1/linux-2.6.12.6/fs/squashfs/

then run "make -f Makefile-2.1"

you'll see another errors but with compiled files

Open Vision sources: https://github.com/OpenVisionE2



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users