So the compile problem on FreeBSD is due to the fact that Linux has a
global variable "timezone", which is being used by the sync engine,
whereas *BSD has a function timezone(). Anyone with experience from
*BSD: Should I make my own test for this in configure or is there a
better way?

/Bo

On Thu, 2003-09-25 at 00:50, Francisco G�mez Mar�n wrote:
> I have been googling and saw the man page you told me and more. So the conclussion 
> is that that variable doesn't exist nor in my FreeBSD 5.1 system nor in my OpenBSD 
> 3.3 one. What is called timezone is this function:
>       char *timezone(int, int)
> 
> I think that it will be the same on NetBSD.
> 
> 
> El Wed, 24 Sep 2003 21:51:59 +0200
> Bo Lincoln <[EMAIL PROTECTED]> escribi�:
> 
> > The problem is the line
> > 
> >       dt -= timezone; 
> > 
> > Could you check "man tzset" on your system and see what is said about
> > the global variable timezone?
> > 
> > /Bo
> > 
> > On Wed, 2003-09-24 at 19:48, Francisco G�mez Mar�n wrote:
> > > Hi!
> > > 
> > >   I have been trying to compile multisync-0.80 on my FreeBSD 5.1 i386 box but 
> > > I'm having some problems:
> > > 
> > > sync_vtype.c: In function `sync_vtype_convert':
> > > sync_vtype.c:345: warning: passing arg 2 of `libiconv' from incompatible pointer 
> > > type
> > > sync_vtype.c: In function `sync_dt_to_timet':
> > > sync_vtype.c:886: invalid operands to binary -
> > > *** Error code 1
> > > 
> > > Stop in /usr/local/src/multisync-0.80/src.
> > > *** Error code 1
> > > 
> > > Stop in /usr/local/src/multisync-0.80/src.
> > > *** Error code 1
> > > 
> > > Stop in /usr/local/src/multisync-0.80.
> > > *** Error code 1
> > > 
> > > Stop in /usr/local/src/multisync-0.80.
> > > 
> > > This is during the "make" process. Of course, I have installed libiconv, version 
> > > 1.9.1 and have googled and search by the mailing list but found no answers. My 
> > > gcc is 3.2.2. (My idea was to port it to the FreeBSD ports tree). Any 
> > > suggestions?
> > -- 
> > Bo Lincoln <[EMAIL PROTECTED]>
> > 
-- 
Bo Lincoln <[EMAIL PROTECTED]>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Multisync-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/multisync-users

Reply via email to