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

snowcrash schneecrash at
Sat Mar 17 23:08:23 UTC 2007


> 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
checkout minicom

cd .../minicom

glibtoolize -f -c
autoreconf -i -f

./configure \
--prefix=/usr/local \
--enable-lock-dir=/var/spool/lock \
--disable-dependency-tracking \
--disable-kermit \

echo "#include <time.h>" >> /usr/ports/minicom/config.h
perl -pi -e 's/wprintf/mc_wprintf/g' `grep -rlni wprintf src/*`

make install

ls -al /usr/local/bin/minicom
	-rwxr-xr-x 1 root admin 358916 Mar 16 11:54 /usr/local/bin/minicom

otool -L /usr/local/bin/minicom
	/usr/local/lib/libncurses.5.6.dylib (compatibility version 5.6.0,
current version 5.6.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 88.1.8)

mkdir -p  /var/spool/lock
chmod 775 /var/spool/lock

and, it launches fine!  as soon as i actually GET my serial device
(router coming in the mail) in the next couple of days, i'll be able
to test the comms.

Jeffrey has published this info, with a slightly different twist
editing, and a built minicom osx package installer, on his site @,

and, per your request, the wchar.h on osx is, apparently from freebsd.
 i've posted my actual src here:


More information about the minicom-devel mailing list