* [Buildroot] Configuring the gpsd package @ 2014-01-01 15:31 Gabi Kelemen 2014-01-01 16:20 ` Baruch Siach 0 siblings, 1 reply; 16+ messages in thread From: Gabi Kelemen @ 2014-01-01 15:31 UTC (permalink / raw) To: buildroot Hi, As I see in the gpsd_config.h file which is generated by scons, there are several definitions that, as I understand, can be configured during build. Can anyone tell me how to use the config.in file for that, or any other way that I can do that? For example: I want to enable only NMEA protocol and disable PPS and ntp_shm. Thank you, Gabik ________________________________ This electronic message, including attachments, is intended only for the use of the individual or company named above or to which it is addressed. The information contained in this message shall be considered confidential and proprietary, and may include confidential work product. If you are not the intended recipient, please be aware that any unauthorized use, dissemination, distribution or copying of this message is strictly prohibited. If you have received this email in error, please notify the sender by replying to this message and deleting this email immediately. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140101/f579ffd0/attachment.html> ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Buildroot] Configuring the gpsd package 2014-01-01 15:31 [Buildroot] Configuring the gpsd package Gabi Kelemen @ 2014-01-01 16:20 ` Baruch Siach 2014-01-02 7:53 ` Gabi Kelemen 0 siblings, 1 reply; 16+ messages in thread From: Baruch Siach @ 2014-01-01 16:20 UTC (permalink / raw) To: buildroot Hi Gabi, On Wed, Jan 01, 2014 at 03:31:55PM +0000, Gabi Kelemen wrote: > As I see in the gpsd_config.h file which is generated by scons, there are > several definitions that, as I understand, can be configured during build. > Can anyone tell me how to use the config.in file for that, or any other way > that I can do that? > > For example: I want to enable only NMEA protocol and disable PPS and ntp_shm. Do 'make menuconfig' and go to 'Target packages' -> 'Hardware handling' -> 'gpsd' -> 'Features' and 'Protocols'. The options you mention are called 'NMEA' (under 'Protocols'), 'PPS time syncing support', and 'NTP time hinting support' (both under 'Features'). Just enable or disable them as needed. I hope this helps. baruch -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il - ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Buildroot] Configuring the gpsd package 2014-01-01 16:20 ` Baruch Siach @ 2014-01-02 7:53 ` Gabi Kelemen 2014-01-02 8:01 ` Baruch Siach 0 siblings, 1 reply; 16+ messages in thread From: Gabi Kelemen @ 2014-01-02 7:53 UTC (permalink / raw) To: buildroot Hi Baruch, I'm not using the most current version of buildroot, I just took the gpsd package from a new version and want to use it with an old version. Therefore I cannot do the changes you suggest, because I don't see the gpsd option. Can you think of any other suggestions? Thanks, Gabi. -----Original Message----- From: Baruch Siach [mailto:baruch at tkos.co.il] Sent: Wednesday, January 01, 2014 6:21 PM To: Gabi Kelemen Cc: buildroot at busybox.net Subject: Re: [Buildroot] Configuring the gpsd package Hi Gabi, On Wed, Jan 01, 2014 at 03:31:55PM +0000, Gabi Kelemen wrote: > As I see in the gpsd_config.h file which is generated by scons, there > are several definitions that, as I understand, can be configured during build. > Can anyone tell me how to use the config.in file for that, or any > other way that I can do that? > > For example: I want to enable only NMEA protocol and disable PPS and ntp_shm. Do 'make menuconfig' and go to 'Target packages' -> 'Hardware handling' -> 'gpsd' -> 'Features' and 'Protocols'. The options you mention are called 'NMEA' (under 'Protocols'), 'PPS time syncing support', and 'NTP time hinting support' (both under 'Features'). Just enable or disable them as needed. I hope this helps. baruch -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il - ________________________________ This electronic message, including attachments, is intended only for the use of the individual or company named above or to which it is addressed. The information contained in this message shall be considered confidential and proprietary, and may include confidential work product. If you are not the intended recipient, please be aware that any unauthorized use, dissemination, distribution or copying of this message is strictly prohibited. If you have received this email in error, please notify the sender by replying to this message and deleting this email immediately. ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Buildroot] Configuring the gpsd package 2014-01-02 7:53 ` Gabi Kelemen @ 2014-01-02 8:01 ` Baruch Siach 2014-01-02 8:21 ` Gabi Kelemen 0 siblings, 1 reply; 16+ messages in thread From: Baruch Siach @ 2014-01-02 8:01 UTC (permalink / raw) To: buildroot Hi Gabi, On Thu, Jan 02, 2014 at 07:53:27AM +0000, Gabi Kelemen wrote: > I'm not using the most current version of buildroot, I just took the gpsd > package from a new version and want to use it with an old version. > Therefore I cannot do the changes you suggest, because I don't see the gpsd option. > Can you think of any other suggestions? What is it exactly that you don't see? Do you see the "gpsd" checker box at all? The basic config syntax has not changed much in recent years, so you should see these options. What Buildroot version are you using? baruch > -----Original Message----- > From: Baruch Siach [mailto:baruch at tkos.co.il] > Sent: Wednesday, January 01, 2014 6:21 PM > To: Gabi Kelemen > Cc: buildroot at busybox.net > Subject: Re: [Buildroot] Configuring the gpsd package > > Hi Gabi, > > On Wed, Jan 01, 2014 at 03:31:55PM +0000, Gabi Kelemen wrote: > > As I see in the gpsd_config.h file which is generated by scons, there > > are several definitions that, as I understand, can be configured during build. > > Can anyone tell me how to use the config.in file for that, or any > > other way that I can do that? > > > > For example: I want to enable only NMEA protocol and disable PPS and ntp_shm. > > Do 'make menuconfig' and go to 'Target packages' -> 'Hardware handling' -> > 'gpsd' -> 'Features' and 'Protocols'. The options you mention are called > 'NMEA' (under 'Protocols'), 'PPS time syncing support', and 'NTP time > hinting support' (both under 'Features'). Just enable or disable them as > needed. > > I hope this helps. > > baruch -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il - ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Buildroot] Configuring the gpsd package 2014-01-02 8:01 ` Baruch Siach @ 2014-01-02 8:21 ` Gabi Kelemen 2014-01-02 8:45 ` Baruch Siach 0 siblings, 1 reply; 16+ messages in thread From: Gabi Kelemen @ 2014-01-02 8:21 UTC (permalink / raw) To: buildroot Hi Baruch, I don't see the gpsd checker box at all. I'm using buildroot version 2010.11. BTW, does my problem can have anything to do with the SCONS package needed to build the gpsd? Gabi. -----Original Message----- From: Baruch Siach [mailto:baruch at tkos.co.il] Sent: Thursday, January 02, 2014 10:02 AM To: Gabi Kelemen Cc: buildroot at busybox.net Subject: Re: [Buildroot] Configuring the gpsd package Hi Gabi, On Thu, Jan 02, 2014 at 07:53:27AM +0000, Gabi Kelemen wrote: > I'm not using the most current version of buildroot, I just took the > gpsd package from a new version and want to use it with an old version. > Therefore I cannot do the changes you suggest, because I don't see the gpsd option. > Can you think of any other suggestions? What is it exactly that you don't see? Do you see the "gpsd" checker box at all? The basic config syntax has not changed much in recent years, so you should see these options. What Buildroot version are you using? baruch > -----Original Message----- > From: Baruch Siach [mailto:baruch at tkos.co.il] > Sent: Wednesday, January 01, 2014 6:21 PM > To: Gabi Kelemen > Cc: buildroot at busybox.net > Subject: Re: [Buildroot] Configuring the gpsd package > > Hi Gabi, > > On Wed, Jan 01, 2014 at 03:31:55PM +0000, Gabi Kelemen wrote: > > As I see in the gpsd_config.h file which is generated by scons, > > there are several definitions that, as I understand, can be configured during build. > > Can anyone tell me how to use the config.in file for that, or any > > other way that I can do that? > > > > For example: I want to enable only NMEA protocol and disable PPS and ntp_shm. > > Do 'make menuconfig' and go to 'Target packages' -> 'Hardware > handling' -> 'gpsd' -> 'Features' and 'Protocols'. The options you > mention are called 'NMEA' (under 'Protocols'), 'PPS time syncing > support', and 'NTP time hinting support' (both under 'Features'). Just > enable or disable them as needed. > > I hope this helps. > > baruch -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il - ________________________________ This electronic message, including attachments, is intended only for the use of the individual or company named above or to which it is addressed. The information contained in this message shall be considered confidential and proprietary, and may include confidential work product. If you are not the intended recipient, please be aware that any unauthorized use, dissemination, distribution or copying of this message is strictly prohibited. If you have received this email in error, please notify the sender by replying to this message and deleting this email immediately. ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Buildroot] Configuring the gpsd package 2014-01-02 8:21 ` Gabi Kelemen @ 2014-01-02 8:45 ` Baruch Siach 2014-01-02 9:40 ` Gabi Kelemen 0 siblings, 1 reply; 16+ messages in thread From: Baruch Siach @ 2014-01-02 8:45 UTC (permalink / raw) To: buildroot Hi Gabi, On Thu, Jan 02, 2014 at 08:21:16AM +0000, Gabi Kelemen wrote: > I don't see the gpsd checker box at all. Then you have much bigger problem than protocol selection. Have you added the needed 'source' directive in package/Config.in? > I'm using buildroot version 2010.11. This is quite old. A lot has changes since then. The level of support you can expect from Buildroot developers will increase significantly if you update to something more recent. > BTW, does my problem can have anything to do with the SCONS package needed > to build the gpsd? Probably not. But you are likely to encounter a build failure once you fix you Config.in problem. Installing scons on your host might be enough, though. baruch > -----Original Message----- > From: Baruch Siach [mailto:baruch at tkos.co.il] > Sent: Thursday, January 02, 2014 10:02 AM > To: Gabi Kelemen > Cc: buildroot at busybox.net > Subject: Re: [Buildroot] Configuring the gpsd package > > Hi Gabi, > > On Thu, Jan 02, 2014 at 07:53:27AM +0000, Gabi Kelemen wrote: > > I'm not using the most current version of buildroot, I just took the > > gpsd package from a new version and want to use it with an old version. > > Therefore I cannot do the changes you suggest, because I don't see the gpsd option. > > Can you think of any other suggestions? > > What is it exactly that you don't see? Do you see the "gpsd" checker box at all? The basic config syntax has not changed much in recent years, so you should see these options. > > What Buildroot version are you using? > > baruch > > > -----Original Message----- > > From: Baruch Siach [mailto:baruch at tkos.co.il] > > Sent: Wednesday, January 01, 2014 6:21 PM > > To: Gabi Kelemen > > Cc: buildroot at busybox.net > > Subject: Re: [Buildroot] Configuring the gpsd package > > > > Hi Gabi, > > > > On Wed, Jan 01, 2014 at 03:31:55PM +0000, Gabi Kelemen wrote: > > > As I see in the gpsd_config.h file which is generated by scons, > > > there are several definitions that, as I understand, can be configured during build. > > > Can anyone tell me how to use the config.in file for that, or any > > > other way that I can do that? > > > > > > For example: I want to enable only NMEA protocol and disable PPS and ntp_shm. > > > > Do 'make menuconfig' and go to 'Target packages' -> 'Hardware > > handling' -> 'gpsd' -> 'Features' and 'Protocols'. The options you > > mention are called 'NMEA' (under 'Protocols'), 'PPS time syncing > > support', and 'NTP time hinting support' (both under 'Features'). Just > > enable or disable them as needed. > > > > I hope this helps. > > > > baruch -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il - ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Buildroot] Configuring the gpsd package 2014-01-02 8:45 ` Baruch Siach @ 2014-01-02 9:40 ` Gabi Kelemen 2014-01-02 10:04 ` Baruch Siach 0 siblings, 1 reply; 16+ messages in thread From: Gabi Kelemen @ 2014-01-02 9:40 UTC (permalink / raw) To: buildroot Hi Baruch, Yes, I've added it under menu "Hardware handling". Do I need to rebuild the buildroot for this change to take place? I was asking regarding the SCONS because at the top of the gpsd_config.h file it says that this file is generated by SCONS. Gabi. -----Original Message----- From: Baruch Siach [mailto:baruch at tkos.co.il] Sent: Thursday, January 02, 2014 10:46 AM To: Gabi Kelemen Cc: buildroot at busybox.net Subject: Re: [Buildroot] Configuring the gpsd package Hi Gabi, On Thu, Jan 02, 2014 at 08:21:16AM +0000, Gabi Kelemen wrote: > I don't see the gpsd checker box at all. Then you have much bigger problem than protocol selection. Have you added the needed 'source' directive in package/Config.in? > I'm using buildroot version 2010.11. This is quite old. A lot has changes since then. The level of support you can expect from Buildroot developers will increase significantly if you update to something more recent. > BTW, does my problem can have anything to do with the SCONS package > needed to build the gpsd? Probably not. But you are likely to encounter a build failure once you fix you Config.in problem. Installing scons on your host might be enough, though. baruch > -----Original Message----- > From: Baruch Siach [mailto:baruch at tkos.co.il] > Sent: Thursday, January 02, 2014 10:02 AM > To: Gabi Kelemen > Cc: buildroot at busybox.net > Subject: Re: [Buildroot] Configuring the gpsd package > > Hi Gabi, > > On Thu, Jan 02, 2014 at 07:53:27AM +0000, Gabi Kelemen wrote: > > I'm not using the most current version of buildroot, I just took the > > gpsd package from a new version and want to use it with an old version. > > Therefore I cannot do the changes you suggest, because I don't see the gpsd option. > > Can you think of any other suggestions? > > What is it exactly that you don't see? Do you see the "gpsd" checker box at all? The basic config syntax has not changed much in recent years, so you should see these options. > > What Buildroot version are you using? > > baruch > > > -----Original Message----- > > From: Baruch Siach [mailto:baruch at tkos.co.il] > > Sent: Wednesday, January 01, 2014 6:21 PM > > To: Gabi Kelemen > > Cc: buildroot at busybox.net > > Subject: Re: [Buildroot] Configuring the gpsd package > > > > Hi Gabi, > > > > On Wed, Jan 01, 2014 at 03:31:55PM +0000, Gabi Kelemen wrote: > > > As I see in the gpsd_config.h file which is generated by scons, > > > there are several definitions that, as I understand, can be configured during build. > > > Can anyone tell me how to use the config.in file for that, or any > > > other way that I can do that? > > > > > > For example: I want to enable only NMEA protocol and disable PPS and ntp_shm. > > > > Do 'make menuconfig' and go to 'Target packages' -> 'Hardware > > handling' -> 'gpsd' -> 'Features' and 'Protocols'. The options you > > mention are called 'NMEA' (under 'Protocols'), 'PPS time syncing > > support', and 'NTP time hinting support' (both under 'Features'). > > Just enable or disable them as needed. > > > > I hope this helps. > > > > baruch -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il - ________________________________ This electronic message, including attachments, is intended only for the use of the individual or company named above or to which it is addressed. The information contained in this message shall be considered confidential and proprietary, and may include confidential work product. If you are not the intended recipient, please be aware that any unauthorized use, dissemination, distribution or copying of this message is strictly prohibited. If you have received this email in error, please notify the sender by replying to this message and deleting this email immediately. ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Buildroot] Configuring the gpsd package 2014-01-02 9:40 ` Gabi Kelemen @ 2014-01-02 10:04 ` Baruch Siach 2014-01-02 10:29 ` Gabi Kelemen 0 siblings, 1 reply; 16+ messages in thread From: Baruch Siach @ 2014-01-02 10:04 UTC (permalink / raw) To: buildroot Hi Gabi, On Thu, Jan 02, 2014 at 09:40:21AM +0000, Gabi Kelemen wrote: > Yes, I've added it under menu "Hardware handling". Can you send your changes as a patch? > Do I need to rebuild the buildroot for this change to take place? No. Confing.in changes should take place once you restart 'make menuconfig'. > I was asking regarding the SCONS because at the top of the gpsd_config.h > file it says that this file is generated by SCONS. Of course. host-scons is listed as gpsd dependency, but you don't have host-scons in Buildroot version 2010.11 unfortunately. baruch > -----Original Message----- > From: Baruch Siach [mailto:baruch at tkos.co.il] > To: Gabi Kelemen > Cc: buildroot at busybox.net > > On Thu, Jan 02, 2014 at 08:21:16AM +0000, Gabi Kelemen wrote: > > I don't see the gpsd checker box at all. > > Then you have a much bigger problem than protocol selection. Have you added > the needed 'source' directive in package/Config.in? > > > I'm using buildroot version 2010.11. > > This is quite old. A lot has changes since then. The level of support you > can expect from Buildroot developers will increase significantly if you > update to something more recent. > > > BTW, does my problem can have anything to do with the SCONS package > > needed to build the gpsd? > > Probably not. But you are likely to encounter a build failure once you fix > you Config.in problem. Installing scons on your host might be enough, > though. > > baruch -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il - ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Buildroot] Configuring the gpsd package 2014-01-02 10:04 ` Baruch Siach @ 2014-01-02 10:29 ` Gabi Kelemen 2014-01-06 15:42 ` Gabi Kelemen 0 siblings, 1 reply; 16+ messages in thread From: Gabi Kelemen @ 2014-01-02 10:29 UTC (permalink / raw) To: buildroot Hi Baruch, Unfortunately I cannot send you my changes because it is not a private file. I wrote it just like any other source directive. Regarding the host-scons, I added this package as well so I am able to build the gpsd. (I couldn't build it otherwise). Again, it is just that I'm unable to make changes to the source gpsd_config.h during build. Well, I guess I'll have to write a patch for that....... Gabi -----Original Message----- From: Baruch Siach [mailto:baruch at tkos.co.il] Sent: Thursday, January 02, 2014 12:05 PM To: Gabi Kelemen Cc: buildroot at busybox.net Subject: Re: [Buildroot] Configuring the gpsd package Hi Gabi, On Thu, Jan 02, 2014 at 09:40:21AM +0000, Gabi Kelemen wrote: > Yes, I've added it under menu "Hardware handling". Can you send your changes as a patch? > Do I need to rebuild the buildroot for this change to take place? No. Confing.in changes should take place once you restart 'make menuconfig'. > I was asking regarding the SCONS because at the top of the > gpsd_config.h file it says that this file is generated by SCONS. Of course. host-scons is listed as gpsd dependency, but you don't have host-scons in Buildroot version 2010.11 unfortunately. baruch > -----Original Message----- > From: Baruch Siach [mailto:baruch at tkos.co.il] > To: Gabi Kelemen > Cc: buildroot at busybox.net > > On Thu, Jan 02, 2014 at 08:21:16AM +0000, Gabi Kelemen wrote: > > I don't see the gpsd checker box at all. > > Then you have a much bigger problem than protocol selection. Have you > added the needed 'source' directive in package/Config.in? > > > I'm using buildroot version 2010.11. > > This is quite old. A lot has changes since then. The level of support > you can expect from Buildroot developers will increase significantly > if you update to something more recent. > > > BTW, does my problem can have anything to do with the SCONS package > > needed to build the gpsd? > > Probably not. But you are likely to encounter a build failure once you > fix you Config.in problem. Installing scons on your host might be > enough, though. > > baruch -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il - ________________________________ This electronic message, including attachments, is intended only for the use of the individual or company named above or to which it is addressed. The information contained in this message shall be considered confidential and proprietary, and may include confidential work product. If you are not the intended recipient, please be aware that any unauthorized use, dissemination, distribution or copying of this message is strictly prohibited. If you have received this email in error, please notify the sender by replying to this message and deleting this email immediately. ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Buildroot] Configuring the gpsd package 2014-01-02 10:29 ` Gabi Kelemen @ 2014-01-06 15:42 ` Gabi Kelemen 2014-01-06 15:56 ` Baruch Siach 0 siblings, 1 reply; 16+ messages in thread From: Gabi Kelemen @ 2014-01-06 15:42 UTC (permalink / raw) To: buildroot Hi Baruch, After doing some more diggings, I found that the reason I don't see the gpsd option in menuconfig, is due to the 2 dependencies BR2_USE_MMU, BR2_TOOLCHAIN_HAS_THREADS which I probably don't have. Correct me if I'm wrong, but this is the same reason that the changes I make to the config.in are not affecting the gpsd_config.h file? Anyway, I was able to run the gpsd and use the it in spite of probably not having the two dependencies. My questions are: 1. What is the purpose of the two dependencies? 2. How come I was able to use the daemon anyway? Thank you Gabi. -----Original Message----- From: buildroot-bounces@busybox.net [mailto:buildroot-bounces at busybox.net] On Behalf Of Gabi Kelemen Sent: Thursday, January 02, 2014 12:30 PM To: Baruch Siach Cc: buildroot at busybox.net Subject: Re: [Buildroot] Configuring the gpsd package Hi Baruch, Unfortunately I cannot send you my changes because it is not a private file. I wrote it just like any other source directive. Regarding the host-scons, I added this package as well so I am able to build the gpsd. (I couldn't build it otherwise). Again, it is just that I'm unable to make changes to the source gpsd_config.h during build. Well, I guess I'll have to write a patch for that....... Gabi -----Original Message----- From: Baruch Siach [mailto:baruch at tkos.co.il] Sent: Thursday, January 02, 2014 12:05 PM To: Gabi Kelemen Cc: buildroot at busybox.net Subject: Re: [Buildroot] Configuring the gpsd package Hi Gabi, On Thu, Jan 02, 2014 at 09:40:21AM +0000, Gabi Kelemen wrote: > Yes, I've added it under menu "Hardware handling". Can you send your changes as a patch? > Do I need to rebuild the buildroot for this change to take place? No. Confing.in changes should take place once you restart 'make menuconfig'. > I was asking regarding the SCONS because at the top of the > gpsd_config.h file it says that this file is generated by SCONS. Of course. host-scons is listed as gpsd dependency, but you don't have host-scons in Buildroot version 2010.11 unfortunately. baruch > -----Original Message----- > From: Baruch Siach [mailto:baruch at tkos.co.il] > To: Gabi Kelemen > Cc: buildroot at busybox.net > > On Thu, Jan 02, 2014 at 08:21:16AM +0000, Gabi Kelemen wrote: > > I don't see the gpsd checker box at all. > > Then you have a much bigger problem than protocol selection. Have you > added the needed 'source' directive in package/Config.in? > > > I'm using buildroot version 2010.11. > > This is quite old. A lot has changes since then. The level of support > you can expect from Buildroot developers will increase significantly > if you update to something more recent. > > > BTW, does my problem can have anything to do with the SCONS package > > needed to build the gpsd? > > Probably not. But you are likely to encounter a build failure once you > fix you Config.in problem. Installing scons on your host might be > enough, though. > > baruch -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il - ________________________________ This electronic message, including attachments, is intended only for the use of the individual or company named above or to which it is addressed. The information contained in this message shall be considered confidential and proprietary, and may include confidential work product. If you are not the intended recipient, please be aware that any unauthorized use, dissemination, distribution or copying of this message is strictly prohibited. If you have received this email in error, please notify the sender by replying to this message and deleting this email immediately. _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Buildroot] Configuring the gpsd package 2014-01-06 15:42 ` Gabi Kelemen @ 2014-01-06 15:56 ` Baruch Siach 2014-01-28 17:33 ` Thomas Petazzoni 0 siblings, 1 reply; 16+ messages in thread From: Baruch Siach @ 2014-01-06 15:56 UTC (permalink / raw) To: buildroot Hi Gabi, On Mon, Jan 06, 2014 at 03:42:31PM +0000, Gabi Kelemen wrote: > After doing some more diggings, I found that the reason I don't see the gpsd > option in menuconfig, is due to the 2 dependencies BR2_USE_MMU, > BR2_TOOLCHAIN_HAS_THREADS which I probably don't have. > Correct me if I'm wrong, but this is the same reason that the changes I make > to the config.in are not affecting the gpsd_config.h file? > > Anyway, I was able to run the gpsd and use the it in spite of probably not > having the two dependencies. My questions are: > 1. What is the purpose of the two dependencies? As the comment above the MMU dependency says, the gpsd code uses fork(). This system call is not available on non-MMU systems. The same goes for threads support. The package uses the pthreads API, and doesn't build without it. > 2. How come I was able to use the daemon anyway? Apparently you are using an external toolchain. When using an external toolchain you need to explicitly tell Buildroot whether you toolchain includes threading supports. As to MMU, for some reason this is option is disabled on your configuration, although clearly your target has MMU enabled. baruch -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il - ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Buildroot] Configuring the gpsd package 2014-01-06 15:56 ` Baruch Siach @ 2014-01-28 17:33 ` Thomas Petazzoni 2014-01-28 19:07 ` Baruch Siach 0 siblings, 1 reply; 16+ messages in thread From: Thomas Petazzoni @ 2014-01-28 17:33 UTC (permalink / raw) To: buildroot Dear Baruch Siach, On Mon, 6 Jan 2014 17:56:37 +0200, Baruch Siach wrote: > > Anyway, I was able to run the gpsd and use the it in spite of probably not > > having the two dependencies. My questions are: > > 1. What is the purpose of the two dependencies? > > As the comment above the MMU dependency says, the gpsd code uses fork(). This > system call is not available on non-MMU systems. The same goes for threads > support. The package uses the pthreads API, and doesn't build without it. > > > 2. How come I was able to use the daemon anyway? > > Apparently you are using an external toolchain. When using an external > toolchain you need to explicitly tell Buildroot whether you toolchain includes > threading supports. Correct, but Buildroot checks the selection the user has made in menuconfig against the real configuration of the toolchain, and if they don't match, the Buildroot build doesn't even start. Therefore, there is normally no way to do an incorrect configuration here. > As to MMU, for some reason this is option is disabled on your configuration, > although clearly your target has MMU enabled. Where have you seen Gabi's .config ? I've gone through this thread again, and I haven't seen his .config. That being said, Gabi uses a 3+ years old Buildroot, and refuses to share his changes, so I must say that the incentive to provide some free support in such a situation is fairly low. Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Buildroot] Configuring the gpsd package 2014-01-28 17:33 ` Thomas Petazzoni @ 2014-01-28 19:07 ` Baruch Siach 2014-01-28 19:42 ` Thomas Petazzoni 0 siblings, 1 reply; 16+ messages in thread From: Baruch Siach @ 2014-01-28 19:07 UTC (permalink / raw) To: buildroot HI Thomas, On Tue, Jan 28, 2014 at 06:33:40PM +0100, Thomas Petazzoni wrote: > On Mon, 6 Jan 2014 17:56:37 +0200, Baruch Siach wrote: > > > Anyway, I was able to run the gpsd and use the it in spite of probably > > > not having the two dependencies. My questions are: > > > 1. What is the purpose of the two dependencies? > > > > As the comment above the MMU dependency says, the gpsd code uses fork(). This > > system call is not available on non-MMU systems. The same goes for threads > > support. The package uses the pthreads API, and doesn't build without it. > > > > > 2. How come I was able to use the daemon anyway? > > > > Apparently you are using an external toolchain. When using an external > > toolchain you need to explicitly tell Buildroot whether you toolchain includes > > threading supports. > > Correct, but Buildroot checks the selection the user has made in > menuconfig against the real configuration of the toolchain, and if they > don't match, the Buildroot build doesn't even start. Therefore, there > is normally no way to do an incorrect configuration here. Interesting. Where is the code implementing this check? Does it detect threading support when the user has not indicated that the toolchain has it (as is apparently the case here)? > > As to MMU, for some reason this is option is disabled on your > > configuration, although clearly your target has MMU enabled. > > Where have you seen Gabi's .config ? I've gone through this thread > again, and I haven't seen his .config. The message at http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/73739 may be interpreted as saying that MMU and HAS_THREADS are not enabled, though it is more likely that only HAS_THREADS is missing. > That being said, Gabi uses a 3+ years old Buildroot, and refuses to > share his changes, so I must say that the incentive to provide some > free support in such a situation is fairly low. Agreed. baruch -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il - ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Buildroot] Configuring the gpsd package 2014-01-28 19:07 ` Baruch Siach @ 2014-01-28 19:42 ` Thomas Petazzoni 2014-01-29 7:31 ` Gabi Kelemen 0 siblings, 1 reply; 16+ messages in thread From: Thomas Petazzoni @ 2014-01-28 19:42 UTC (permalink / raw) To: buildroot Dear Baruch Siach, On Tue, 28 Jan 2014 21:07:25 +0200, Baruch Siach wrote: > > Correct, but Buildroot checks the selection the user has made in > > menuconfig against the real configuration of the toolchain, and if they > > don't match, the Buildroot build doesn't even start. Therefore, there > > is normally no way to do an incorrect configuration here. > > Interesting. Where is the code implementing this check? Does it detect > threading support when the user has not indicated that the toolchain has it > (as is apparently the case here)? It is implemented at http://git.buildroot.net/buildroot/tree/toolchain/helpers.mk#n246. And yes, it does both the "positive" check and the "negative" check: * If the toolchain has thread support, but the user hasn't selected the thread support for his external toolchain, we error out. * If the toolchain does not have thread support, but the user has selected thread support, we error out. > > > As to MMU, for some reason this is option is disabled on your > > > configuration, although clearly your target has MMU enabled. > > > > Where have you seen Gabi's .config ? I've gone through this thread > > again, and I haven't seen his .config. > > The message at http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/73739 > may be interpreted as saying that MMU and HAS_THREADS are not enabled, though > it is more likely that only HAS_THREADS is missing. Ok. We clearly don't have enough informations to help Gabi, unfortunately. Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Buildroot] Configuring the gpsd package 2014-01-28 19:42 ` Thomas Petazzoni @ 2014-01-29 7:31 ` Gabi Kelemen 2014-01-29 7:40 ` Thomas Petazzoni 0 siblings, 1 reply; 16+ messages in thread From: Gabi Kelemen @ 2014-01-29 7:31 UTC (permalink / raw) To: buildroot Hi guys, First, thank you Thomas for trying to assist with my issue as well. Currently it seems to work, I am able to build and the gpsd works well. After ignoring both dependencies: BR2_USE_MMU , BR2_TOOLCHAIN_HAS_THREADS, the package was successfully built and I was able to see and check it under menuconfig. Again, thank you both for your time. Gabi. -----Original Message----- From: Thomas Petazzoni [mailto:thomas.petazzoni at free-electrons.com] Sent: Tuesday, January 28, 2014 9:42 PM To: Baruch Siach Cc: Gabi Kelemen; buildroot at busybox.net Subject: Re: [Buildroot] Configuring the gpsd package Dear Baruch Siach, On Tue, 28 Jan 2014 21:07:25 +0200, Baruch Siach wrote: > > Correct, but Buildroot checks the selection the user has made in > > menuconfig against the real configuration of the toolchain, and if > > they don't match, the Buildroot build doesn't even start. Therefore, > > there is normally no way to do an incorrect configuration here. > > Interesting. Where is the code implementing this check? Does it detect > threading support when the user has not indicated that the toolchain > has it (as is apparently the case here)? It is implemented at http://git.buildroot.net/buildroot/tree/toolchain/helpers.mk#n246. And yes, it does both the "positive" check and the "negative" check: * If the toolchain has thread support, but the user hasn't selected the thread support for his external toolchain, we error out. * If the toolchain does not have thread support, but the user has selected thread support, we error out. > > > As to MMU, for some reason this is option is disabled on your > > > configuration, although clearly your target has MMU enabled. > > > > Where have you seen Gabi's .config ? I've gone through this thread > > again, and I haven't seen his .config. > > The message at > http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/73739 > may be interpreted as saying that MMU and HAS_THREADS are not enabled, > though it is more likely that only HAS_THREADS is missing. Ok. We clearly don't have enough informations to help Gabi, unfortunately. Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ________________________________ This electronic message, including attachments, is intended only for the use of the individual or company named above or to which it is addressed. The information contained in this message shall be considered confidential and proprietary, and may include confidential work product. If you are not the intended recipient, please be aware that any unauthorized use, dissemination, distribution or copying of this message is strictly prohibited. If you have received this email in error, please notify the sender by replying to this message and deleting this email immediately. ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Buildroot] Configuring the gpsd package 2014-01-29 7:31 ` Gabi Kelemen @ 2014-01-29 7:40 ` Thomas Petazzoni 0 siblings, 0 replies; 16+ messages in thread From: Thomas Petazzoni @ 2014-01-29 7:40 UTC (permalink / raw) To: buildroot Dear Gabi Kelemen, On Wed, 29 Jan 2014 07:31:53 +0000, Gabi Kelemen wrote: > Currently it seems to work, I am able to build and the gpsd works well. > After ignoring both dependencies: BR2_USE_MMU , BR2_TOOLCHAIN_HAS_THREADS, the package was successfully built and I was able to see and check it under menuconfig. Ignoring dependencies seems completely wrong, but again since you're using a really old Buildroot version, and you don't want to share your changes and details, there's no much we can do to help you. Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2014-01-29 7:40 UTC | newest] Thread overview: 16+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-01-01 15:31 [Buildroot] Configuring the gpsd package Gabi Kelemen 2014-01-01 16:20 ` Baruch Siach 2014-01-02 7:53 ` Gabi Kelemen 2014-01-02 8:01 ` Baruch Siach 2014-01-02 8:21 ` Gabi Kelemen 2014-01-02 8:45 ` Baruch Siach 2014-01-02 9:40 ` Gabi Kelemen 2014-01-02 10:04 ` Baruch Siach 2014-01-02 10:29 ` Gabi Kelemen 2014-01-06 15:42 ` Gabi Kelemen 2014-01-06 15:56 ` Baruch Siach 2014-01-28 17:33 ` Thomas Petazzoni 2014-01-28 19:07 ` Baruch Siach 2014-01-28 19:42 ` Thomas Petazzoni 2014-01-29 7:31 ` Gabi Kelemen 2014-01-29 7:40 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox