You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Stefan Cars <st...@snowfall.se> on 2005/10/12 08:34:50 UTC

Problems compiling on 2.0.1 on FreeBSD

Hi!

Getting the following error when compiling on FreeBSD. There might be 
some information on:

http://mailman.fastxs.net/pipermail/dbmail-dev/2005-May/006905.html

eputil.c:2057: error: 'timezone' redeclared as different kind of symbol
/usr/include/time.h:149: error: previous declaration of 'timezone' was here
eputil.c:2057: error: 'timezone' redeclared as different kind of symbol
/usr/include/time.h:149: error: previous declaration of 'timezone' was here


/S

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: Problems compiling on 2.0.1 on FreeBSD

Posted by Stefan Cars <st...@snowfall.se>.
Works terrific!

Thanks!

/S

Gerald Richter wrote:
> Hi!
> 
>>Did you get a look at it after I sent you the time.h file ?
>>
> 
> 
> Sorry, didn't had a chance until now to check it.
> 
> Could please try if the attached patch solves the problem
> 
> Gerald
> 
> 
> 
>>/S
>>
>>Gerald Richter wrote:
>>
>>>Hi,
>>>
>>>
>>>
>>>>Getting the following error when compiling on FreeBSD. 
>>
>>There might be 
>>
>>>>some information on:
>>>>
>>>>http://mailman.fastxs.net/pipermail/dbmail-dev/2005-May/006905.html
>>>>
>>>>eputil.c:2057: error: 'timezone' redeclared as different kind of 
>>>>symbol
>>>>/usr/include/time.h:149: error: previous declaration of 
>>
>>'timezone' was 
>>
>>>>here
>>>
>>>
>>>Could you please send me your file /usr/include/time.h
>>>
>>>Gerald
>>>
>>>
>>>
>>> 
>>>** Virus checked by BB-5000 Mailfilter **
>>>
>>>
>>>
>>
>>---------------------------------------------------------------------
>>
>>>To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
>>>For additional commands, e-mail: embperl-help@perl.apache.org
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
>>For additional commands, e-mail: embperl-help@perl.apache.org
>>
>>
>> 
>>** Virus checked by BB-5000 Mailfilter ** 
>>!DSPAM:435cb65d67027385489032!
>>
> 
> 
> 
>  
> ** Virus checked by BB-5000 Mailfilter ** 
> 
> 
> ------------------------------------------------------------------------
> 
> Index: eputil.c
> ===================================================================
> RCS file: /home/cvs/embperl/eputil.c,v
> retrieving revision 1.49
> diff -r1.49 eputil.c
> 2056a2057
> 
>>#ifndef __BSD_VISIBLE
> 
> 2058a2060
> 
>>#endif
> 
> 2081a2084
> 
>>#ifndef __BSD_VISIBLE
> 
> 2082a2086,2088
> 
>>#else
>>    tz = -tms.tm_gmtoff / 36 + (tms.tm_isdst?100:0) ;
>>#endif
> 
> 
> 
>  
> ** Virus checked by BB-5000 Mailfilter ** 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


RE: Problems compiling on 2.0.1 on FreeBSD

Posted by Gerald Richter <ri...@ecos.de>.
Hi!
> 
> Did you get a look at it after I sent you the time.h file ?
> 

Sorry, didn't had a chance until now to check it.

Could please try if the attached patch solves the problem

Gerald


> /S
> 
> Gerald Richter wrote:
> > Hi,
> > 
> > 
> >>Getting the following error when compiling on FreeBSD. 
> There might be 
> >>some information on:
> >>
> >>http://mailman.fastxs.net/pipermail/dbmail-dev/2005-May/006905.html
> >>
> >>eputil.c:2057: error: 'timezone' redeclared as different kind of 
> >>symbol
> >>/usr/include/time.h:149: error: previous declaration of 
> 'timezone' was 
> >>here
> > 
> > 
> > Could you please send me your file /usr/include/time.h
> > 
> > Gerald
> > 
> > 
> > 
> >  
> > ** Virus checked by BB-5000 Mailfilter **
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> > For additional commands, e-mail: embperl-help@perl.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
> 
> 
>  
> ** Virus checked by BB-5000 Mailfilter ** 
> !DSPAM:435cb65d67027385489032!
> 


 
** Virus checked by BB-5000 Mailfilter ** 

Re: Problems compiling on 2.0.1 on FreeBSD

Posted by Stefan Cars <st...@snowfall.se>.
Hi!

Did you get a look at it after I sent you the time.h file ?

/S

Gerald Richter wrote:
> Hi,
> 
> 
>>Getting the following error when compiling on FreeBSD. There 
>>might be some information on:
>>
>>http://mailman.fastxs.net/pipermail/dbmail-dev/2005-May/006905.html
>>
>>eputil.c:2057: error: 'timezone' redeclared as different kind 
>>of symbol
>>/usr/include/time.h:149: error: previous declaration of 
>>'timezone' was here
> 
> 
> Could you please send me your file /usr/include/time.h
> 
> Gerald
> 
> 
> 
>  
> ** Virus checked by BB-5000 Mailfilter ** 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


RE: Problems compiling on 2.0.1 on FreeBSD

Posted by Gerald Richter <ri...@ecos.de>.
Hi,

> 
> Getting the following error when compiling on FreeBSD. There 
> might be some information on:
> 
> http://mailman.fastxs.net/pipermail/dbmail-dev/2005-May/006905.html
> 
> eputil.c:2057: error: 'timezone' redeclared as different kind 
> of symbol
> /usr/include/time.h:149: error: previous declaration of 
> 'timezone' was here

Could you please send me your file /usr/include/time.h

Gerald



 
** Virus checked by BB-5000 Mailfilter ** 


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org