thanks -Alexander Huemer
 but now i get a c compiler error yet i have installed  gcc-4.4_4.4.5-8_kfreebsd-i386(1).deb and libc0.1_2.11.2-10+b1_kfreebsd-i386.deb

checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/root/libosmocore':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
root@debian:~/libosmocore#


On Fri, Dec 2, 2011 at 12:19 PM, <openbsc-request@lists.osmocom.org> wrote:
Send OpenBSC mailing list submissions to
       openbsc@lists.osmocom.org

To subscribe or unsubscribe via the World Wide Web, visit
       https://lists.osmocom.org/mailman/listinfo/openbsc
or, via email, send a message with subject or body 'help' to
       openbsc-request@lists.osmocom.org

You can reach the person managing the list at
       openbsc-owner@lists.osmocom.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of OpenBSC digest..."


Today's Topics:

  1. Re: Time in MM Info [patch] (Rees, Jim)
  2. Re: Time in MM Info [patch] (Gus Bourg)
  3. Re: Time in MM Info [patch] (Gus Bourg)
  4. error at execution of autoreconf -i (Dick Rwegaba)
  5. Re: error at execution of autoreconf -i (Alexander Huemer)
  6. Re: Time in MM Info [patch] (Harald Welte)


----------------------------------------------------------------------

Message: 1
Date: Thu, 1 Dec 2011 15:24:55 +0000
From: "Rees, Jim" <jrees@arbor.net>
To: Gus Bourg <gus@bourg.net>
Cc: "openbsc@lists.osmocom.org" <openbsc@lists.osmocom.org>
Subject: Re: Time in MM Info [patch]
Message-ID: <17FE85C3-C5BE-4836-A788-7E1442A444FA@arbor.net>
Content-Type: text/plain; charset="iso-8859-1"

Why not make tzunits a signed quantity and get rid of tzdir? And why 15 minute units? I realize this is how the bts wants them, but shouldn't the config file be a bit more user-friendly?

Also it looks like the indentation is a bit messed up.


------------------------------

Message: 2
Date: Thu, 1 Dec 2011 12:25:39 -0800
From: Gus Bourg <gus@bourg.net>
To: Harald Welte <laforge@gnumonks.org>
Cc: openbsc@lists.osmocom.org
Subject: Re: Time in MM Info [patch]
Message-ID:
       <CAKL=SEo2FJQcVZ+eGPHwKx0PO=6PhB9wWMyni2ELAcnMpKpsbQ@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi Harald,

Thanks for the input.  Here's the updated patch.

Gus

On Wed, Nov 30, 2011 at 11:47 PM, Harald Welte <laforge@gnumonks.org> wrote:
> Hi Gus,
>
> On Wed, Nov 30, 2011 at 03:13:04PM -0800, Gus Bourg wrote:
>> Attached is a patch to support sending time to the device.
>
> thanks a lot for the patch.
>
> however, some remarks:
>
> 1) We actually do support ranges with negative numbers in the syntax,
> ? after commit 33f0fc3c9565308044c934c9e0c1bb81c1a26311 in libosmocore
> ? you can do something like "timezone <-19-19> (0|15|30|45)"
> ? which I believe would be a more human-friendly way of entering it in
> ? hours and minutes.
>
> 2) the internal storage could thus also be a simple "int timezone",
> ? which gets filled from the hour and minute part of the abovementioned
> ? command syntax.
>
> 3) please make sure to use a default of "cur_time->tm_gmtoff" in case
> ? the config file doesn't use per-BTS timezones. ?So another "int
> ? timezone_bts_specific" member might be applicable.
>
> 4) please make sure to use tab instead of " ? ? ? ?" (sequence of 8
> ? whitespaces), or use a script that automatically takes care of that.
>
> 5) the "timezone" vty line should only be printed if the user actually
> ? configured it (i.e. timezone_bts_specific == 1).
>
> 6) there needs to be a way to completely remove the timezone statement,
> ? most likely a "no timezone" VTY command in the BTS node.
>
> Regards,
> ? ? ? ?Harald
>
> --
> - Harald Welte <laforge@gnumonks.org> ? ? ? ? ? http://laforge.gnumonks.org/
> ============================================================================
> "Privacy in residential applications is a desirable marketing option."
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?(ETSI EN 300 175-7 Ch. A6)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: time_happy_3.diff
Type: text/x-diff
Size: 5040 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20111201/60c3ccd1/attachment-0001.diff>

