minicom-cvs 'make' fails @ "conflicting types for 'wprintf'"

Adam Lackorzynski adam at os.inf.tu-dresden.de
Sun Apr 15 13:09:59 UTC 2007


Hi,

On Sat Mar 17, 2007 at 15:08:23 -0700, snowcrash wrote:
> hi,
> 
> >So, how does the declaration look on OS X? Please show a few lines
> >around line 177 of /usr/include/wchar.h. I probably should rename all
> >those functions.
> 
> after googl'ing a bit, and talking_to/learning_from Jeffrey Frey, a
> packager of minicom 2.1 for osx, there's a workaround.
> 
> for v2.2+, this works,
> 
> cvs -d :pserver:anonymous at cvs.alioth.debian.org:/cvsroot/minicom
> checkout minicom
> 
> cd .../minicom
> 
> perl -pi -e 's/AC_PROG_RANLIB/AC_PROG_LIBTOOL/g' configure.in
> glibtoolize -f -c
> autoreconf -i -f
> 
> ./configure \
> --prefix=/usr/local \
> --enable-lock-dir=/var/spool/lock \
> --disable-dependency-tracking \
> --disable-kermit \
> --disable-nls
> 
> echo "#include <time.h>" >> /usr/ports/minicom/config.h
> perl -pi -e 's/wprintf/mc_wprintf/g' `grep -rlni wprintf src/*`

I've now renamed all those w* functions to mc_w* which should fix the
issue. Can you tell me where it breaks because of missing time.h?
Putting it in config.h(.in) is not the right thing.

And the libtool thing is also needed? It's not mentioned on the webpage.

> Jeffrey has published this info, with a slightly different twist
> editing, and a built minicom osx package installer, on his site @,
> 
> 	http://turin.nss.udel.edu/programming/

Thanks, didn't know that page.

Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/



More information about the minicom-devel mailing list