* [Buildroot] wanna compile busybox and uclib with self modified code, please help
@ 2013-08-27 7:42 hacklinux
2013-08-27 7:52 ` Stephan Hoffmann
0 siblings, 1 reply; 12+ messages in thread
From: hacklinux @ 2013-08-27 7:42 UTC (permalink / raw)
To: buildroot
Hi thomas,
i have a question concerning buildroot compiling wanna u help . the gz pacakge version which i used is buildroot-2012.11.1.tar.gz, i know how to build kernel, busybox, initrd following guildlines posted on web that puts all sort of items under dl directory and just make it. however, i wanna compile the busybox and uclib with some modification made by myself, i made several attemps but all failed, can u give me some advice on how to do this, wanna hear from u, sincely thank u indeed .
william wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130827/a07ea44f/attachment.html>
^ permalink raw reply [flat|nested] 12+ messages in thread* [Buildroot] wanna compile busybox and uclib with self modified code, please help 2013-08-27 7:42 [Buildroot] wanna compile busybox and uclib with self modified code, please help hacklinux @ 2013-08-27 7:52 ` Stephan Hoffmann 2013-08-27 8:32 ` hacklinux 0 siblings, 1 reply; 12+ messages in thread From: Stephan Hoffmann @ 2013-08-27 7:52 UTC (permalink / raw) To: buildroot Am 27.08.2013 09:42, schrieb hacklinux: > Hi thomas, > > i have a question concerning buildroot compiling wanna u help . the gz > pacakge version which i used is buildroot-2012.11.1.tar.gz, i know how > to build kernel, busybox, initrd following guildlines posted on web > that puts all sort of items under dl directory and just make it. > however, i wanna compile the busybox and uclib with some modification > made by myself, i made several attemps but all failed, can u give me > some advice on how to do this, wanna hear from u, sincely thank u indeed . Hello William, you might want to look at http://free-electrons.com/blog/buildroot-2011-11/ , especially the source directory override mechanism. Regards Stephan > > william wang > > > _______________________________________________ > buildroot mailing list > buildroot at busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot -- reLinux - Stephan Hoffmann Am Schmidtgrund 124 50765 K?ln Tel. +49.221.95595-19 Fax: -64 www.reLinux.de sho at reLinux.de ^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] wanna compile busybox and uclib with self modified code, please help 2013-08-27 7:52 ` Stephan Hoffmann @ 2013-08-27 8:32 ` hacklinux 2013-08-27 9:26 ` Stephan Hoffmann 0 siblings, 1 reply; 12+ messages in thread From: hacklinux @ 2013-08-27 8:32 UTC (permalink / raw) To: buildroot i see two more parameters should be given somewhere in the buildroot project, however where should i put these two paremeters, please give me some advice, thx.MYPKG_SITE = /opt/software/something-special/ MYPKG_SITE_METHOD = local > Date: Tue, 27 Aug 2013 09:52:31 +0200 > From: sho at relinux.de > To: buildroot at busybox.net > Subject: Re: [Buildroot] wanna compile busybox and uclib with self modified code, please help > > Am 27.08.2013 09:42, schrieb hacklinux: > > Hi thomas, > > > > i have a question concerning buildroot compiling wanna u help . the gz > > pacakge version which i used is buildroot-2012.11.1.tar.gz, i know how > > to build kernel, busybox, initrd following guildlines posted on web > > that puts all sort of items under dl directory and just make it. > > however, i wanna compile the busybox and uclib with some modification > > made by myself, i made several attemps but all failed, can u give me > > some advice on how to do this, wanna hear from u, sincely thank u indeed . > Hello William, > > you might want to look at > http://free-electrons.com/blog/buildroot-2011-11/ , especially the > source directory override mechanism. > > Regards > > Stephan > > > > william wang > > > > > > _______________________________________________ > > buildroot mailing list > > buildroot at busybox.net > > http://lists.busybox.net/mailman/listinfo/buildroot > > > -- > reLinux - Stephan Hoffmann > Am Schmidtgrund 124 50765 K?ln > Tel. +49.221.95595-19 Fax: -64 > www.reLinux.de sho at reLinux.de > > _______________________________________________ > 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/20130827/db3a293a/attachment.html> ^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] wanna compile busybox and uclib with self modified code, please help 2013-08-27 8:32 ` hacklinux @ 2013-08-27 9:26 ` Stephan Hoffmann 2013-08-28 2:36 ` hacklinux 0 siblings, 1 reply; 12+ messages in thread From: Stephan Hoffmann @ 2013-08-27 9:26 UTC (permalink / raw) To: buildroot Am 27.08.2013 10:32, schrieb hacklinux: > i see two more parameters should be given somewhere in the buildroot > project, however where should i put these two paremeters, please give > me some advice, thx. > MYPKG_SITE = /opt/software/something-special/ > MYPKG_SITE_METHOD = local This is when you modify the mypkg.mk file, what you probably do not want to do. Just read the next chapter. > > > > Date: Tue, 27 Aug 2013 09:52:31 +0200 > > From: sho at relinux.de > > To: buildroot at busybox.net > > Subject: Re: [Buildroot] wanna compile busybox and uclib with self > modified code, please help > > > > Am 27.08.2013 09:42, schrieb hacklinux: > > > Hi thomas, > > > > > > i have a question concerning buildroot compiling wanna u help . the gz > > > pacakge version which i used is buildroot-2012.11.1.tar.gz, i know how > > > to build kernel, busybox, initrd following guildlines posted on web > > > that puts all sort of items under dl directory and just make it. > > > however, i wanna compile the busybox and uclib with some modification > > > made by myself, i made several attemps but all failed, can u give me > > > some advice on how to do this, wanna hear from u, sincely thank u > indeed . > > Hello William, > > > > you might want to look at > > http://free-electrons.com/blog/buildroot-2011-11/ , especially the > > source directory override mechanism. > > > > Regards > > > > Stephan > > > > > > william wang > > > > > > > > > _______________________________________________ > > > buildroot mailing list > > > buildroot at busybox.net > > > http://lists.busybox.net/mailman/listinfo/buildroot > > > > > > -- > > reLinux - Stephan Hoffmann > > Am Schmidtgrund 124 50765 K?ln > > Tel. +49.221.95595-19 Fax: -64 > > www.reLinux.de sho at reLinux.de > > > > _______________________________________________ > > buildroot mailing list > > buildroot at busybox.net > > http://lists.busybox.net/mailman/listinfo/buildroot -- reLinux - Stephan Hoffmann Am Schmidtgrund 124 50765 K?ln Tel. +49.221.95595-19 Fax: -64 www.reLinux.de sho at reLinux.de -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130827/1f1293d4/attachment-0001.html> ^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] wanna compile busybox and uclib with self modified code, please help 2013-08-27 9:26 ` Stephan Hoffmann @ 2013-08-28 2:36 ` hacklinux 2013-08-28 6:54 ` Stephan Hoffmann 2013-08-29 5:24 ` Arnout Vandecappelle 0 siblings, 2 replies; 12+ messages in thread From: hacklinux @ 2013-08-28 2:36 UTC (permalink / raw) To: buildroot according to the guidelines i made attempt as follow: /home/wangk/buildroot-2012.11.1 is where buildroote preject locate in server machine, under this directory a local.mk was created the snapshot of the project is as follow: [root at buildroot-2012.11.1]# ls arch boot config Config.in configs dl fs local.mk Makefile.legacy package system board CHANGES config_custom Config.in.legacy COPYING docs linux Makefile output support toolchain and then variable LINUX_OVERRIDE_SRCDIR = /home/wangk/linux-2.6.39 was aslo added in the local.mk file. after this i made menuconfig and in Build options -> location of a package override file i gave the location where local.mk locate and the value is as follow: ($(TOPDIR)/local.mk) location of a package override file however, when i tried to rebuild the project an error was posted concerning linux kenel that is : [root at buildroot-2012.11.1]# make --2013-08-28 11:25:08-- http://www.kernel.org/pub//linux/kernel/v2.6//linux-2.6.39.tar.bz2 Resolving www.kernel.org... failed: No address associated with hostname. wget: unable to resolve host address ?.ww.kernel.org? --2013-08-28 11:25:08-- http://sources.buildroot.net//linux-2.6.39.tar.bz2 Resolving sources.buildroot.net... failed: No address associated with hostname. wget: unable to resolve host address ?.ources.buildroot.net? make: *** [/home/wangk/buildroot-2012.11.1/dl/linux-2.6.39.tar.bz2] Error 1 [root at buildroot-2012.11.1]# very confused about this, is there anything wrong with i configure? By the way , within the article variable concerning linux source override is given, what about variables concerning busybox and uClib ? is there any way to rebuild only part of buildroote project, i mean, for example just rebuild kerenl or busybox, uClib etc . thx. Best regards wang Date: Tue, 27 Aug 2013 11:26:38 +0200 From: sho@relinux.de To: pipiliu_wangk at hotmail.com CC: buildroot at busybox.net; thomas.petazzoni at free-electrons.com Subject: Re: [Buildroot] wanna compile busybox and uclib with self modified code, please help Am 27.08.2013 10:32, schrieb hacklinux: i see two more parameters should be given somewhere in the buildroot project, however where should i put these two paremeters, please give me some advice, thx. MYPKG_SITE = /opt/software/something-special/ MYPKG_SITE_METHOD = local This is when you modify the mypkg.mk file, what you probably do not want to do. Just read the next chapter. > Date: Tue, 27 Aug 2013 09:52:31 +0200 > From: sho at relinux.de > To: buildroot at busybox.net > Subject: Re: [Buildroot] wanna compile busybox and uclib with self modified code, please help > > Am 27.08.2013 09:42, schrieb hacklinux: > > Hi thomas, > > > > i have a question concerning buildroot compiling wanna u help . the gz > > pacakge version which i used is buildroot-2012.11.1.tar.gz, i know how > > to build kernel, busybox, initrd following guildlines posted on web > > that puts all sort of items under dl directory and just make it. > > however, i wanna compile the busybox and uclib with some modification > > made by myself, i made several attemps but all failed, can u give me > > some advice on how to do this, wanna hear from u, sincely thank u indeed . > Hello William, > > you might want to look at > http://free-electrons.com/blog/buildroot-2011-11/ , especially the > source directory override mechanism. > > Regards > > Stephan > > > > william wang > > > > > > _______________________________________________ > > buildroot mailing list > > buildroot at busybox.net > > http://lists.busybox.net/mailman/listinfo/buildroot > > > -- > reLinux - Stephan Hoffmann > Am Schmidtgrund 124 50765 K?ln > Tel. +49.221.95595-19 Fax: -64 > www.reLinux.de sho at reLinux.de > > _______________________________________________ > buildroot mailing list > buildroot at busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot -- reLinux - Stephan Hoffmann Am Schmidtgrund 124 50765 K?ln Tel. +49.221.95595-19 Fax: -64 www.reLinux.de sho at reLinux.de -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130828/38b7a603/attachment-0001.html> ^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] wanna compile busybox and uclib with self modified code, please help 2013-08-28 2:36 ` hacklinux @ 2013-08-28 6:54 ` Stephan Hoffmann 2013-08-29 5:24 ` Arnout Vandecappelle 1 sibling, 0 replies; 12+ messages in thread From: Stephan Hoffmann @ 2013-08-28 6:54 UTC (permalink / raw) To: buildroot Am 28.08.2013 04:36, schrieb hacklinux: > according to the guidelines i made attempt as follow: > > /home/wangk/buildroot-2012.11.1 is where buildroote preject locate in > server machine, under this directory a local.mk was created the > snapshot of the project is as follow: > > [root at buildroot-2012.11.1]# ls > arch boot config Config.in configs dl fs > local.mk Makefile.legacy package system > board CHANGES config_custom Config.in.legacy COPYING docs linux > Makefile output support toolchain > > and then variable LINUX_OVERRIDE_SRCDIR = /home/wangk/linux-2.6.39 was > aslo added in the local.mk file. This sounds right to me. > after this i made menuconfig and in /Build options -> location of a > package override file i gave the location where local.mk locate and > the value is as follow: > > ($(TOPDIR)/local.mk) location of a package override file > / /I am not sure about this. In my .config there it is: BR2_PACKAGE_OVERRIDE_FILE="$(TOPDIR)/local.mk" Maybe the paranthesis break it. / > / > however, when i tried to rebuild the project an error was posted > concerning linux kenel that is : > > [root at buildroot-2012.11.1]# make > --2013-08-28 11:25:08-- > http://www.kernel.org/pub//linux/kernel/v2.6//linux-2.6.39.tar.bz2 > Resolving www.kernel.org... failed: No address associated with hostname. > wget: unable to resolve host address ?.ww.kernel.org? > --2013-08-28 11:25:08-- > http://sources.buildroot.net//linux-2.6.39.tar.bz2 > Resolving sources.buildroot.net... failed: No address associated with > hostname. > wget: unable to resolve host address ?.ources.buildroot.net? > make: *** [/home/wangk/buildroot-2012.11.1/dl/linux-2.6.39.tar.bz2] > Error 1 > [root at buildroot-2012.11.1]# > / /Obviously it tries to load the kernel from the internet, but does not have a connection./ > / > very confused about this, is there anything wrong with i configure? > > By the way , within the article variable concerning linux source > override is given, what about variables concerning busybox and uClib ? > / You can substitute LINUX by any packet name you want. Isn't that written in the manual? Regards Stephan > / > is there any way to rebuild only part of buildroote project, i mean, > for example just rebuild kerenl or busybox, uClib etc . thx. > > Best regards > wang > > > / > ------------------------------------------------------------------------ > Date: Tue, 27 Aug 2013 11:26:38 +0200 > From: sho at relinux.de > To: pipiliu_wangk at hotmail.com > CC: buildroot at busybox.net; thomas.petazzoni at free-electrons.com > Subject: Re: [Buildroot] wanna compile busybox and uclib with self > modified code, please help > > Am 27.08.2013 10:32, schrieb hacklinux: > > i see two more parameters should be given somewhere in the > buildroot project, however where should i put these two > paremeters, please give me some advice, thx. > > MYPKG_SITE = /opt/software/something-special/ > MYPKG_SITE_METHOD = local > > This is when you modify the mypkg.mk file, what you probably do not > want to do. > > Just read the next chapter. > > > > > Date: Tue, 27 Aug 2013 09:52:31 +0200 > > From: sho at relinux.de <mailto:sho@relinux.de> > > To: buildroot at busybox.net <mailto:buildroot@busybox.net> > > Subject: Re: [Buildroot] wanna compile busybox and uclib with > self modified code, please help > > > > Am 27.08.2013 09:42, schrieb hacklinux: > > > Hi thomas, > > > > > > i have a question concerning buildroot compiling wanna u help > . the gz > > > pacakge version which i used is buildroot-2012.11.1.tar.gz, i > know how > > > to build kernel, busybox, initrd following guildlines posted > on web > > > that puts all sort of items under dl directory and just make it. > > > however, i wanna compile the busybox and uclib with some > modification > > > made by myself, i made several attemps but all failed, can u > give me > > > some advice on how to do this, wanna hear from u, sincely > thank u indeed . > > Hello William, > > > > you might want to look at > > http://free-electrons.com/blog/buildroot-2011-11/ , especially the > > source directory override mechanism. > > > > Regards > > > > Stephan > > > > > > william wang > > > > > > > > > _______________________________________________ > > > buildroot mailing list > > > buildroot at busybox.net <mailto:buildroot@busybox.net> > > > http://lists.busybox.net/mailman/listinfo/buildroot > > > > > > -- > > reLinux - Stephan Hoffmann > > Am Schmidtgrund 124 50765 K?ln > > Tel. +49.221.95595-19 Fax: -64 > > www.reLinux.de <http://www.reLinux.de> sho at reLinux.de > <mailto:sho@reLinux.de> > > > > _______________________________________________ > > buildroot mailing list > > buildroot at busybox.net <mailto:buildroot@busybox.net> > > http://lists.busybox.net/mailman/listinfo/buildroot > > > > -- > reLinux - Stephan Hoffmann > Am Schmidtgrund 124 50765 K?ln > Tel. +49.221.95595-19 Fax: -64 > www.reLinux.de <http://www.reLinux.de> sho at reLinux.de <mailto:sho@reLinux.de> > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130828/6847e23f/attachment.html> ^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] wanna compile busybox and uclib with self modified code, please help 2013-08-28 2:36 ` hacklinux 2013-08-28 6:54 ` Stephan Hoffmann @ 2013-08-29 5:24 ` Arnout Vandecappelle 2013-08-29 8:12 ` Thomas Petazzoni 1 sibling, 1 reply; 12+ messages in thread From: Arnout Vandecappelle @ 2013-08-29 5:24 UTC (permalink / raw) To: buildroot On 08/28/13 04:36, hacklinux wrote: > according to the guidelines i made attempt as follow: > > /home/wangk/buildroot-2012.11.1 is where buildroote preject locate in > server machine, under this directory a local.mk was created the snapshot > of the project is as follow: > > [root at buildroot-2012.11.1]# ls > arch boot config Config.in configs dl fs > local.mk Makefile.legacy package system > board CHANGES config_custom Config.in.legacy COPYING docs linux > Makefile output support toolchain > > and then variable LINUX_OVERRIDE_SRCDIR = /home/wangk/linux-2.6.39 was > aslo added in the local.mk file. after this i made menuconfig and in > /Build options -> location of a package override file i gave the location > where local.mk locate and the value is as follow: > > ($(TOPDIR)/local.mk) location of a package override file > > however, when i tried to rebuild the project an error was posted > concerning linux kenel that is : > > [root at buildroot-2012.11.1]# make > --2013-08-28 11:25:08-- > http://www.kernel.org/pub//linux/kernel/v2.6//linux-2.6.39.tar.bz2 > Resolving www.kernel.org... failed: No address associated with hostname. > wget: unable to resolve host address ?.ww.kernel.org? > --2013-08-28 11:25:08-- http://sources.buildroot.net//linux-2.6.39.tar.bz2 > Resolving sources.buildroot.net... failed: No address associated with > hostname. > wget: unable to resolve host address ?.ources.buildroot.net? > make: *** [/home/wangk/buildroot-2012.11.1/dl/linux-2.6.39.tar.bz2] Error 1 > [root at buildroot-2012.11.1]# > > very confused about this, is there anything wrong with i configure? Perhaps you are using an internal toolchain? In that case buildroot also needs to install kernel headers (as part of the toolchain), and this is handled separately. So you should also add this to you local.mk: LINUX_HEADERS_OVERRIDE_SRCDIR = /home/wangk/linux-2.6.39 Regards, Arnout -- Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F ^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] wanna compile busybox and uclib with self modified code, please help 2013-08-29 5:24 ` Arnout Vandecappelle @ 2013-08-29 8:12 ` Thomas Petazzoni [not found] ` <BAY167-W75821A694A0D0A49BAA27394340@phx.gbl> 0 siblings, 1 reply; 12+ messages in thread From: Thomas Petazzoni @ 2013-08-29 8:12 UTC (permalink / raw) To: buildroot Dear Arnout Vandecappelle, On Thu, 29 Aug 2013 07:24:09 +0200, Arnout Vandecappelle wrote: > Perhaps you are using an internal toolchain? In that case buildroot > also needs to install kernel headers (as part of the toolchain), and this > is handled separately. So you should also add this to you local.mk: > > LINUX_HEADERS_OVERRIDE_SRCDIR = /home/wangk/linux-2.6.39 Originally, William said he wanted to modify Busybox and uClibc. So why would using LINUX_OVERRIDE_SRCDIR or LINUX_HEADERS_OVERRIDE_SRCDIR be useful for that? I'm thinking that William has read the LINUX_OVERRIDE_SRCDIR example in some slides or documentation, without realizing that it's actually <pkg>_OVERRIDE_SRCDIR and that therefore if the intent is to make some modifications to Busybox, BUSYBOX_OVERRIDE_SRCDIR should be used. Also, note that both linux-headers and uclibc became real packages *after* the 2013.05 release. So if anyone is using 2013.05 or earlier, those aren't packages, and the override source directory feature cannot be used. Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com ^ permalink raw reply [flat|nested] 12+ messages in thread
[parent not found: <BAY167-W75821A694A0D0A49BAA27394340@phx.gbl>]
* [Buildroot] wanna compile busybox and uclib with self modified code, please help [not found] ` <BAY167-W75821A694A0D0A49BAA27394340@phx.gbl> @ 2013-08-29 8:46 ` hacklinux 2013-08-29 8:50 ` Thomas Petazzoni 1 sibling, 0 replies; 12+ messages in thread From: hacklinux @ 2013-08-29 8:46 UTC (permalink / raw) To: buildroot -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130829/ed344cd4/attachment.html> ^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] wanna compile busybox and uclib with self modified code, please help [not found] ` <BAY167-W75821A694A0D0A49BAA27394340@phx.gbl> 2013-08-29 8:46 ` hacklinux @ 2013-08-29 8:50 ` Thomas Petazzoni 2013-08-29 9:01 ` hacklinux 2013-10-06 10:00 ` hacklinux 1 sibling, 2 replies; 12+ messages in thread From: Thomas Petazzoni @ 2013-08-29 8:50 UTC (permalink / raw) To: buildroot Dear hacklinux, Please do not reply to me directly, keep the Buildroot mailing list in Cc. On Thu, 29 Aug 2013 08:42:26 +0000, hacklinux wrote: > > Also, note that both linux-headers and uclibc became real packages > > *after* the 2013.05 release. So if anyone is using 2013.05 or earlier, > > those aren't packages, and the override source directory feature cannot > > be used. > > it seems right to me, i tried the override source feature in my environment and failed to compile from the given source. for the before 2013.05 version, is there any way to solve the problem, please help. It depends for which package you want to use the override source directory feature. That said, the override source directory feature is just an additional "help". You can also make your source modifications separately, create some patches, and import those patches in Buildroot once you're done doing your changes. For components that are simple to build outside of Buildroot (like Busybox), it's probably the easiest option. > there is another problem confusing me that i wanna compile linux2.4 version with buildroot. i put 2.4.tar.gz under dl directory and made changes through menuconfig, however, all that failed. so i wonder if buildroot suppoprt linux2.4 > version? We do not support Linux 2.4. Linux 2.6 itself is almost 10 years old. If you're still stuck at Linux 2.4, I believe that the absence of Buildroot support for it will be the smallest of your problem. A lot of userspace libraries and components will most likely use new system calls or Linux kernel features that were not available in Linux 2.4, so you would also have to use very old userspace components. > a personal question concerning linux kernel please help, i tried to joining the linux kernel mailing list through hotmail, however the mailing system cann't recongnize the applying mailing, i personlly figure out it should be something wroong with my email format, the mail i used is hotmail, is there anything wrong with my application? I have no idea. Maybe because your e-mails are all base64 encoded instead of being plain text e-mails? Or something else. I don't use hotmail, so I have no idea, sorry. Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com ^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] wanna compile busybox and uclib with self modified code, please help 2013-08-29 8:50 ` Thomas Petazzoni @ 2013-08-29 9:01 ` hacklinux 2013-10-06 10:00 ` hacklinux 1 sibling, 0 replies; 12+ messages in thread From: hacklinux @ 2013-08-29 9:01 UTC (permalink / raw) To: buildroot thx indeed. best regards wang > Date: Thu, 29 Aug 2013 10:50:47 +0200 > From: thomas.petazzoni at free-electrons.com > To: pipiliu_wangk at hotmail.com > CC: uclibc.org buildroot at uclibc.org > Subject: Re: [Buildroot] wanna compile busybox and uclib with self modified code, please help > > Dear hacklinux, > > Please do not reply to me directly, keep the Buildroot mailing list in > Cc. > > On Thu, 29 Aug 2013 08:42:26 +0000, hacklinux wrote: > > > Also, note that both linux-headers and uclibc became real packages > > > *after* the 2013.05 release. So if anyone is using 2013.05 or earlier, > > > those aren't packages, and the override source directory feature cannot > > > be used. > > > > it seems right to me, i tried the override source feature in my environment and failed to compile from the given source. for the before 2013.05 version, is there any way to solve the problem, please help. > > It depends for which package you want to use the override source > directory feature. > > That said, the override source directory feature is just an additional > "help". You can also make your source modifications separately, create > some patches, and import those patches in Buildroot once you're done > doing your changes. For components that are simple to build outside of > Buildroot (like Busybox), it's probably the easiest option. > > > there is another problem confusing me that i wanna compile linux2.4 version with buildroot. i put 2.4.tar.gz under dl directory and made changes through menuconfig, however, all that failed. so i wonder if buildroot suppoprt linux2.4 > > version? > > We do not support Linux 2.4. Linux 2.6 itself is almost 10 years old. > If you're still stuck at Linux 2.4, I believe that the absence of > Buildroot support for it will be the smallest of your problem. A lot of > userspace libraries and components will most likely use new system > calls or Linux kernel features that were not available in Linux 2.4, so > you would also have to use very old userspace components. > > > a personal question concerning linux kernel please help, i tried to joining the linux kernel mailing list through hotmail, however the mailing system cann't recongnize the applying mailing, i personlly figure out it should be something wroong with my email format, the mail i used is hotmail, is there anything wrong with my application? > > I have no idea. Maybe because your e-mails are all base64 encoded > instead of being plain text e-mails? Or something else. I don't use > hotmail, so I have no idea, sorry. > > Thomas > -- > Thomas Petazzoni, Free Electrons > Kernel, drivers, real-time and embedded Linux > development, consulting, training and support. > http://free-electrons.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130829/6478e470/attachment.html> ^ permalink raw reply [flat|nested] 12+ messages in thread
* [Buildroot] wanna compile busybox and uclib with self modified code, please help 2013-08-29 8:50 ` Thomas Petazzoni 2013-08-29 9:01 ` hacklinux @ 2013-10-06 10:00 ` hacklinux 1 sibling, 0 replies; 12+ messages in thread From: hacklinux @ 2013-10-06 10:00 UTC (permalink / raw) To: buildroot Dear thomas: i got buildroot-2013.08.1 package and created the local.mk file, the content of the file is as follow: BUSYBOX_OVERRIDE_SRCDIR = /home/wangk/busybox-1.21.1UCLIBC_OVERRIDE_SRCDIR = /home/wangk/uClibc-0.9.33.2 when i tried the make cmd the compile error occured which is as follow: ROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fpic -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fpic -I. -I. -I../.././gcc -I../../../libgcc -I../../../libgcc/. -I../../../libgcc/../gcc -I../../../libgcc/../include -DHAVE_CC_TLS -DUSE_TLS -o _gcov_execv.o -MT _gcov_execv.o -MD -MP -MF _gcov_execv.dep -DL_gcov_execv -c ../../../libgcc/libgcov.c../../../libgcc/generic-morestack-thread.c:41:21: fatal error: pthread.h: No such file or directorycompilation terminated.make[2]: *** [generic-morestack-thread.o] Error 1make[2]: *** Waiting for unfinished jobs....make[2]: Leaving directory `/home/wangk/buildroot-2013.08.1/output/build/host-gcc-intermediate-4.7.3/build/i686-buildroot-linux-uclibc/libgcc'make[1]: *** [all-target-libgcc] Error 2make[1]: Leaving directory `/home/wangk/buildroot-2013.08.1/output/build/host-gcc-intermediate-4.7.3/build'make: *** [/home/wangk/buildroot-2013.08.1/output/build/host-gcc-intermediate-4.7.3/.stamp_built] Error 2 i knew the reason for this error is miss of pthread.h, but how should i config the busybox to solve the problem. Best regards. > Date: Thu, 29 Aug 2013 10:50:47 +0200 > From: thomas.petazzoni at free-electrons.com > To: pipiliu_wangk at hotmail.com > CC: uclibc.org buildroot at uclibc.org > Subject: Re: [Buildroot] wanna compile busybox and uclib with self modified code, please help > > Dear hacklinux, > > Please do not reply to me directly, keep the Buildroot mailing list in > Cc. > > On Thu, 29 Aug 2013 08:42:26 +0000, hacklinux wrote: > > > Also, note that both linux-headers and uclibc became real packages > > > *after* the 2013.05 release. So if anyone is using 2013.05 or earlier, > > > those aren't packages, and the override source directory feature cannot > > > be used. > > > > it seems right to me, i tried the override source feature in my environment and failed to compile from the given source. for the before 2013.05 version, is there any way to solve the problem, please help. > > It depends for which package you want to use the override source > directory feature. > > That said, the override source directory feature is just an additional > "help". You can also make your source modifications separately, create > some patches, and import those patches in Buildroot once you're done > doing your changes. For components that are simple to build outside of > Buildroot (like Busybox), it's probably the easiest option. > > > there is another problem confusing me that i wanna compile linux2.4 version with buildroot. i put 2.4.tar.gz under dl directory and made changes through menuconfig, however, all that failed. so i wonder if buildroot suppoprt linux2.4 > > version? > > We do not support Linux 2.4. Linux 2.6 itself is almost 10 years old. > If you're still stuck at Linux 2.4, I believe that the absence of > Buildroot support for it will be the smallest of your problem. A lot of > userspace libraries and components will most likely use new system > calls or Linux kernel features that were not available in Linux 2.4, so > you would also have to use very old userspace components. > > > a personal question concerning linux kernel please help, i tried to joining the linux kernel mailing list through hotmail, however the mailing system cann't recongnize the applying mailing, i personlly figure out it should be something wroong with my email format, the mail i used is hotmail, is there anything wrong with my application? > > I have no idea. Maybe because your e-mails are all base64 encoded > instead of being plain text e-mails? Or something else. I don't use > hotmail, so I have no idea, sorry. > > Thomas > -- > Thomas Petazzoni, Free Electrons > Kernel, drivers, real-time and embedded Linux > development, consulting, training and support. > http://free-electrons.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20131006/5703dc27/attachment-0001.html> ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2013-10-06 10:00 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-27 7:42 [Buildroot] wanna compile busybox and uclib with self modified code, please help hacklinux
2013-08-27 7:52 ` Stephan Hoffmann
2013-08-27 8:32 ` hacklinux
2013-08-27 9:26 ` Stephan Hoffmann
2013-08-28 2:36 ` hacklinux
2013-08-28 6:54 ` Stephan Hoffmann
2013-08-29 5:24 ` Arnout Vandecappelle
2013-08-29 8:12 ` Thomas Petazzoni
[not found] ` <BAY167-W75821A694A0D0A49BAA27394340@phx.gbl>
2013-08-29 8:46 ` hacklinux
2013-08-29 8:50 ` Thomas Petazzoni
2013-08-29 9:01 ` hacklinux
2013-10-06 10:00 ` hacklinux
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox