Subject: Cannot compile (patched) i4b on 1.5_ALPHA
To: None <netbsd-help@netbsd.org>
From: Ingolf Koch <ingolf@jena-optronik.de>
List: netbsd-help
Date: 07/14/2000 09:33:18
Hi,

I am trying to compile i4b-00.90.00 (after applying the
i4b-00.90.00-current.patch) on my NetBSD/i386 box running
1.5_ALPHA.

When reaching isdnd/log.c, the compilation stops with an
error message à la

     "log.c: line 175: arg #5 not an integer"

(quoted from memory -- surely not the exact wording).

The corresponding source code looks as follows (#ifdefs
stripped):

    wprintw(lower_w, "%s %s %-.*s\n", dp, logtab[what].text,
        COLS-((strlen(dp))+(strlen(logtab[what].text))+2), buffer);

The file had been compiled previously (under 1.4M or so)
without problems. It is not affected by the patch.

Has anything been changed lately with respect to the format
string in the curses library ("%-.*s" seems to be the
offending one)?

(Please CC: me when replying -- thanks.)

Regards
    Ingolf
-- 

Ingolf Koch                            Jena-Optronik GmbH
ingolf@jena-optronik.de                 ++49 3641 200-147
PGP: 0x7B3B5661  213C 828E 0C92 16B5  05D0 4D5B A324 EC04