Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] squashfs-tools do not compile
@ 2010-06-16 22:10 Ossy
  2010-06-17 19:57 ` Ossy
  2010-06-17 20:48 ` Peter Korsgaard
  0 siblings, 2 replies; 4+ messages in thread
From: Ossy @ 2010-06-16 22:10 UTC (permalink / raw)
  To: buildroot

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$

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] squashfs-tools do not compile
  2010-06-16 22:10 [Buildroot] squashfs-tools do not compile Ossy
@ 2010-06-17 19:57 ` Ossy
  2010-06-17 20:48 ` Peter Korsgaard
  1 sibling, 0 replies; 4+ messages in thread
From: Ossy @ 2010-06-17 19:57 UTC (permalink / raw)
  To: buildroot

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:
> 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$

-------------- 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>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] squashfs-tools do not compile
  2010-06-16 22:10 [Buildroot] squashfs-tools do not compile Ossy
  2010-06-17 19:57 ` Ossy
@ 2010-06-17 20:48 ` Peter Korsgaard
  2010-06-17 21:35   ` Ossy
  1 sibling, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2010-06-17 20:48 UTC (permalink / raw)
  To: buildroot

>>>>> "Ossy" == Ossy  <ossy1980@gmx.net> 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).

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] squashfs-tools do not compile
  2010-06-17 20:48 ` Peter Korsgaard
@ 2010-06-17 21:35   ` Ossy
  0 siblings, 0 replies; 4+ messages in thread
From: Ossy @ 2010-06-17 21:35 UTC (permalink / raw)
  To: buildroot

Am 17.06.2010 22:48, schrieb Peter Korsgaard:
>>>>>> "Ossy" == Ossy<ossy1980@gmx.net>  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).

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-06-17 21:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-16 22:10 [Buildroot] squashfs-tools do not compile Ossy
2010-06-17 19:57 ` Ossy
2010-06-17 20:48 ` Peter Korsgaard
2010-06-17 21:35   ` Ossy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox