Cannot Make on OS X

Hal Vaughan hal at halblog.com
Fri Mar 11 17:42:25 UTC 2011


I'm using OS X, 10.6.6 and have been using minicom through MacPorts, but for several reasons I want to stop using the MacPorts version of minicom and use a version directly built on my system.

I downloaded the source for minicom 2.5 and tried to build it on my system and got errors with the make command.  The same situation happened with 2.4 (and it was the same error).  I got 2.3 to build, but could not run it as a normal user because it could not create a lockfile and the -D option is missing, and I'm working with a USB-to-Serial adaptor that isn't always the same device every time I boot or plug it in.

I have written code in C++, but that was a few years ago, so I barely know more about building C or C++ code other than ./configure;make;make install.  I am a Perl programmer, so I have some background in trouble shooting, but compiler and build messages are undecipherable to me.

I'd like to get minicom to build on OS X and I'll be glad to report back on what I get and my results to help with making sure minicom works as well on OS X as it does on Linux and other *nix OSes.

I've included the output from make below my name.  The full output is there, from start to the errors that stopped it.

Is there something I can change in any of the files to fix this issue and build minicom?


Thank you for any help!



Hal
------
make  all-recursive
Making all in doc
make[2]: Nothing to be done for `all'.
Making all in extras
Making all in linux
make[3]: Nothing to be done for `all'.
Making all in tables
make[3]: Nothing to be done for `all'.
Making all in termcap
make[3]: Nothing to be done for `all'.
Making all in terminfo
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in man
make[2]: Nothing to be done for `all'.
Making all in po
make[2]: Nothing to be done for `all'.
Making all in lib
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -W -Wall -Wextra -std=gnu99 -MT error.o -MD -MP -MF .deps/error.Tpo -c -o error.o error.c
mv -f .deps/error.Tpo .deps/error.Po
rm -f libport.a
ar cru libport.a  error.o 
ranlib libport.a
Making all in src
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib -DCONFDIR=\"/usr/local/etc\" -DLOCALEDIR=\"/usr/local/share/locale\"   -g -O2 -W -Wall -Wextra -std=gnu99 -MT minicom.o -MD -MP -MF .deps/minicom.Tpo -c -o minicom.o minicom.c
mv -f .deps/minicom.Tpo .deps/minicom.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib -DCONFDIR=\"/usr/local/etc\" -DLOCALEDIR=\"/usr/local/share/locale\"   -g -O2 -W -Wall -Wextra -std=gnu99 -MT vt100.o -MD -MP -MF .deps/vt100.Tpo -c -o vt100.o vt100.c
mv -f .deps/vt100.Tpo .deps/vt100.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib -DCONFDIR=\"/usr/local/etc\" -DLOCALEDIR=\"/usr/local/share/locale\"   -g -O2 -W -Wall -Wextra -std=gnu99 -MT config.o -MD -MP -MF .deps/config.Tpo -c -o config.o config.c
mv -f .deps/config.Tpo .deps/config.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib -DCONFDIR=\"/usr/local/etc\" -DLOCALEDIR=\"/usr/local/share/locale\"   -g -O2 -W -Wall -Wextra -std=gnu99 -MT help.o -MD -MP -MF .deps/help.Tpo -c -o help.o help.c
mv -f .deps/help.Tpo .deps/help.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib -DCONFDIR=\"/usr/local/etc\" -DLOCALEDIR=\"/usr/local/share/locale\"   -g -O2 -W -Wall -Wextra -std=gnu99 -MT updown.o -MD -MP -MF .deps/updown.Tpo -c -o updown.o updown.c
mv -f .deps/updown.Tpo .deps/updown.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib -DCONFDIR=\"/usr/local/etc\" -DLOCALEDIR=\"/usr/local/share/locale\"   -g -O2 -W -Wall -Wextra -std=gnu99 -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
mv -f .deps/util.Tpo .deps/util.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib -DCONFDIR=\"/usr/local/etc\" -DLOCALEDIR=\"/usr/local/share/locale\"   -g -O2 -W -Wall -Wextra -std=gnu99 -MT dial.o -MD -MP -MF .deps/dial.Tpo -c -o dial.o dial.c
mv -f .deps/dial.Tpo .deps/dial.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib -DCONFDIR=\"/usr/local/etc\" -DLOCALEDIR=\"/usr/local/share/locale\"   -g -O2 -W -Wall -Wextra -std=gnu99 -MT window.o -MD -MP -MF .deps/window.Tpo -c -o window.o window.c
mv -f .deps/window.Tpo .deps/window.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib -DCONFDIR=\"/usr/local/etc\" -DLOCALEDIR=\"/usr/local/share/locale\"   -g -O2 -W -Wall -Wextra -std=gnu99 -MT wkeys.o -MD -MP -MF .deps/wkeys.Tpo -c -o wkeys.o wkeys.c
mv -f .deps/wkeys.Tpo .deps/wkeys.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib -DCONFDIR=\"/usr/local/etc\" -DLOCALEDIR=\"/usr/local/share/locale\"   -g -O2 -W -Wall -Wextra -std=gnu99 -MT ipc.o -MD -MP -MF .deps/ipc.Tpo -c -o ipc.o ipc.c
mv -f .deps/ipc.Tpo .deps/ipc.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib -DCONFDIR=\"/usr/local/etc\" -DLOCALEDIR=\"/usr/local/share/locale\"   -g -O2 -W -Wall -Wextra -std=gnu99 -MT windiv.o -MD -MP -MF .deps/windiv.Tpo -c -o windiv.o windiv.c
mv -f .deps/windiv.Tpo .deps/windiv.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib -DCONFDIR=\"/usr/local/etc\" -DLOCALEDIR=\"/usr/local/share/locale\"   -g -O2 -W -Wall -Wextra -std=gnu99 -MT sysdep1.o -MD -MP -MF .deps/sysdep1.Tpo -c -o sysdep1.o sysdep1.c
mv -f .deps/sysdep1.Tpo .deps/sysdep1.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib -DCONFDIR=\"/usr/local/etc\" -DLOCALEDIR=\"/usr/local/share/locale\"   -g -O2 -W -Wall -Wextra -std=gnu99 -MT sysdep1_s.o -MD -MP -MF .deps/sysdep1_s.Tpo -c -o sysdep1_s.o sysdep1_s.c
mv -f .deps/sysdep1_s.Tpo .deps/sysdep1_s.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib -DCONFDIR=\"/usr/local/etc\" -DLOCALEDIR=\"/usr/local/share/locale\"   -g -O2 -W -Wall -Wextra -std=gnu99 -MT sysdep2.o -MD -MP -MF .deps/sysdep2.Tpo -c -o sysdep2.o sysdep2.c
mv -f .deps/sysdep2.Tpo .deps/sysdep2.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib -DCONFDIR=\"/usr/local/etc\" -DLOCALEDIR=\"/usr/local/share/locale\"   -g -O2 -W -Wall -Wextra -std=gnu99 -MT rwconf.o -MD -MP -MF .deps/rwconf.Tpo -c -o rwconf.o rwconf.c
mv -f .deps/rwconf.Tpo .deps/rwconf.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib -DCONFDIR=\"/usr/local/etc\" -DLOCALEDIR=\"/usr/local/share/locale\"   -g -O2 -W -Wall -Wextra -std=gnu99 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
mv -f .deps/main.Tpo .deps/main.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib -DCONFDIR=\"/usr/local/etc\" -DLOCALEDIR=\"/usr/local/share/locale\"   -g -O2 -W -Wall -Wextra -std=gnu99 -MT file.o -MD -MP -MF .deps/file.Tpo -c -o file.o file.c
mv -f .deps/file.Tpo .deps/file.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib -DCONFDIR=\"/usr/local/etc\" -DLOCALEDIR=\"/usr/local/share/locale\"   -g -O2 -W -Wall -Wextra -std=gnu99 -MT getsdir.o -MD -MP -MF .deps/getsdir.Tpo -c -o getsdir.o getsdir.c
mv -f .deps/getsdir.Tpo .deps/getsdir.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib -DCONFDIR=\"/usr/local/etc\" -DLOCALEDIR=\"/usr/local/share/locale\"   -g -O2 -W -Wall -Wextra -std=gnu99 -MT wildmat.o -MD -MP -MF .deps/wildmat.Tpo -c -o wildmat.o wildmat.c
mv -f .deps/wildmat.Tpo .deps/wildmat.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../lib -DCONFDIR=\"/usr/local/etc\" -DLOCALEDIR=\"/usr/local/share/locale\"   -g -O2 -W -Wall -Wextra -std=gnu99 -MT common.o -MD -MP -MF .deps/common.Tpo -c -o common.o common.c
mv -f .deps/common.Tpo .deps/common.Po
gcc  -g -O2 -W -Wall -Wextra -std=gnu99   -o minicom minicom.o vt100.o config.o help.o updown.o util.o dial.o window.o wkeys.o ipc.o windiv.o sysdep1.o sysdep1_s.o sysdep2.o rwconf.o main.o file.o getsdir.o wildmat.o common.o ../lib/libport.a -lncurses
Undefined symbols:
  "_iconv", referenced from:
      _do_iconv in minicom.o
      _do_iconv in minicom.o
     (maybe you meant: _do_iconv, _using_iconv )
  "_iconv_close", referenced from:
      _main in minicom.o
  "_iconv_open", referenced from:
      _main in minicom.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [minicom] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2




More information about the minicom-devel mailing list