Broken build?
Inn User
inn at ildm.com
Tue Jan 18 21:36:54 UTC 2000
> In article <14467.15344.583548.261730 at bogon.kjsl.com>,
> Javier Henderson <javier at KJSL.COM> wrote;
>
> } gcc -g -O2 -I../include -c post.c -o post.o
> } post.c: In function `ProcessHeaders':
> } post.c:388: wrong type argument to unary minus
> } make[1]: *** [post.o] Error 1
> } make[1]: Leaving directory `/export/homea/javier/inn/src/inn/nnrpd'
> } make: *** [all-nnrpd] Error 2
> }
> }
> } I updated my source tree around 7:57am PST.
> }
> } Any ideas?
>
> Attached helps you?
>
> --- nnrpd/post.c.orig Sun Jan 16 02:07:44 2000
> +++ nnrpd/post.c Tue Jan 18 08:51:34 2000
> @@ -385,7 +385,7 @@
> &WEEKS[3 * local->tm_wday],
> local->tm_mday, &MONTHS[3 * local->tm_mon], 1900 + local->tm_year,
> local->tm_hour, local->tm_min, local->tm_sec,
> - -timezone/36, tzname[0]);
> + 0 - timezone/36, tzname[0]);
> HDR(_date) = localdatebuff;
> } else {
> HDR(_date) = datebuff;
>
>
> --
> Katsuhiro Kondou
>
>
>
I'm getting the same error. I modified the code as you mentioned above, but all
it did was change the error message to:
gcc -g -O2 -I../include -c post.c
post.c: In function `ProcessHeaders':
post.c:389: invalid operands to binary /
*** Error code 1
Stop in /spool/news/work/inn-2000-01-18_03-01/nnrpd.
--Brennon Church
More information about the inn-workers
mailing list