From: Cyril HAENEL <chaenel@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] 2009.02-rc2 released
Date: Mon, 26 Jan 2009 09:48:18 +0100 [thread overview]
Message-ID: <497D78D2.2040404@free.fr> (raw)
In-Reply-To: <87wscid33u.fsf@macbook.be.48ers.dk>
Peter Korsgaard a ?crit :
>>>>>> "Paul" == Paul Jones <paul.jones@iwtech.com.au> writes:
>>>>>>
>
> Paul> Ulf Samuelsson wrote:
> >>
> >> Now it works, regardless if you have X or not.
> >> so we and the user do not have to choose.
> >>
> >> If X is available you have a better experience.
>
> Paul> I should just point out that my build system is a Gentoo64
> Paul> server via SSH, my desktop is usually Windows. I'd much prefer
> Paul> to use X myself but don't relay have a choice.
>
> Exactly. We've heard from other people using a similar setup.
>
> Menuconfig obviously works as we use it in buildroot, so that's the
> safe choice for kernel config as well.
>
> Paul> As a newbie here I tend to need as much help as I can get! When
> Paul> the build crashed and complained about QT missing I thought I'd
> Paul> accidentally added some X package into buildroot, it was only
> Paul> after a few hours of doing step by step builds that I figured
> Paul> out it must have been running xconfig rather than
> Paul> menuconfig. Once I disabled the kernel it compiled first go,
> Paul> which is still a lot further than I got when I first tried
> Paul> buildroot a few months ago!
>
> Paul> Keep up the good work guys!
>
> Thanks.
>
>
Is someone has a successfull compilation for ARM platform and at91sam9260 !?
On my side, I made a lot of tests, and I can't be able to successfully
generate the rootfs.
For example :
tar jxvf buildroot-2009.02-rc2.tar.bz2.bz
cd buildroot-2009.02-rc2
make menuconfig +exit +save
make at91sam9260dfc_defconfig
I answer the default answer to all questions
I edit the .config the disable the BR2_ENABLE_LOCALE option (if I don't
do that I have an error during uclibc compilation)
make
toolchain and uclibc compilation are OK, but after a while I have this
error :
/usr/bin/gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"module-init-tools\" -DVERSION=\"3.2.2\" -I. -I. -g -O2
-Wunused -Wall -c `test -f 'modinfo.c' || echo './'`modinfo.c
modinfo.c: In function 'main':
modinfo.c:338: attention : 'infosize' may be used uninitialized in this
function
/usr/bin/gcc -g -O2 -Wunused -Wall -o modinfo modinfo.o zlibsupport.o
/usr/bin/gcc -g -O2 -Wunused -Wall -o insmod.static -static insmod.o
/usr/bin/ld: cannot find -lc
collect2: ld a retourn? 1 code d'?tat d'ex?cution
make[1]: *** [insmod.static] Erreur 1
make[1]: quittant le r?pertoire ?
/home/nlc/developpement/linuxEmbedded/buildroot-2009.02-rc2/toolchain_build_arm/module-init-tools-3.2.2
?
make: ***
[/home/nlc/developpement/linuxEmbedded/buildroot-2009.02-rc2/toolchain_build_arm/module-init-tools-3.2.2/depmod]
Erreur 2
My needs are relatively simple, I need a jffs2 rootfs for my board with
Bash + Boa + PHP + Sqlite + wireless tools.
So I try another solution :
tar jxvf buildroot-2009.02-rc2.tar.bz2.bz
make menuconfig, change target to ARM, exit and save
make
It works !
make menuconfig, I add Sqlite, exit and save
make
It works !
make menuconfig, I add PHP, exit and save
make, there is an error php-5.2.8.tar.bz2 is not downloaded, I download
it manually and put it in the dl directory
make
I have an error :
ext/pdo_sqlite/sqlite/src/os_unix.o: In function `sqlite3UnixDlclose':
/home/nlc/developpement/linuxEmbedded/buildroot-2009.02-rc2/build_arm/php-5.2.8/ext/pdo_sqlite/sqlite/src/os_unix.c:2627:
undefined reference to `dlclose'
ext/pdo_sqlite/sqlite/src/os_unix.o: In function `sqlite3UnixDlsym':
/home/nlc/developpement/linuxEmbedded/buildroot-2009.02-rc2/build_arm/php-5.2.8/ext/pdo_sqlite/sqlite/src/os_unix.c:2624:
undefined reference to `dlsym'
ext/pdo_sqlite/sqlite/src/os_unix.o: In function `sqlite3UnixDlopen':
/home/nlc/developpement/linuxEmbedded/buildroot-2009.02-rc2/build_arm/php-5.2.8/ext/pdo_sqlite/sqlite/src/os_unix.c:2621:
undefined reference to `dlopen'
collect2: ld returned 1 exit status
make[1]: *** [sapi/cgi/php-cgi] Erreur 1
make[1]: quittant le r?pertoire ?
/home/nlc/developpement/linuxEmbedded/buildroot-2009.02-rc2/build_arm/php-5.2.8
?
make: ***
[/home/nlc/developpement/linuxEmbedded/buildroot-2009.02-rc2/build_arm/php-5.2.8/.built]
Erreur 2
So I try another thing, from the beginning :
tar jxvf buildroot-2009.02-rc2.tar.bz2.bz
make menuconfig, change target to ARM, exit and save
make
It works !
make menuconfig, in target filesystem option, I add JFFS2 root
filesystem, I change memory type to Nand flash 2kB page and 128KB block,
exit and save
make
Compilation problem on the lzo package :
CC="/usr/bin/gcc" CROSS=
CFLAGS=-I/home/nlc/developpement/linuxEmbedded/buildroot-2009.02-rc2/toolchain_build_arm/linux/include
\
/usr/bin/make -j1 LINUXDIR= \
BUILDDIR=/home/nlc/developpement/linuxEmbedded/buildroot-2009.02-rc2/toolchain_build_arm/mtd_orig
\
-C
/home/nlc/developpement/linuxEmbedded/buildroot-2009.02-rc2/toolchain_build_arm/mtd_orig
mkfs.jffs2
make[1]: entrant dans le r?pertoire ?
/home/nlc/developpement/linuxEmbedded/buildroot-2009.02-rc2/toolchain_build_arm/mtd_orig
?
mkdir -p
/home/nlc/developpement/linuxEmbedded/buildroot-2009.02-rc2/toolchain_build_arm/mtd_orig
gcc -I./include -O2 -Wall -g -c -o
/home/nlc/developpement/linuxEmbedded/buildroot-2009.02-rc2/toolchain_build_arm/mtd_orig/crc32.o
crc32.c -g
-Wp,-MD,/home/nlc/developpement/linuxEmbedded/buildroot-2009.02-rc2/toolchain_build_arm/mtd_orig/.crc32.c.dep
mkdir -p
/home/nlc/developpement/linuxEmbedded/buildroot-2009.02-rc2/toolchain_build_arm/mtd_orig
gcc -I./include -O2 -Wall -g -c -o
/home/nlc/developpement/linuxEmbedded/buildroot-2009.02-rc2/toolchain_build_arm/mtd_orig/compr_rtime.o
compr_rtime.c -g
-Wp,-MD,/home/nlc/developpement/linuxEmbedded/buildroot-2009.02-rc2/toolchain_build_arm/mtd_orig/.compr_rtime.c.dep
mkdir -p
/home/nlc/developpement/linuxEmbedded/buildroot-2009.02-rc2/toolchain_build_arm/mtd_orig
gcc -I./include -O2 -Wall -g -c -o
/home/nlc/developpement/linuxEmbedded/buildroot-2009.02-rc2/toolchain_build_arm/mtd_orig/mkfs.jffs2.o
mkfs.jffs2.c -g
-Wp,-MD,/home/nlc/developpement/linuxEmbedded/buildroot-2009.02-rc2/toolchain_build_arm/mtd_orig/.mkfs.jffs2.c.dep
mkdir -p
/home/nlc/developpement/linuxEmbedded/buildroot-2009.02-rc2/toolchain_build_arm/mtd_orig
gcc -I./include -O2 -Wall -g -c -o
/home/nlc/developpement/linuxEmbedded/buildroot-2009.02-rc2/toolchain_build_arm/mtd_orig/compr_zlib.o
compr_zlib.c -g
-Wp,-MD,/home/nlc/developpement/linuxEmbedded/buildroot-2009.02-rc2/toolchain_build_arm/mtd_orig/.compr_zlib.c.dep
mkdir -p
/home/nlc/developpement/linuxEmbedded/buildroot-2009.02-rc2/toolchain_build_arm/mtd_orig
gcc -I./include -O2 -Wall -g -c -o
/home/nlc/developpement/linuxEmbedded/buildroot-2009.02-rc2/toolchain_build_arm/mtd_orig/compr_lzo.o
compr_lzo.c -g
-Wp,-MD,/home/nlc/developpement/linuxEmbedded/buildroot-2009.02-rc2/toolchain_build_arm/mtd_orig/.compr_lzo.c.dep
compr_lzo.c:29:23: erreur: lzo/lzo1x.h : Aucun fichier ou dossier de ce type
compr_lzo.c: In function 'jffs2_lzo_cmpr':
compr_lzo.c:54: attention : implicit declaration of function
'lzo1x_999_compress'
compr_lzo.c:56: erreur: 'LZO_E_OK' undeclared (first use in this function)
compr_lzo.c:56: erreur: (Each undeclared identifier is reported only once
compr_lzo.c:56: erreur: for each function it appears in.)
compr_lzo.c: In function 'jffs2_lzo_decompress':
compr_lzo.c:74: attention : implicit declaration of function
'lzo1x_decompress_safe'
compr_lzo.c:76: erreur: 'LZO_E_OK' undeclared (first use in this function)
compr_lzo.c: In function 'jffs2_lzo_init':
compr_lzo.c:95: erreur: 'LZO1X_999_MEM_COMPRESS' undeclared (first use
in this function)
make[1]: ***
[/home/nlc/developpement/linuxEmbedded/buildroot-2009.02-rc2/toolchain_build_arm/mtd_orig/compr_lzo.o]
Erreur 1
make[1]: quittant le r?pertoire ?
/home/nlc/developpement/linuxEmbedded/buildroot-2009.02-rc2/toolchain_build_arm/mtd_orig
?
make: ***
[/home/nlc/developpement/linuxEmbedded/buildroot-2009.02-rc2/toolchain_build_arm/mtd_orig/mkfs.jffs2]
Erreur 2
I don't know since how many day and hours I try to generate a working
rootfs, but I begin to become completely crasy :)))))
Regards,
Cyril
--
Cyril Haenel
Registered Linux User #332632
next prev parent reply other threads:[~2009-01-26 8:48 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-25 0:28 [Buildroot] 2009.02-rc2 released Paul Jones
2009-01-25 7:32 ` Ulf Samuelsson
2009-01-25 13:07 ` Peter Korsgaard
2009-01-25 21:17 ` Ulf Samuelsson
2009-01-25 21:28 ` Peter Korsgaard
2009-01-25 22:24 ` Ulf Samuelsson
2009-01-25 23:52 ` Paul Jones
2009-01-26 5:54 ` Peter Korsgaard
2009-01-26 8:48 ` Cyril HAENEL [this message]
2009-01-26 16:23 ` Peter Korsgaard
2009-01-26 12:04 ` Thomas Lundquist
-- strict thread matches above, loose matches on Subject: below --
2009-01-23 21:12 Peter Korsgaard
2009-01-23 21:27 ` Cyril HAENEL
2009-01-24 9:02 ` Peter Korsgaard
2009-01-24 13:03 ` Cyril HAENEL
2009-01-26 17:24 ` Robert Nelson
2009-01-26 17:43 ` Peter Korsgaard
2009-01-26 18:30 ` Robert Nelson
2009-01-26 18:49 ` Peter Korsgaard
2009-01-28 8:47 ` Hinko Kocevar
2009-01-28 16:37 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=497D78D2.2040404@free.fr \
--to=chaenel@free.fr \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox