Binary ATI driver package in buildroot
Hey
I would like to use ATI's binary device drivers in my buildroot project. I have therefore created the package fglrx. Right now it will only work for 64bit, and it does not detect of the target system is x86 or not. These things should of cause be fixed if the package are to be included in buildroot.
My question is whether such a package should exist in buildroots repository or not.
Also, I would like comments if this is the right way to build and include external binary device drivers. (Sorry, I'am still new to hacking buildroot)
--
Allan W. Nielsen
PATCH 1/1 fglrx: Added package for ATI's binary device driver
TODO:
- Change the install script to work for 32bit systems as well as for 64bit
- This package sould require that the target system is x86
--- Makefile | 1 + linux/Config.in | 2 + linux/fglrx/Config.in | 4 ++ linux/fglrx/change-gcc-version-detection.patch | 30 +++++++++++ linux/fglrx/fglrx.mk | 62 ++++++++++++++++++++++++ 5 files changed, 99 insertions(+), 0 deletions(-) create mode 100644 linux/fglrx/Config.in create mode 100644 linux/fglrx/change-gcc-version-detection.patch create mode 100644 linux/fglrx/fglrx.mk
Makefile +1 -0
@@ -324,6 +324,7 @@ include package/*/*.mk include boot/common.mk include target/Makefile.in include linux/linux.mk +include linux/*/*.mk TARGETS+=target-finalize
linux/Config.in +2 -0
@@ -153,6 +153,8 @@ config BR2_LINUX_KERNEL_IMAGE_TARGET_NAME Specify the kernel make target to build the kernel that you need. +source "linux/fglrx/Config.in" + endif # BR2_LINUX_KERNEL endmenu
linux/fglrx/Config.in new file +4 -0
@@ -0,0 +1,4 @@ + +config BR2_LINUX_MODULE_FGLRX + bool "Build the ATI binary kernel module" + depends on BR2_LINUX_KERNEL
linux/fglrx/change-gcc-version-detection.patch new file +30 -0
@@ -0,0 +1,30 @@ +--- common/lib/modules/fglrx/build_mod/2.6.x/Makefile 2011-02-02 19:39:49.000000000 +0100 ++++ common/lib/modules/fglrx/build_mod/2.6.x/Makefile 2011-03-28 15:05:41.656418668 +0200 +@@ -24,7 +24,7 @@ + # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +-GCC_VER_MAJ = $(shell $(CC) --version | head -n 1 | sed -e 's/[^0-9. ]//g;s/^ *//;s/^\(.\)\..*$$/\1/') ++GCC_VER_MAJ = $(shell $(CC) --version | head -n 1 | perl -pe "s/^.+?(\d+)[^ ]+$$/\1/g" ) + + LIBIP_PREFIX ?= .. + +@@ -75,7 +75,7 @@ + KVER = $(shell uname -r) + endif + +-KDIR = /lib/modules/$(KVER)/build ++KDIR ?= /lib/modules/$(KVER)/build + PWD = $(shell pwd) + + fglrx-cfiles = ${fglrx-c-objs:.o=.c} +@@ -85,6 +85,9 @@ + kmod_build:: $(fglrx-libs) $(fglrx-cfiles) $(fglrx-hdrs) $(drm-hdrs) + $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules + ++modules_install: kmod_build ++ $(MAKE) INSTALL_MOD_PATH=$(INSTALL_MOD_PATH) INSTALL_MOD_DIR=kernel -C $(KDIR) M=$(PWD) modules_install ++ + %.c: + @ln -s ../$@ +
linux/fglrx/fglrx.mk new file +62 -0
62 lines not on this page · raw message
Signature · 1 line
1.7.3.4
Quoted 5 lines · On Wed, 6 Apr 2011 13:20:44 +0200 "Allan W. Nielsen" <[email protected]> wrote:
I would like to use ATI's binary device drivers in my buildroot project. I have therefore created the package fglrx. Right now it will only work for 64bit, and it does not detect of the target system is x86 or not. These things should of cause be fixed if the package are to be included in buildroot.
If the driver is architecture-dependent, then you can just make the package depends on BR2_x86_64 for example.
Quoted 2 lines
My question is whether such a package should exist in buildroots repository or not.
If it is useful, then I think it should be part of Buildroot.
Quoted 3 lines
Also, I would like comments if this is the right way to build and include external binary device drivers. (Sorry, I'am still new to hacking buildroot)
We don't have that many binary device drivers, so there isn't yet any good practice in Buildroot on how to package them.
However, your package does not use the GENTARGETS infrastructure, which it should do. We don't include packages that don't rely on one of the GENTARGETS, AUTOTARGETS or CMAKETARGETS infrastructure.
Regards!
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello Allan,
(It would be better to keep the Buildroot list CC'ed)
Quoted 23 lines · On Wed, 6 Apr 2011 16:34:42 +0200 Allan Nielsen <[email protected]> wrote:
Quoted 3 lines
However, your package does not use the GENTARGETS infrastructure, which it should do. We don't include packages that don't rely on one of the GENTARGETS, AUTOTARGETS or CMAKETARGETS infrastructure.
I'am converting it to GENTARGETS right now, but I'am having some problem with the extracting step, here is what I tried:
define
FGLRX_EXTRACT_CMDSmkdir -p $(@D) sh $(DL_DIR)/$(FGLRX_SOURCE) --extract $(@D)endef
But for some reason this does not seems to have any effect, hare are a snippet from the output:
echo ">>> fglrx 11-2 "Extracting""
mkdir -p/home/awn/git/buildroot/output/build/fglrx-11-2/home/awn/src/ati-driver-installer-11-2-x86.x86_64.run| tar --strip-components=1 -C/home/awn/git/buildroot/output/build/fglrx-11-2-xf - chmod -R ug+rw/home/awn/git/buildroot/output/build/fglrx-11-2touch/home/awn/git/buildroot/output/build/fglrx-11-2/.stamp_extracted
Quoted 1 line
Is this not the correct way to use GENTARGETS?
Unfortunately for the moment, it is not possible to override the extraction step of a package by defining the <pkg>_EXTRACT_CMDS variable. Buildroot asumes that each package is a tarball that can be extracted as usual.
There are however several packages (usually non-open source stuff) with strange extraction needs, so it would be great to be able to override this step.
As a hack, you can do something like:
$(BUILD_DIR)/dhrystone-$(DHRYSTONE_VERSION)/.stamp_extracted:
@$(call MESSAGE,"Extracting")
$(Q)mkdir -p $(@D)
$(Q)cd $(@D) && $(SHELL) $(DL_DIR)/$($(PKG)_SOURCE)
$(Q)cp $($(PKG)_DIR_PREFIX)/dhrystone/Makefile $(@D)/
$(Q)touch $@(see package/dhrystone/dhryistone.mk)
Or if you want to do it the clean way, add the possibility of overriding the extraction step in the package infrastructure.
Best regards,
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
Hey
Quoted 4 lines
Unfortunately for the moment, it is not possible to override the extraction step of a package by defining the <pkg>_EXTRACT_CMDS variable. Buildroot asumes that each package is a tarball that can be extracted as usual.
Okay, I see....
Quoted 2 lines
Or if you want to do it the clean way, add the possibility of overriding the extraction step in the package infrastructure.
I have created a small patch for Makefile.package.in which allows packages to override the extraction step. I'am not completely sure if this was the solution you had in mind, but to me it seems like a harmless fix. I will post this fix along with a new version of the ATI driver which is based on gentargets. The new patch will be based directly on the master branch.
--
Allan W. Nielsen
[Buildroot] Apache CrossCompile recipe
In reply to Thomas Petazzoni-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
does anybody here have a rule set for compiling an Apache2? Thanks in advance...
- --
- --
cheers
- -micha-
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJNnVudAAoJEEMkp/gkis19AvYH/3IN76+nbBIaNgjedR02UAVp TuhYt8GFS/a/UU5ikFmphS+p6/W1lMWicsjBBmBX8YSszRdMBKa+EOnDJsDMEuvt lxZDLBsvxGfe2x0+0xfqoFAZx1k3iwQMXA5tKhInvFcqPJTIWD2zW5oYdALtLIQp iv7ezVr6AHgZEVloVlY0fzB2FftxUgdkeQZpjjxiF/5BKx+fUK91jOLUrk3yMMs9 Xd2hrC2qupa6dfO+xolP7bjHR5IfvFd0M8p7G5r79uSIHICxmyWYofKw/MX2zAy1 MuZmsCIiITN5y9vTyWnHDsgyoq/9Kv0CGBUoJCXyysMF17ib0qpRjUeXfWcnBfI= =Aitg
-----END PGP SIGNATURE-----
[Buildroot] [OT] Re: Apache CrossCompile recipe
[cut]
Quoted 2 lines
does anybody here have a rule set for compiling an Apache2? Thanks in advance...
Just out of curiosity, what does it have to do with Binary ATI driver?
Signature · 4 lines
Patryk "LeadMan" Benderz Linux Registered User #377521 () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
[Buildroot] Apache CrossCompile recipe
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Daniele,
Am 07.04.2011 10:09, schrieb Daniele Salvatore Albano:
Quoted 4 lines
Hi,
last thing, if you need i've a patch (not yet published) to add support for php 5.3.5 and nginx/php configuration/scripts for fastcgi :)
thanks for your help. I won't need PHP but will need to run Perl scripts on it.
Where do I find the .mk files for nginx?
- --
- --
cheers
- -micha-
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJNnXPBAAoJEEMkp/gkis19aZwIAJ2TgZsU7g8KQ52ZPc1lePz1 j2klu8oHVYSNVSN9Gdj9DAqhZp7gKsp4YSXSYtTX6chXq6hi7ti4pcQYZ2TlqxId UcL6IJ+VjCQEQXeKtjuHg1HXPvn42QFIkBSNsL14aye4gjTpuMM6s6l+Z4gPKW4N oTl34iyM6rzKFwNX3ZjTwohATCV1+1cq8BzPkKzfyvMR2SG2Z4+KqeGDhnfsJRdg Jo+gl/iv2y0kG0s4DoXAxY4hgKJYVUINEIp6N+anCUIc+a1cJ9299cGHrC4ZzB2K ZH7dp7NHabJtWhBTz30E65PeA6M6eqXgT5O7yopL5qah7fSfYbQBzTy8MzGMyVo= =0BBi
-----END PGP SIGNATURE-----
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
[Buildroot] Apache CrossCompile recipe
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Daniele,
Am 07.04.2011 20:12, schrieb Daniele Salvatore Albano:
Quoted 3 lines
Well, it depends by your architecture:
- if it's x86 (32/64bit), just compile it normally ... don't need cross toolchain
its a Geode LX Box; x86.
Want to have uclibc and adapted kernel. Want buildroot to create a bootable image which I can dd to my CF card.
Did make menuconfig and set up everything I need.
What exactly is meant by kernel "defconfig"?
Then I should normally just invoke "make" and get the results after a couple of hours. Or am I wrong?!
- --
- --
cheers
- -micha-
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJNngDWAAoJEEMkp/gkis19oloH/RkXaC9nc+c1unGlbNlAw0h7 TwD0gIVywynb4/Lz4mz+ZvWJnF5VMbaA6eFniyh+8NKcVZKtpHVajNis9eK3NThI MNORzmbQpKkfloxC9+tbLG7EhZ9/eiKiyhv+J/673aVrrDTrmnn5+ypBxpQCMm1K oA3o5YohuLG7R59GBXjOWjqc6Tfp+8wHFaKENbmE1c+PnvJoIOfhfUmNAcojTF3S 6SRZsHeTvkv8+zciNCgyNlVvmDJK5mMNYLbt4RdBOnTt+B27jaESWN2mI3Vzvcgn BZWMm2QSCA4eSUdRMXAtCsHtzFYu9uPaOwyFAseb0lriB3EzQyR4wnDiSSfYsRE= =ZLim
-----END PGP SIGNATURE-----
[Buildroot] Making kernel?
In reply to a message not in the archive-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Good morning Daniele, good morning list,
I wanted to generate my own kernel but I get a bit confused. What does
linux/linux.mk:197: *** No kernel configuration file specified, check your BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE setting.
mean? There is an .config file. I even refuses a "make linux-menuconfig" It doesn't give me the chance of building my own kernel. What do I do wrong?
- --
- --
cheers
- -micha-
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJNnqQMAAoJEEMkp/gkis1992sH/RWNr6hvNnffeZNHNL+6xXD5 iPuqzsj9k1CkPUaX/AHYiSN1EBKvGTxJlHVnUW4Zo3XyFQuz1tCpXx33wvmNW5NO qXAsuKJ0lKjZu0G8SzIoCiLATDGpSsWoFjOWrDRsXjL3CeXQSO0icp150xekQGyN DF7mvqYymDJYQVxjwZ/P2qSJ30H7TWaPglFIhlsGB7VDvNnLC63T+hzAi27aitae qR/mWKESifCTEr3G60/UMZBSvTTE8NqRYWkh/sOXqytsMY8pFSwlH5AccEx/WQS2 bn9IfQIrz4zooAOYUR4VW/x8SEHzKuk4bNDRzqRwWQosoCzuGlAacKnE+fY6p3I= =QyjC
-----END PGP SIGNATURE-----
[Buildroot] Making kernel?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi again,
where the hell is it looking for its defconfig files???? I manually copied it across the whole filesystem but the script doesn't find it. What can I do??
Am 08.04.2011 07:58, schrieb Michael Burghart:
Quoted 11 lines
Good morning Daniele, good morning list,
I wanted to generate my own kernel but I get a bit confused. What does
linux/linux.mk:197: *** No kernel configuration file specified, check yourBR2_LINUX_KERNEL_CUSTOM_CONFIG_FILEsetting.mean? There is an .config file. I even refuses a "make linux-menuconfig" It doesn't give me the chance of building my own kernel. What do I do wrong?
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
- --
- --
cheers
- -micha-
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJNnriXAAoJEEMkp/gkis19zHgH/2xjGV91C7kpc4BPYWM5xyA3 m1RZjznWXM9B3EBZgW2MP9enkBFFqlLZpY8Mwvx9kq4Sy1tuK+3PgfK1/8/Fqe3g EaCbvu/OIdwzvj9a6Kup44FlknI1ikDY8SktN7tX9T8DmLmNaW55WoLlJc2OIitm MVFJaEMXlrn2SWbXTbAhz2BhY9G3sseQ3h7LCM1o9Hamcj/PddCE299ik3MMkx0w MW7a758DC3lnjmU9guY/0M5DcQPVizAocjJypjzmlRRZPUHHmIvj1IWabRfZTNIk wifIqc56e4RuHzcdR2KIOMuZAJrPK9dWQxq959ZwsmV4eYbzMThk4rBAHCvjm14= =S0Dy
-----END PGP SIGNATURE-----
[Buildroot] Making kernel?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Apparently it doesn't find an own kernel defconfig file. The default ones are found... Strange...
Am 08.04.2011 09:26, schrieb Michael Burghart:
Quoted 16 lines
Hi again,
where the hell is it looking for its defconfig files???? I manually copied it across the whole filesystem but the script doesn't find it. What can I do??
Am 08.04.2011 07:58, schrieb Michael Burghart:
Quoted 7 lines
Good morning Daniele, good morning list,
I wanted to generate my own kernel but I get a bit confused. What does
linux/linux.mk:197: *** No kernel configuration file specified, check yourBR2_LINUX_KERNEL_CUSTOM_CONFIG_FILEsetting.
Quoted 8 lines
Quoted 2 lines
mean? There is an .config file. I even refuses a "make linux-menuconfig" It doesn't give me the chance of building my own kernel. What do I do wrong?
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
- --
- --
cheers
- -micha-
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJNnrn7AAoJEEMkp/gkis19w1sH/R5Bs4Tx64KUv0pUZqu0t3D2 bWK5WIj17V44Qf5jJgBuQEstTMDlHgpz/JJfmLk4mGdjOjaTiK80ylXROyYzJmlT ExJZzXIHoK/tAzODrgkkehvs07H0A9FgFSIZ+WARfhIXCVsXbHyrkxbia5k7QgUk QfYI8Rx+Z1fu0wtb6TPy9WMXeV0Dym059k+99Uuf0Cn2NrIen2pOXdyvRgW4mDhE eFJ9NTzjpPDLWDEYrjmpVrTMxHwZn/4CJP0EGEA6/0oGW1Jrs/ED/bvWFVmregn4 oBgeHZj6Gnm69nyjKhGhd14kVLhcfycWYbDXV7mcAaUJxoI2ZaKe284vei0FGxI= =LloO
-----END PGP SIGNATURE-----
[Buildroot] Making kernel?
I run my buildroot from "/opt/buildroot" , for my platform "arm" the configs are sitting in:/opt/buildroot/output/build/linux-2.6.38-rc5/arch/arm/configs/
Have you tried "make menuconfig" then select your kernel header and kernel versions and then specify a kernel "defconfig" for example "sam9_l9260_defconfig"
Quoted 48 lines · Michael Burghart
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Apparently it doesn't find an own kernel defconfig file. The default ones are found... Strange...
Am 08.04.2011 09:26, schrieb Michael Burghart:
Quoted 18 lines
Hi again,
where the hell is it looking for its defconfig files???? I manually copied it across the whole filesystem but the script doesn't find it. What can I do??
Am 08.04.2011 07:58, schrieb Michael Burghart:
Quoted 10 lines
Good morning Daniele, good morning list,
I wanted to generate my own kernel but I get a bit confused. What does
linux/linux.mk:197: *** No kernel configuration file specified, check yourBR2_LINUX_KERNEL_CUSTOM_CONFIG_FILEsetting.mean? There is an .config file. I even refuses a "make linux-menuconfig" It doesn't give me the chance of building my own kernel. What do I do
wrong?
Quoted 6 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot- --
- --
cheers
- -micha-
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
Quoted 13 lines
iQEcBAEBAgAGBQJNnrn7AAoJEEMkp/gkis19w1sH/R5Bs4Tx64KUv0pUZqu0t3D2 bWK5WIj17V44Qf5jJgBuQEstTMDlHgpz/JJfmLk4mGdjOjaTiK80ylXROyYzJmlT ExJZzXIHoK/tAzODrgkkehvs07H0A9FgFSIZ+WARfhIXCVsXbHyrkxbia5k7QgUk QfYI8Rx+Z1fu0wtb6TPy9WMXeV0Dym059k+99Uuf0Cn2NrIen2pOXdyvRgW4mDhE eFJ9NTzjpPDLWDEYrjmpVrTMxHwZn/4CJP0EGEA6/0oGW1Jrs/ED/bvWFVmregn4 oBgeHZj6Gnm69nyjKhGhd14kVLhcfycWYbDXV7mcAaUJxoI2ZaKe284vei0FGxI= =LloO
-----END PGP SIGNATURE-----
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110408/ebc1f9e2/attachment-0001.html>
[Buildroot] Making kernel?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Am 08.04.2011 09:50, schrieb bruce bushby:
Quoted 7 lines
I run my buildroot from "
/opt/buildroot" , for my platform "arm" the configs are sitting in:/opt/buildroot/output/build/linux-2.6.38-rc5/arch/arm/configs/Have you tried "make menuconfig" then select your kernel header and kernel versions and then specify a kernel "defconfig" for example "
sam9_l9260_defconfig"
the problem was that it complaine about a missing file which I was just about to create. Anyway, I took the standard defconfig file and it worked:
Now I got:
- -rw-r--r-- 1 root root 4180960 8. Apr 10:57 bzImage - -rw-r--r-- 1 root root 11706368 8. Apr 10:30 rootfs.cpio - -rw-r--r-- 1 root root 14252032 8. Apr 10:56 rootfs.ext2 - -rw-r--r-- 1 root root 40776 8. Apr 10:57 rootfs.initramfs - -rw-r--r-- 1 root root 18929664 8. Apr 10:56 rootfs.iso9660 - -rw-r--r-- 1 root root 12052480 8. Apr 10:30 rootfs.tar
;-)
Just need to find out how to put that all together to get a bootable system..
Thanks to all for your help so far!!!!
- --
- --
cheers
- -micha-
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJNntN5AAoJEEMkp/gkis19ifcIAJB+uhhqmlzmr6ZM17yEM3Bh wYhh3RSLqWo/O70qa5KEOryxa8Si0Q219JQTD4VzDDinMLProyocJ79cM0oWNU/y du2X1uo5oVBYUwcoRa2mQQiaghEpf5TrrTPC+ht5lRTdlhnsJDtKBLV4ANI0kMhR FqIaHc5ZIQot7d88MgkR7vQWm2jIVG4P7TmjEfc7EqayB49QjKwDnlHSzMtib66j vUJl1aebDu038iPPuDW1kli3ksuGKz2FF7704L533JK+MDfouyFGrSCoZ77XjTBo eD4h7jYnKjZBHTjZbQmYQl9efbBanU6BwxjgbCSVhSVhzqSu5mNVIrfRq1Ul3tE= =Nkg5
-----END PGP SIGNATURE-----
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
[Buildroot] Apache CrossCompile recipe
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Daniele,
Am 08.04.2011 14:29, schrieb Daniele Salvatore Albano:
Quoted 3 lines
are you using a x86/x32 or a x64 system? I've tested nginx compilation only on x86 bit toolchains (compiled for i586 specifically).
the build host is a x64 system
Linux einstein 2.6.37.1-1.2-desktop #1 SMP PREEMPT 2011-02-21 10:34:10 +0100 x86_64 x86_64 x86_64 GNU/Linux
I am about to compile it for GeodeLX Arch.
Quoted 6 lines
Relatively to AIO, i think that uclibc support isn't complete or doesn't fully support the standard because i got some errors trying to use uclibc ... but, for my needs, i used eglibc as libc and all works perfectly ... in any case you don't really need aio for control panels or similar stuff
jupp I could just skip it... lets give it a try.
As soon as I figured out how to put all the images on my CF card.. Doesn't work yet.
- --
- --
cheers
- -micha-
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJNnwSDAAoJEEMkp/gkis19AD8H/j5URNYZy1uip+TxQqVPfPx6 ao75LRzOORF1eBHKYNBwYj/5UfmVbUTQAKxJAj3W+Cln1BfluTW5DLV3gcpjTqcp NprgW5s8sgkN+Nyx0u/JOwFHW8HKeBeA5oaeQxS2T0j0L1qtgLvnza8S87i0n3GS 09t6RWdq9vMC4A81g+jdHGeBwXSW3YQG+6bqLceN/+0PphlpV7vaHIz3F0PVGb/+ rCiejs4N98xw5ozvQYw56zxwHWwV/yx5m+XmUTomr9n7VftCrfS0a6OySTuVY/Qx zjkn4DK0tw7mBZ+IoFJ8pF8M5GvFtijOhUn8+WBJ6OZuyHN+ucDqeiX1SBo/BGg= =c16R
-----END PGP SIGNATURE-----
[Buildroot] Apache CrossCompile recipe
Il 08/04/2011 14:50, Michael Burghart ha scritto:
Quoted 6 lines
the build host is a x64 system
Linux einstein 2.6.37.1-1.2-desktop #1 SMP PREEMPT 2011-02-21 10:34:10 +0100
x86_64x86_64x86_64GNU/LinuxI am about to compile it for GeodeLX Arch.
I use nginx with php on that board (2D13) without any problem, but my build host isn't 64 bit.
I can't test it directly, however in this weekend i'll try to give a look to this problem.
In any case, you can try to edit auto/types/sizeof and add there u_int64_t size (well, it should be 8)
Best Regards,
Daniele
Signature · 20 lines
____________________________________________________________
|
Daniele Salvatore Albano | web site:
IT Consultant | http://www.itechcon.it
Website Design and Development |
Software Engineer and Developer | e-mail:
Linux Servers SetUp And Administration | info at itechcon.it
Embedded Network Solutions | d.albano at itechcon.it
Ai sensi del D.Lgs. 196/2003 si precisa che le informazioni contenute in
questo messaggio sono riservate ed a uso esclusivo del destinatario.
Qualora il messaggio in parola Le fosse pervenuto per errore, La
invitiamo ad eliminarlo senza copiarlo e a non inoltrarlo a terzi,
dandocene gentilmente comunicazione. Grazie.
Pursuant to Legislative Decree No. 196/2003, you are hereby informed
that this message contains confidential information intended only for
the use of the addressee. If you are not the addressee, and have
received this message by mistake, please delete it and immediately
notify us. You may not copy or disseminate this message to anyone. Thank
you.[Buildroot] Apache CrossCompile recipe
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Daniele,
Am 08.04.2011 15:15, schrieb Daniele Salvatore Albano:
Quoted 2 lines
In any case, you can try to edit auto/types/sizeof and add there
u_int64_tsize (well, it should be 8)
in an normal environment I would just edit the .c file. But how do I do this with buildroot?
- --
- --
cheers
- -micha-
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJNpbj4AAoJEEMkp/gkis19EH4H/RXhP23HH24PG8c5XHWB5rRU 5riB01xUOO8XIjqdhOxMT2SHbxFfaImjdfQrJKLxj62aCM9h2dWNoFGKEmGxdeD1 gawM8ES3f0lAEsvD8DCILoazlj+FRu62vU0m6VtdxiQX0HVE8n3+fR8HYS7uDlbO VqJ+gdvdl+QpwvlbyoPxC5XUp4A/5LhQl13yNMGPpaUvOKLAecCoZ4ibwg+beG0y 9F9zTOkSIn3hbBjr2BPOcvqyL3kDauo1iWZHAKKC2I4YFkGHRbG5eYSwFfJw48nU AKO3rhW+u50Ek8Q+Gb4Z83xDZzFCAFNHDT0D8os7L7kTcHxTiDGOczyKA7xH07M= =Q6D7
-----END PGP SIGNATURE-----
[Buildroot] Apache CrossCompile recipe
In reply to a message not in the archive-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Good morning Daniele,
its getting better :)
Now it complains about missing zlib. Unfortunately I cannot enable zlib in menuconfig. There is no hook to activate.
Does this depend on another point somewhere which I don't know?!
Output:
./configure: error: the HTTP gzip module requires the zlib library. You can either disable the module by using --without-http_gzip_module option, or install the zlib library into the system, or build the zlib library
statically from the source with nginx by using --with-zlib=<path> option.
- --
- --
cheers
- -micha-
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJNn/jPAAoJEEMkp/gkis192XgIAIefdHBU74wc7+xee9VLGfQE 4W/zYxbmsRsCBmMSQ5T81yIKhVsmDDFoM6OfMxWTKqYNDBsp6lttvLlwwnSXr8yT a/RTvyLRh+an19BNaJJUEWYbf9NVtw32aahI3hOfNsygMOkxStUyr/tQjdHkr3jz zvnZqTa0ZUrYOlTFgM4AJlhzKFHMj9qrguciYvFvcxP4sVnoqqmE3OUoO+AlS8dv t7THNL4Lx7ugnEtOz0ifB/o5Zl9xImoRkD/NV03G/jqJVXQ6m3cwbZZz5eBJh4Hs awFfXwavVXdIS0teVYVc6Kn/Dg+xP48/KVrKdKvLo+YJPJlv6rOdr3oajxmZfdo= =70Lk
-----END PGP SIGNATURE-----
[Buildroot] Apache CrossCompile recipe
Have you tried implicitly addding zlib to your conf options?
Something like:HTTP_CONF_OPT += --with-zlib=$(STAGING_DIR)/usr
Quoted 27 lines · Michael Burghart
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Good morning Daniele,
its getting better :)
Now it complains about missing zlib. Unfortunately I cannot enable zlib in menuconfig. There is no hook to activate.
Does this depend on another point somewhere which I don't know?!Output:
./configure: error: the HTTP gzip module requires the zlib library. You can either disable the module by using --without-http_gzip_module option, or install the zlib library into the system, or build the zlib library
statically from the source with nginx by using --with-zlib=<path> option.- --
- --
cheers
- -micha-
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
Quoted 13 lines
iQEcBAEBAgAGBQJNn/jPAAoJEEMkp/gkis192XgIAIefdHBU74wc7+xee9VLGfQE 4W/zYxbmsRsCBmMSQ5T81yIKhVsmDDFoM6OfMxWTKqYNDBsp6lttvLlwwnSXr8yT a/RTvyLRh+an19BNaJJUEWYbf9NVtw32aahI3hOfNsygMOkxStUyr/tQjdHkr3jz zvnZqTa0ZUrYOlTFgM4AJlhzKFHMj9qrguciYvFvcxP4sVnoqqmE3OUoO+AlS8dv t7THNL4Lx7ugnEtOz0ifB/o5Zl9xImoRkD/NV03G/jqJVXQ6m3cwbZZz5eBJh4Hs awFfXwavVXdIS0teVYVc6Kn/Dg+xP48/KVrKdKvLo+YJPJlv6rOdr3oajxmZfdo= =70Lk
-----END PGP SIGNATURE-----
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110410/3d2e2199/attachment-0001.html>
[Buildroot] Apache CrossCompile recipe
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am 10.04.2011 01:20, schrieb bruce bushby:
Quoted 4 lines
Have you tried implicitly addding zlib to your conf options?
Something like:
HTTP_CONF_OPT+= --with-zlib=$(STAGING_DIR)/usr
ok, thanks. Will try. Up to now I have used only the option presented in menuconfig and there was no possibility to select (or deselect) zlib.
- --
- --
cheers
- -micha-
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJNoPBtAAoJEEMkp/gkis19aZMH/A5xBj+xZhqK27Uv7zSiVane cXM6t161GEcCwqBI9vRb+Jh0TfTs6ej/GcYaq1Dm+saWwm0RB/6AOQhJuC9SNslB aMNjJkhlLQHMkNjYuoCDfy+N6rHkg+YnthO23IpjEwQDVgFIWG/bCt+pqQfcF9zC A4oSqYRI0VuIb7HjxYOYBuG670k8AVkLUSQGQkm4rKS/yenYHoUfTt32/6BGiMSB 4LuzQTNGqJp3dhEG8RqhIetWI64Py9QQtoVrSk3X4KTJ4wD3dMEQgwZbpVT9Xdu2 KY7KkTcy6Ko0sV6mA19f/3gSLWWoFvSM+n0zCywwm/U8/yzdghFuhBdBAFkbMr0= =mkhA
-----END PGP SIGNATURE-----