Jiaqiang Xu
2013-08-08 03:59:40 UTC
Hello:
When I compile the ksh in cygwin environment, it reported the undefined
reference related with libiconv. Some of the errors are as follows and the
makeout is attached. Can anyone give me some suggestions about how to fix
this buiding error with libiconv? Thank you very much!
+ cc -O -L/cygdrive/c/mmksh_source/arch/cygwin.i386/lib -o coshell.svc
main.o job.o schedule.o shell.o command.o misc.o init.o
/cygdrive/c/mmksh_source/arch/cygwin.i386/lib/libcoshell.a
/cygdrive/c/mmksh_source/arch/cygwin.i386/lib/libast.a -liconv
/cygdrive/c/mmksh_source/arch/cygwin.i386/lib/libcs.a
/cygdrive/c/mmksh_source/arch/cygwin.i386/lib/libast.a -liconv
/cygdrive/c/mmksh_source/arch/cygwin.i386/lib/libast.a -liconv
main.o:main.c:(.text+0x1c15): undefined reference to `_imp___cs_info_'
job.o:job.c:(.text+0x67): undefined reference to `_imp___cs_info_'
job.o:job.c:(.text+0x115): undefined reference to `_imp___cs_info_'
job.o:job.c:(.text+0x33b): undefined reference to `_imp___cs_info_'
job.o:job.c:(.text+0x364): undefined reference to `_imp___cs_info_'
job.o:job.c:(.text+0x406): more undefined references to `_imp___cs_info_'
follow
+ cc -O -L/cygdrive/c/mmksh_source/arch/cygwin.i386/lib -o event.svc
event.o /cygdrive/c/mmksh_source/arch/cygwin.i386/lib/libcs.a
/cygdrive/c/mmksh_source/arch/cygwin.i386/lib/libast.a -liconv
/cygdrive/c/mmksh_source/arch/cygwin.i386/lib/libcs.a
/cygdrive/c/mmksh_source/arch/cygwin.i386/lib/libast.a -liconv
/cygdrive/c/mmksh_source/arch/cygwin.i386/lib/libast.a -liconv
event.o:event.c:(.text+0x1d8): undefined reference to `__db_ndbm_close'
event.o:event.c:(.text+0x29b): undefined reference to `__db_ndbm_fetch'
event.o:event.c:(.text+0x5d8): undefined reference to `__db_ndbm_store'
event.o:event.c:(.text+0x60e): undefined reference to `__db_ndbm_store'
+ cc -O -L/cygdrive/c/mmksh_source/arch/cygwin.i386/lib -o cs cs.o
/cygdrive/c/mmksh_source/arch/cygwin.i386/lib/libcs.a
/cygdrive/c/mmksh_source/arch/cygwin.i386/lib/libast.a -liconv
/cygdrive/c/mmksh_source/arch/cygwin.i386/lib/libast.a -liconv
cs.o:cs.c:(.text+0x58): undefined reference to `_imp___cs_info_'
cs.o:cs.c:(.text+0xec): undefined reference to `_imp___cs_info_'
cs.o:cs.c:(.text+0xf37): undefined reference to `_imp___cs_info_'
cs.o:cs.c:(.text+0xf83): undefined reference to `_imp___cs_info_'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.research.att.com/pipermail/ast-developers/attachments/20130808/ed9d53ef/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.out.2010-06-21
Type: application/octet-stream
Size: 921375 bytes
Desc: not available
URL: <http://lists.research.att.com/pipermail/ast-developers/attachments/20130808/ed9d53ef/attachment-0001.obj>
When I compile the ksh in cygwin environment, it reported the undefined
reference related with libiconv. Some of the errors are as follows and the
makeout is attached. Can anyone give me some suggestions about how to fix
this buiding error with libiconv? Thank you very much!
+ cc -O -L/cygdrive/c/mmksh_source/arch/cygwin.i386/lib -o coshell.svc
main.o job.o schedule.o shell.o command.o misc.o init.o
/cygdrive/c/mmksh_source/arch/cygwin.i386/lib/libcoshell.a
/cygdrive/c/mmksh_source/arch/cygwin.i386/lib/libast.a -liconv
/cygdrive/c/mmksh_source/arch/cygwin.i386/lib/libcs.a
/cygdrive/c/mmksh_source/arch/cygwin.i386/lib/libast.a -liconv
/cygdrive/c/mmksh_source/arch/cygwin.i386/lib/libast.a -liconv
main.o:main.c:(.text+0x1c15): undefined reference to `_imp___cs_info_'
job.o:job.c:(.text+0x67): undefined reference to `_imp___cs_info_'
job.o:job.c:(.text+0x115): undefined reference to `_imp___cs_info_'
job.o:job.c:(.text+0x33b): undefined reference to `_imp___cs_info_'
job.o:job.c:(.text+0x364): undefined reference to `_imp___cs_info_'
job.o:job.c:(.text+0x406): more undefined references to `_imp___cs_info_'
follow
+ cc -O -L/cygdrive/c/mmksh_source/arch/cygwin.i386/lib -o event.svc
event.o /cygdrive/c/mmksh_source/arch/cygwin.i386/lib/libcs.a
/cygdrive/c/mmksh_source/arch/cygwin.i386/lib/libast.a -liconv
/cygdrive/c/mmksh_source/arch/cygwin.i386/lib/libcs.a
/cygdrive/c/mmksh_source/arch/cygwin.i386/lib/libast.a -liconv
/cygdrive/c/mmksh_source/arch/cygwin.i386/lib/libast.a -liconv
event.o:event.c:(.text+0x1d8): undefined reference to `__db_ndbm_close'
event.o:event.c:(.text+0x29b): undefined reference to `__db_ndbm_fetch'
event.o:event.c:(.text+0x5d8): undefined reference to `__db_ndbm_store'
event.o:event.c:(.text+0x60e): undefined reference to `__db_ndbm_store'
+ cc -O -L/cygdrive/c/mmksh_source/arch/cygwin.i386/lib -o cs cs.o
/cygdrive/c/mmksh_source/arch/cygwin.i386/lib/libcs.a
/cygdrive/c/mmksh_source/arch/cygwin.i386/lib/libast.a -liconv
/cygdrive/c/mmksh_source/arch/cygwin.i386/lib/libast.a -liconv
cs.o:cs.c:(.text+0x58): undefined reference to `_imp___cs_info_'
cs.o:cs.c:(.text+0xec): undefined reference to `_imp___cs_info_'
cs.o:cs.c:(.text+0xf37): undefined reference to `_imp___cs_info_'
cs.o:cs.c:(.text+0xf83): undefined reference to `_imp___cs_info_'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.research.att.com/pipermail/ast-developers/attachments/20130808/ed9d53ef/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.out.2010-06-21
Type: application/octet-stream
Size: 921375 bytes
Desc: not available
URL: <http://lists.research.att.com/pipermail/ast-developers/attachments/20130808/ed9d53ef/attachment-0001.obj>