------------------------------

Message: 3
Date: Thu, 1 Dec 2011 15:25:06 -0800
From: Gus Bourg <gus@bourg.net>
To: Harald Welte <laforge@gnumonks.org>
Cc: openbsc@lists.osmocom.org
Subject: Re: Time in MM Info [patch]
Message-ID:
       <CAKL=SEp1+xC2p3dH7fdevdFjsT+ROr2fHqSsJS4uPNW-qtaC5Q@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Apologize for so many replies.  Found another bug.  I think I have it
actually right this time.  Previously fractional hours were not set
right, and the calculation for the timezone offset was all wrong when
when the timezone wasn't set.

Thanks,
Gus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ProperTime.diff
Type: text/x-diff
Size: 5339 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20111201/5eec3199/attachment-0001.diff>

------------------------------

Message: 4
Date: Fri, 2 Dec 2011 09:41:29 +0300
From: Dick Rwegaba <drwegaba@gmail.com>
To: openbsc@lists.osmocom.org
Subject: error at execution of autoreconf -i
Message-ID:
       <CAEO9OAfnoMUBCfUiJq-Q2GDzRVyn4SUKJ5FcmNsg3t4MkOp8pg@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

can some one help me with a work around?
root@debian:~/libosmocore# autoreconf -i
Can't exec "aclocal": No such file or directory at
/usr/share/autoconf/Autom4te/FileUtils.pm line 326.
autoreconf: failed to run aclocal: No such file or directory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20111202/34d0c7af/attachment-0001.html>

------------------------------

Message: 5
Date: Fri, 2 Dec 2011 08:19:55 +0100
From: Alexander Huemer <alexander.huemer@xx.vu>
To: Dick Rwegaba <drwegaba@gmail.com>
Cc: openbsc@lists.osmocom.org
Subject: Re: error at execution of autoreconf -i
Message-ID: <20111202071955.GA3573@de.xx.vu>
Content-Type: text/plain; charset=us-ascii

On Fri, Dec 02, 2011 at 09:41:29AM +0300, Dick Rwegaba wrote:
> can some one help me with a work around?
> root@debian:~/libosmocore# autoreconf -i
> Can't exec "aclocal": No such file or directory at
> /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
> autoreconf: failed to run aclocal: No such file or directory
Hi Dick,

install automake.
on debian/ubuntu with:
$ sudo apt-get install automake
that is missing in [1], I'll fix that.

Kind regards,
-Alexander Huemer

[1] http://openbsc.osmocom.org/trac/wiki/Building_OpenBSC



------------------------------

Message: 6
Date: Fri, 2 Dec 2011 10:19:13 +0100
From: Harald Welte <laforge@gnumonks.org>
To: Gus Bourg <gus@bourg.net>
Cc: openbsc@lists.osmocom.org
Subject: Re: Time in MM Info [patch]
Message-ID: <20111202091913.GJ1007@prithivi.gnumonks.org>
Content-Type: text/plain; charset=us-ascii

Hi Gus,

On Thu, Dec 01, 2011 at 03:25:06PM -0800, Gus Bourg wrote:

> Apologize for so many replies.  Found another bug.  I think I have it
> actually right this time.  Previously fractional hours were not set
> right, and the calculation for the timezone offset was all wrong when
> when the timezone wasn't set.

thanks, patch applied.

Please keep those patches coming, we appreciate all contributions...
--
- Harald Welte <laforge@gnumonks.org>           http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                 (ETSI EN 300 175-7 Ch. A6)



------------------------------

_______________________________________________
OpenBSC mailing list
OpenBSC@lists.osmocom.org
https://lists.osmocom.org/mailman/listinfo/openbsc


End of OpenBSC Digest, Vol 36, Issue 2
**************************************