Cannot Make on OS X
Adam Lackorzynski
adam at os.inf.tu-dresden.de
Wed Mar 23 16:25:36 UTC 2011
Hi,
On Wed Mar 23, 2011 at 02:28:37 -0400, Hal Vaughan wrote:
> Is iconv a library (as I think it is) and how would I not only get it on my iMac in the right place, but also be sure it's in the path for the compiler to find?
>
> I'd really appreciate any help with this. I would think somebody knows why iconv is an issue here.
>
> > 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
When you go into src dir and run (-liconv added).
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 -liconv
Does it work?
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