Skip to contentSkip to conversation

squashfs-tools do not compile

Buildroot Ossy 2 participants 4 messages Jun 16, 2010 – Jun 17, 2010

lore
Share & tools
lore

Ossy

author
#0 lore raw

Dear buildrootmailinglist,

The squashfs-tools do not compile. I use arm926t as build target. I haven't found a bug in the database.

Kind regards,
Marcus

/home/ossy/buildroot/buildroot-dev/output/staging/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc -L/home/ossy/buildroot/buildroot-dev/output/st
aging/lib -L/home/ossy/buildroot/buildroot-dev/output/staging/usr/lib --sysroot=/home/ossy/buildroot/buildroot-dev/output/staging/ mksquashf
s.o read_fs.o sort.o swap.o pseudo.o -lz -lpthread -lm -o mksquashfs mksquashfs.o: In function `initialise_threads':
mksquashfs.c:(.text+0x1d74): undefined reference to `get_nprocs'
collect2: ld returned 1 exit status
make[1]: *** [mksquashfs] Fehler 1
make[1]: Leaving directory `/home/ossy/buildroot/buildroot-dev/output/build/squashfs-4.0/squashfs-tools'
make: *** [/home/ossy/buildroot/buildroot-dev/output/build/squashfs-4.0/.stamp_built] Fehler 2
ossy at debian-virtual:~/buildroot/buildroot-dev$

ossy at debian-virtual:~/buildroot/buildroot-dev$ cat .git/FETCH_HEAD
5fd095b3748115d7cbe89524332e4b310550b7c3 branch 'master'
of http://git.buildroot.net/buildroot
ossy at debian-virtual:~/buildroot/buildroot-dev$

author
#1 lore raw

Hi mailinglist,

Is someone one able to confirm, that squashfstools cannot be linked for arm? Please find attached my configurations.

Kind regards,
Marcus

Am 17.06.2010 00:10, schrieb Ossy:

Quoted 26 lines

Dear buildrootmailinglist,

The squashfs-tools do not compile. I use arm926t as build target. I haven't found a bug in the database.

Kind regards,
Marcus

/home/ossy/buildroot/buildroot-dev/output/staging/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc -L/home/ossy/buildroot/buildroot-dev/output/st
aging/lib -L/home/ossy/buildroot/buildroot-dev/output/staging/usr/lib --sysroot=/home/ossy/buildroot/buildroot-dev/output/staging/ mksquashf
s.o read_fs.o sort.o swap.o pseudo.o -lz -lpthread -lm -o mksquashfs mksquashfs.o: In function `initialise_threads':
mksquashfs.c:(.text+0x1d74): undefined reference to `get_nprocs'
collect2: ld returned 1 exit status
make[1]: *** [mksquashfs] Fehler 1
make[1]: Leaving directory `/home/ossy/buildroot/buildroot-dev/output/build/squashfs-4.0/squashfs-tools'

make: *** [/home/ossy/buildroot/buildroot-dev/output/build/squashfs-4.0/.stamp_built] Fehler 2
ossy at debian-virtual:~/buildroot/buildroot-dev$

Quoted 4 lines

ossy at debian-virtual:~/buildroot/buildroot-dev$ cat .git/FETCH_HEAD 5fd095b3748115d7cbe89524332e4b310550b7c3 branch 'master' of
http://git.buildroot.net/buildroot
ossy at debian-virtual:~/buildroot/buildroot-dev$

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config-buildroot
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100617/0b895321/attachment-0004.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config-busybox
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100617/0b895321/attachment-0005.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config-uclibc
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100617/0b895321/attachment-0006.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: FETCH_HEAD
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100617/0b895321/attachment-0007.ksh>

#2 lore raw
In reply to Ossy
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Ossy" == Ossy <[email protected]> writes:

Ossy> Dear buildrootmailinglist,
Ossy> The squashfs-tools do not compile. I use arm926t as build target. Ossy> I haven't found a bug in the database.

Are you sure you want to build squashfs-tools FOR your target? Normally you just create filesystems on your host (E.G. using buildroot), and then read them on the target. The squashfs package is to get mksquashfs / unsquashfs to run on the target.

Anyway, the issue was that squashfs-tools used the GNU extension get_nprocs() - I have fixed it in git (dfa2a513e).

Signature · 1 line
Bye, Peter Korsgaard
author
#3 lore raw

Am 17.06.2010 22:48, schrieb Peter Korsgaard:

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Ossy" == Ossy<[email protected]> writes:

  Ossy>  Dear buildrootmailinglist,
  Ossy>  The squashfs-tools do not compile. I use arm926t as build target.
  Ossy>  I haven't found a bug in the database.
Quoted 7 lines

Are you sure you want to build squashfs-tools FOR your target? Normally you just create filesystems on your host (E.G. using buildroot), and then read them on the target. The squashfs package is to get mksquashfs / unsquashfs to run on the target.

Anyway, the issue was that squashfs-tools used the GNU extension get_nprocs() - I have fixed it in git (dfa2a513e).

Yes, you are right. Once I would have built the squash-rootfs I won't need to make a squashfs anymore. But nevertheless I'm on the safe side if I like to create one on a free mtd-block in some unusual situation.