microdc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microdc-devel] Re: compilation error under freebsd 6


From: stgib
Subject: Re: [microdc-devel] Re: compilation error under freebsd 6
Date: Fri, 13 Jan 2006 01:14:36 +0300
User-agent: nail 11.25 7/29/05

Jakub Jankowski <address@hidden> wrote:

> I'm replying directly to you and CCing the maillist, just like with 
> previous mail.

Me too. Because I recieved mail only from you and havent recieved it from 
maillist.

> > gmake[3]: Entering directory 
> > `/usr/home/users/compile/microdc-0.11.1/src/readline-ui'

> I wonder why there's no src/readline-ui/ in my 0.11.0 tarball? :)

As you can see I used 0.11.1. But 0.11.0 needs only #include <sys/stat.h> to be 
added
to src/filelist-in.c for complete build.

> > ui.c: In function `main':
> > ui.c:457: warning: implicit declaration of function `TEMP_FAILURE_RETRY'

> Try including "src/common/tempfailure.h".

It works. Here is full log of gmake:

gmake  all-recursive
gmake[1]: Entering directory `/usr/home/users/compile/microdc-0.11.1'
Making all in po
gmake[2]: Entering directory `/usr/home/users/compile/microdc-0.11.1/po'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/home/users/compile/microdc-0.11.1/po'
Making all in lib
gmake[2]: Entering directory `/usr/home/users/compile/microdc-0.11.1/lib'
cp ./alloca_.h alloca.h-t
mv alloca.h-t alloca.h
cp ./fnmatch_.h fnmatch.h-t
mv fnmatch.h-t fnmatch.h
cp ./getopt_.h getopt.h-t
mv getopt.h-t getopt.h
gmake  all-am
gmake[3]: Entering directory `/usr/home/users/compile/microdc-0.11.1/lib'
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c argmatch.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c basename.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c stripslash.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c full-read.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c full-write.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c iconvme.c
iconvme.c: In function `iconv_alloc':
iconvme.c:134: warning: passing arg 2 of `libiconv' from incompatible pointer 
type
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c progname.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c version-etc.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c xalloc-die.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c 
xgethostname.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c xstrndup.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c xstrtoumax.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c xvasprintf.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c xasprintf.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c strftime.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c dirname.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c error.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c exitfail.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c fnmatch.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c getdelim.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c getline.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c getopt.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c getopt1.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c human.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c quote.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c quotearg.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c safe-read.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c safe-write.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c sig2str.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c strndup.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c strnlen.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c vasnprintf.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c printf-args.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c 
printf-parse.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c asnprintf.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c xmalloc.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c xstrtol.c
gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -c xstrtoul.c
rm -f libgnu.a
ar cru libgnu.a argmatch.o basename.o stripslash.o full-read.o full-write.o 
iconvme.o progname.o version-etc.o xalloc-die.o xgethostname.o xstrndup.o 
xstrtoumax.o xvasprintf.o xasprintf.o strftime.o dirname.o error.o exitfail.o 
fnmatch.o getdelim.o getline.o getopt.o getopt1.o human.o quote.o quotearg.o 
safe-read.o safe-write.o sig2str.o strndup.o strnlen.o vasnprintf.o 
printf-args.o printf-parse.o asnprintf.o xmalloc.o xstrtol.o xstrtoul.o  
-L/usr/local/lib -liconv -R/usr/local/lib
ar: '-L/usr/local/lib': No such file
ar: '-liconv': No such file
ar: '-R/usr/local/lib': No such file
ranlib libgnu.a
gmake[3]: Leaving directory `/usr/home/users/compile/microdc-0.11.1/lib'
gmake[2]: Leaving directory `/usr/home/users/compile/microdc-0.11.1/lib'
Making all in src
gmake[2]: Entering directory `/usr/home/users/compile/microdc-0.11.1/src'
Making all in common
gmake[3]: Entering directory `/usr/home/users/compile/microdc-0.11.1/src/common'
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib 
-I/usr/local/include -Wall -g -O2 -MT bksearch.o -MD -MP -MF 
".deps/bksearch.Tpo" -c -o bksearch.o bksearch.c; \
then mv -f ".deps/bksearch.Tpo" ".deps/bksearch.Po"; else rm -f 
".deps/bksearch.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib 
-I/usr/local/include -Wall -g -O2 -MT byteq.o -MD -MP -MF ".deps/byteq.Tpo" -c 
-o byteq.o byteq.c; \
then mv -f ".deps/byteq.Tpo" ".deps/byteq.Po"; else rm -f ".deps/byteq.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib 
-I/usr/local/include -Wall -g -O2 -MT error.o -MD -MP -MF ".deps/error.Tpo" -c 
-o error.o error.c; \
then mv -f ".deps/error.Tpo" ".deps/error.Po"; else rm -f ".deps/error.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib 
-I/usr/local/include -Wall -g -O2 -MT hmap.o -MD -MP -MF ".deps/hmap.Tpo" -c -o 
hmap.o hmap.c; \
then mv -f ".deps/hmap.Tpo" ".deps/hmap.Po"; else rm -f ".deps/hmap.Tpo"; exit 
1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib 
-I/usr/local/include -Wall -g -O2 -MT intutil.o -MD -MP -MF ".deps/intutil.Tpo" 
-c -o intutil.o intutil.c; \
then mv -f ".deps/intutil.Tpo" ".deps/intutil.Po"; else rm -f 
".deps/intutil.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib 
-I/usr/local/include -Wall -g -O2 -MT msgq.o -MD -MP -MF ".deps/msgq.Tpo" -c -o 
msgq.o msgq.c; \
then mv -f ".deps/msgq.Tpo" ".deps/msgq.Po"; else rm -f ".deps/msgq.Tpo"; exit 
1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib 
-I/usr/local/include -Wall -g -O2 -MT optparser.o -MD -MP -MF 
".deps/optparser.Tpo" -c -o optparser.o optparser.c; \
then mv -f ".deps/optparser.Tpo" ".deps/optparser.Po"; else rm -f 
".deps/optparser.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib 
-I/usr/local/include -Wall -g -O2 -MT ptrv.o -MD -MP -MF ".deps/ptrv.Tpo" -c -o 
ptrv.o ptrv.c; \
then mv -f ".deps/ptrv.Tpo" ".deps/ptrv.Po"; else rm -f ".deps/ptrv.Tpo"; exit 
1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib 
-I/usr/local/include -Wall -g -O2 -MT quoting.o -MD -MP -MF ".deps/quoting.Tpo" 
-c -o quoting.o quoting.c; \
then mv -f ".deps/quoting.Tpo" ".deps/quoting.Po"; else rm -f 
".deps/quoting.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib 
-I/usr/local/include -Wall -g -O2 -MT range.o -MD -MP -MF ".deps/range.Tpo" -c 
-o range.o range.c; \
then mv -f ".deps/range.Tpo" ".deps/range.Po"; else rm -f ".deps/range.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib 
-I/usr/local/include -Wall -g -O2 -MT substrcmp.o -MD -MP -MF 
".deps/substrcmp.Tpo" -c -o substrcmp.o substrcmp.c; \
then mv -f ".deps/substrcmp.Tpo" ".deps/substrcmp.Po"; else rm -f 
".deps/substrcmp.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib 
-I/usr/local/include -Wall -g -O2 -MT strbuf.o -MD -MP -MF ".deps/strbuf.Tpo" 
-c -o strbuf.o strbuf.c; \
then mv -f ".deps/strbuf.Tpo" ".deps/strbuf.Po"; else rm -f ".deps/strbuf.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib 
-I/usr/local/include -Wall -g -O2 -MT strleftcmp.o -MD -MP -MF 
".deps/strleftcmp.Tpo" -c -o strleftcmp.o strleftcmp.c; \
then mv -f ".deps/strleftcmp.Tpo" ".deps/strleftcmp.Po"; else rm -f 
".deps/strleftcmp.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib 
-I/usr/local/include -Wall -g -O2 -MT tempdir.o -MD -MP -MF ".deps/tempdir.Tpo" 
-c -o tempdir.o tempdir.c; \
then mv -f ".deps/tempdir.Tpo" ".deps/tempdir.Po"; else rm -f 
".deps/tempdir.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib 
-I/usr/local/include -Wall -g -O2 -MT tmap.o -MD -MP -MF ".deps/tmap.Tpo" -c -o 
tmap.o tmap.c; \
then mv -f ".deps/tmap.Tpo" ".deps/tmap.Po"; else rm -f ".deps/tmap.Tpo"; exit 
1; fi
rm -f libcommon.a
ar cru libcommon.a bksearch.o byteq.o error.o hmap.o intutil.o msgq.o 
optparser.o ptrv.o quoting.o range.o substrcmp.o strbuf.o strleftcmp.o 
tempdir.o tmap.o ../../lib/libgnu.a
ranlib libcommon.a
gmake[3]: Leaving directory `/usr/home/users/compile/microdc-0.11.1/src/common'
Making all in .
gmake[3]: Entering directory `/usr/home/users/compile/microdc-0.11.1/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib -I/usr/local/include 
-Wall -D_THREAD_SAFE -pthread -g -O2 -MT command.o -MD -MP -MF 
".deps/command.Tpo" -c -o command.o command.c; \
then mv -f ".deps/command.Tpo" ".deps/command.Po"; else rm -f 
".deps/command.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib -I/usr/local/include 
-Wall -D_THREAD_SAFE -pthread -g -O2 -MT connection.o -MD -MP -MF 
".deps/connection.Tpo" -c -o connection.o connection.c; \
then mv -f ".deps/connection.Tpo" ".deps/connection.Po"; else rm -f 
".deps/connection.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib -I/usr/local/include 
-Wall -D_THREAD_SAFE -pthread -g -O2 -MT variables.o -MD -MP -MF 
".deps/variables.Tpo" -c -o variables.o variables.c; \
then mv -f ".deps/variables.Tpo" ".deps/variables.Po"; else rm -f 
".deps/variables.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib -I/usr/local/include 
-Wall -D_THREAD_SAFE -pthread -g -O2 -MT fs.o -MD -MP -MF ".deps/fs.Tpo" -c -o 
fs.o fs.c; \
then mv -f ".deps/fs.Tpo" ".deps/fs.Po"; else rm -f ".deps/fs.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib -I/usr/local/include 
-Wall -D_THREAD_SAFE -pthread -g -O2 -MT hub.o -MD -MP -MF ".deps/hub.Tpo" -c 
-o hub.o hub.c; \
then mv -f ".deps/hub.Tpo" ".deps/hub.Po"; else rm -f ".deps/hub.Tpo"; exit 1; 
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib -I/usr/local/include 
-Wall -D_THREAD_SAFE -pthread -g -O2 -MT huffman.o -MD -MP -MF 
".deps/huffman.Tpo" -c -o huffman.o huffman.c; \
then mv -f ".deps/huffman.Tpo" ".deps/huffman.Po"; else rm -f 
".deps/huffman.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib -I/usr/local/include 
-Wall -D_THREAD_SAFE -pthread -g -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c 
-o main.o main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 
1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib -I/usr/local/include 
-Wall -D_THREAD_SAFE -pthread -g -O2 -MT lookup.o -MD -MP -MF 
".deps/lookup.Tpo" -c -o lookup.o lookup.c; \
then mv -f ".deps/lookup.Tpo" ".deps/lookup.Po"; else rm -f ".deps/lookup.Tpo"; 
exit 1; fi
lookup.c: In function `lookup_main':
lookup.c:175: warning: implicit declaration of function `sigaction'
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib -I/usr/local/include 
-Wall -D_THREAD_SAFE -pthread -g -O2 -MT filelist-in.o -MD -MP -MF 
".deps/filelist-in.Tpo" -c -o filelist-in.o filelist-in.c; \
then mv -f ".deps/filelist-in.Tpo" ".deps/filelist-in.Po"; else rm -f 
".deps/filelist-in.Tpo"; exit 1; fi
filelist-in.c: In function `parse_main':
filelist-in.c:297: warning: implicit declaration of function `sigaction'
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib -I/usr/local/include 
-Wall -D_THREAD_SAFE -pthread -g -O2 -MT screen.o -MD -MP -MF 
".deps/screen.Tpo" -c -o screen.o screen.c; \
then mv -f ".deps/screen.Tpo" ".deps/screen.Po"; else rm -f ".deps/screen.Tpo"; 
exit 1; fi
screen.c: In function `screen_msgq_readable':
screen.c:510: warning: null format string
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib -I/usr/local/include 
-Wall -D_THREAD_SAFE -pthread -g -O2 -MT search.o -MD -MP -MF 
".deps/search.Tpo" -c -o search.o search.c; \
then mv -f ".deps/search.Tpo" ".deps/search.Po"; else rm -f ".deps/search.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib -I/usr/local/include 
-Wall -D_THREAD_SAFE -pthread -g -O2 -MT user.o -MD -MP -MF ".deps/user.Tpo" -c 
-o user.o user.c; \
then mv -f ".deps/user.Tpo" ".deps/user.Po"; else rm -f ".deps/user.Tpo"; exit 
1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib -I/usr/local/include 
-Wall -D_THREAD_SAFE -pthread -g -O2 -MT util.o -MD -MP -MF ".deps/util.Tpo" -c 
-o util.o util.c; \
then mv -f ".deps/util.Tpo" ".deps/util.Po"; else rm -f ".deps/util.Tpo"; exit 
1; fi
rm -f libmicrodc.a
ar cru libmicrodc.a command.o connection.o variables.o fs.o hub.o huffman.o 
main.o lookup.o filelist-in.o screen.o search.o user.o util.o 
common/libcommon.a ../lib/libgnu.a  /usr/local/lib/libintl.so -Wl,-rpath 
-Wl,/usr/local/lib /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
ar: '-Wl,-rpath': No such file
ar: '-Wl,/usr/local/lib': No such file
ar: '-Wl,-rpath': No such file
ar: '-Wl,/usr/local/lib': No such file
ranlib libmicrodc.a
gmake[3]: Leaving directory `/usr/home/users/compile/microdc-0.11.1/src'
Making all in readline-ui
gmake[3]: Entering directory 
`/usr/home/users/compile/microdc-0.11.1/src/readline-ui'
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib -I../../src 
-I/usr/local/include -Wall -D_THREAD_SAFE -pthread -g -O2 -MT ui.o -MD -MP -MF 
".deps/ui.Tpo" -c -o ui.o ui.c; \
then mv -f ".deps/ui.Tpo" ".deps/ui.Po"; else rm -f ".deps/ui.Tpo"; exit 1; fi
gcc -Wall -D_THREAD_SAFE -pthread -g -O2   -o microdc  ui.o ../libmicrodc.a 
../common/libcommon.a ../../lib/libgnu.a -lreadline 
gmake[3]: Leaving directory 
`/usr/home/users/compile/microdc-0.11.1/src/readline-ui'
gmake[2]: Leaving directory `/usr/home/users/compile/microdc-0.11.1/src'
gmake[2]: Entering directory `/usr/home/users/compile/microdc-0.11.1'
gmake[2]: Nothing to be done for `all-am'.
gmake[2]: Leaving directory `/usr/home/users/compile/microdc-0.11.1'
gmake[1]: Leaving directory `/usr/home/users/compile/microdc-0.11.1'

*******************************************************************************

But what's weird, I can't compile it with custom prefix. Neither 0.11.1 or 
0.11.0 can.
Here is full log of 0.11.1:

gmake  all-recursive
gmake[1]: Entering directory `/usr/home/users/compile/microdc-0.11.1'
Making all in po
gmake[2]: Entering directory `/usr/home/users/compile/microdc-0.11.1/po'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/home/users/compile/microdc-0.11.1/po'
Making all in lib
gmake[2]: Entering directory `/usr/home/users/compile/microdc-0.11.1/lib'
cp ./alloca_.h alloca.h-t
mv alloca.h-t alloca.h
cp ./fnmatch_.h fnmatch.h-t
mv fnmatch.h-t fnmatch.h
cp ./getopt_.h getopt.h-t
mv getopt.h-t getopt.h
gmake  all-am
gmake[3]: Entering directory `/usr/home/users/compile/microdc-0.11.1/lib'
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c argmatch.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c basename.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c stripslash.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c full-read.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c full-write.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c iconvme.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c progname.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c version-etc.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c xalloc-die.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c xgethostname.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c xstrndup.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c xstrtoumax.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c xvasprintf.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c xasprintf.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c strftime.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c dirname.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c error.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c exitfail.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c fnmatch.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c getdelim.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c getline.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c getopt.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c getopt1.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c human.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c quote.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c quotearg.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c safe-read.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c safe-write.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c sig2str.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c strndup.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c strnlen.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c vasnprintf.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c printf-args.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c printf-parse.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c asnprintf.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c xmalloc.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c xstrtol.c
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c xstrtoul.c
rm -f libgnu.a
ar cru libgnu.a argmatch.o basename.o stripslash.o full-read.o full-write.o 
iconvme.o progname.o version-etc.o xalloc-die.o xgethostname.o xstrndup.o 
xstrtoumax.o xvasprintf.o xasprintf.o strftime.o dirname.o error.o exitfail.o 
fnmatch.o getdelim.o getline.o getopt.o getopt1.o human.o quote.o quotearg.o 
safe-read.o safe-write.o sig2str.o strndup.o strnlen.o vasnprintf.o 
printf-args.o printf-parse.o asnprintf.o xmalloc.o xstrtol.o xstrtoul.o  
ranlib libgnu.a
gmake[3]: Leaving directory `/usr/home/users/compile/microdc-0.11.1/lib'
gmake[2]: Leaving directory `/usr/home/users/compile/microdc-0.11.1/lib'
Making all in src
gmake[2]: Entering directory `/usr/home/users/compile/microdc-0.11.1/src'
Making all in common
gmake[3]: Entering directory `/usr/home/users/compile/microdc-0.11.1/src/common'
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib  -Wall -g -O2 
-MT bksearch.o -MD -MP -MF ".deps/bksearch.Tpo" -c -o bksearch.o bksearch.c; \
then mv -f ".deps/bksearch.Tpo" ".deps/bksearch.Po"; else rm -f 
".deps/bksearch.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib  -Wall -g -O2 
-MT byteq.o -MD -MP -MF ".deps/byteq.Tpo" -c -o byteq.o byteq.c; \
then mv -f ".deps/byteq.Tpo" ".deps/byteq.Po"; else rm -f ".deps/byteq.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib  -Wall -g -O2 
-MT error.o -MD -MP -MF ".deps/error.Tpo" -c -o error.o error.c; \
then mv -f ".deps/error.Tpo" ".deps/error.Po"; else rm -f ".deps/error.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib  -Wall -g -O2 
-MT hmap.o -MD -MP -MF ".deps/hmap.Tpo" -c -o hmap.o hmap.c; \
then mv -f ".deps/hmap.Tpo" ".deps/hmap.Po"; else rm -f ".deps/hmap.Tpo"; exit 
1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib  -Wall -g -O2 
-MT intutil.o -MD -MP -MF ".deps/intutil.Tpo" -c -o intutil.o intutil.c; \
then mv -f ".deps/intutil.Tpo" ".deps/intutil.Po"; else rm -f 
".deps/intutil.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib  -Wall -g -O2 
-MT msgq.o -MD -MP -MF ".deps/msgq.Tpo" -c -o msgq.o msgq.c; \
then mv -f ".deps/msgq.Tpo" ".deps/msgq.Po"; else rm -f ".deps/msgq.Tpo"; exit 
1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib  -Wall -g -O2 
-MT optparser.o -MD -MP -MF ".deps/optparser.Tpo" -c -o optparser.o 
optparser.c; \
then mv -f ".deps/optparser.Tpo" ".deps/optparser.Po"; else rm -f 
".deps/optparser.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib  -Wall -g -O2 
-MT ptrv.o -MD -MP -MF ".deps/ptrv.Tpo" -c -o ptrv.o ptrv.c; \
then mv -f ".deps/ptrv.Tpo" ".deps/ptrv.Po"; else rm -f ".deps/ptrv.Tpo"; exit 
1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib  -Wall -g -O2 
-MT quoting.o -MD -MP -MF ".deps/quoting.Tpo" -c -o quoting.o quoting.c; \
then mv -f ".deps/quoting.Tpo" ".deps/quoting.Po"; else rm -f 
".deps/quoting.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib  -Wall -g -O2 
-MT range.o -MD -MP -MF ".deps/range.Tpo" -c -o range.o range.c; \
then mv -f ".deps/range.Tpo" ".deps/range.Po"; else rm -f ".deps/range.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib  -Wall -g -O2 
-MT substrcmp.o -MD -MP -MF ".deps/substrcmp.Tpo" -c -o substrcmp.o 
substrcmp.c; \
then mv -f ".deps/substrcmp.Tpo" ".deps/substrcmp.Po"; else rm -f 
".deps/substrcmp.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib  -Wall -g -O2 
-MT strbuf.o -MD -MP -MF ".deps/strbuf.Tpo" -c -o strbuf.o strbuf.c; \
then mv -f ".deps/strbuf.Tpo" ".deps/strbuf.Po"; else rm -f ".deps/strbuf.Tpo"; 
exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib  -Wall -g -O2 
-MT strleftcmp.o -MD -MP -MF ".deps/strleftcmp.Tpo" -c -o strleftcmp.o 
strleftcmp.c; \
then mv -f ".deps/strleftcmp.Tpo" ".deps/strleftcmp.Po"; else rm -f 
".deps/strleftcmp.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib  -Wall -g -O2 
-MT tempdir.o -MD -MP -MF ".deps/tempdir.Tpo" -c -o tempdir.o tempdir.c; \
then mv -f ".deps/tempdir.Tpo" ".deps/tempdir.Po"; else rm -f 
".deps/tempdir.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib  -Wall -g -O2 
-MT tmap.o -MD -MP -MF ".deps/tmap.Tpo" -c -o tmap.o tmap.c; \
then mv -f ".deps/tmap.Tpo" ".deps/tmap.Po"; else rm -f ".deps/tmap.Tpo"; exit 
1; fi
rm -f libcommon.a
ar cru libcommon.a bksearch.o byteq.o error.o hmap.o intutil.o msgq.o 
optparser.o ptrv.o quoting.o range.o substrcmp.o strbuf.o strleftcmp.o 
tempdir.o tmap.o ../../lib/libgnu.a
ranlib libcommon.a
gmake[3]: Leaving directory `/usr/home/users/compile/microdc-0.11.1/src/common'
Making all in .
gmake[3]: Entering directory `/usr/home/users/compile/microdc-0.11.1/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib  -Wall -D_THREAD_SAFE 
-pthread -g -O2 -MT command.o -MD -MP -MF ".deps/command.Tpo" -c -o command.o 
command.c; \
then mv -f ".deps/command.Tpo" ".deps/command.Po"; else rm -f 
".deps/command.Tpo"; exit 1; fi
In file included from command.c:53:
microdc.h:31:52: iconv.h: No such file or directory
In file included from command.c:53:
microdc.h:347: error: syntax error before "to_hub_iconv"
microdc.h:347: warning: type defaults to `int' in declaration of `to_hub_iconv'
microdc.h:347: warning: data definition has no type or storage class
microdc.h:348: error: syntax error before "from_hub_iconv"
microdc.h:348: warning: type defaults to `int' in declaration of 
`from_hub_iconv'
microdc.h:348: warning: data definition has no type or storage class
command.c: In function `cmd_say':
command.c:782: error: `iconv_t' undeclared (first use in this function)
command.c:782: error: (Each undeclared identifier is reported only once
command.c:782: error: for each function it appears in.)
command.c:783: warning: implicit declaration of function `iconv_alloc'
command.c:783: warning: assignment makes pointer from integer without a cast
command.c: In function `cmd_msg':
command.c:818: error: `iconv_t' undeclared (first use in this function)
command.c:819: warning: assignment makes pointer from integer without a cast
command.c: In function `cmd_who':
command.c:1501: warning: initialization discards qualifiers from pointer target 
type
command.c: In function `cmd_results':
command.c:1648: warning: assignment discards qualifiers from pointer target type
gmake[3]: *** [command.o] Error 1
gmake[3]: Leaving directory `/usr/home/users/compile/microdc-0.11.1/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/home/users/compile/microdc-0.11.1/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/users/compile/microdc-0.11.1'
gmake: *** [all] Error 2

**************************************************************************

So I investigated microdc.h and changed <iconv.h> to 
"/usr/local/include/iconv.h"(FIXME), 
because <sys/iconv.h> differs of GNU one. In particular, It hasn't any iconv_t.

gmake  all-recursive
gmake[1]: Entering directory `/usr/home/users/compile/microdc-0.11.1'
Making all in po
gmake[2]: Entering directory `/usr/home/users/compile/microdc-0.11.1/po'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/home/users/compile/microdc-0.11.1/po'
Making all in lib
gmake[2]: Entering directory `/usr/home/users/compile/microdc-0.11.1/lib'
gmake  all-am
gmake[3]: Entering directory `/usr/home/users/compile/microdc-0.11.1/lib'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/usr/home/users/compile/microdc-0.11.1/lib'
gmake[2]: Leaving directory `/usr/home/users/compile/microdc-0.11.1/lib'
Making all in src
gmake[2]: Entering directory `/usr/home/users/compile/microdc-0.11.1/src'
Making all in common
gmake[3]: Entering directory `/usr/home/users/compile/microdc-0.11.1/src/common'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/usr/home/users/compile/microdc-0.11.1/src/common'
Making all in .
gmake[3]: Entering directory `/usr/home/users/compile/microdc-0.11.1/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib  -Wall -D_THREAD_SAFE 
-pthread -g -O2 -MT command.o -MD -MP -MF ".deps/command.Tpo" -c -o command.o 
command.c; \
then mv -f ".deps/command.Tpo" ".deps/command.Po"; else rm -f 
".deps/command.Tpo"; exit 1; fi
command.c: In function `cmd_say':
command.c:783: warning: implicit declaration of function `iconv_alloc'
command.c:783: warning: assignment makes pointer from integer without a cast
command.c: In function `cmd_msg':
command.c:819: warning: assignment makes pointer from integer without a cast
command.c: In function `cmd_who':
command.c:1501: warning: initialization discards qualifiers from pointer target 
type
command.c: In function `cmd_results':
command.c:1648: warning: assignment discards qualifiers from pointer target type
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib  -Wall -D_THREAD_SAFE 
-pthread -g -O2 -MT connection.o -MD -MP -MF ".deps/connection.Tpo" -c -o 
connection.o connection.c; \
then mv -f ".deps/connection.Tpo" ".deps/connection.Po"; else rm -f 
".deps/connection.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib  -Wall -D_THREAD_SAFE 
-pthread -g -O2 -MT variables.o -MD -MP -MF ".deps/variables.Tpo" -c -o 
variables.o variables.c; \
then mv -f ".deps/variables.Tpo" ".deps/variables.Po"; else rm -f 
".deps/variables.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib  -Wall -D_THREAD_SAFE 
-pthread -g -O2 -MT fs.o -MD -MP -MF ".deps/fs.Tpo" -c -o fs.o fs.c; \
then mv -f ".deps/fs.Tpo" ".deps/fs.Po"; else rm -f ".deps/fs.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib  -Wall -D_THREAD_SAFE 
-pthread -g -O2 -MT hub.o -MD -MP -MF ".deps/hub.Tpo" -c -o hub.o hub.c; \
then mv -f ".deps/hub.Tpo" ".deps/hub.Po"; else rm -f ".deps/hub.Tpo"; exit 1; 
fi
hub.c: In function `prepare_chat_string_for_display':
hub.c:371: warning: implicit declaration of function `iconv_alloc'
hub.c:371: warning: assignment makes pointer from integer without a cast
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib  -Wall -D_THREAD_SAFE 
-pthread -g -O2 -MT huffman.o -MD -MP -MF ".deps/huffman.Tpo" -c -o huffman.o 
huffman.c; \
then mv -f ".deps/huffman.Tpo" ".deps/huffman.Po"; else rm -f 
".deps/huffman.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib  -Wall -D_THREAD_SAFE 
-pthread -g -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 
1; fi
main.c: In function `read_signal_input':
main.c:744: warning: assignment discards qualifiers from pointer target type
main.c:746: warning: assignment discards qualifiers from pointer target type
main.c:749: warning: assignment discards qualifiers from pointer target type
main.c:753: warning: assignment discards qualifiers from pointer target type
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib  -Wall -D_THREAD_SAFE 
-pthread -g -O2 -MT lookup.o -MD -MP -MF ".deps/lookup.Tpo" -c -o lookup.o 
lookup.c; \
then mv -f ".deps/lookup.Tpo" ".deps/lookup.Po"; else rm -f ".deps/lookup.Tpo"; 
exit 1; fi
lookup.c: In function `lookup_main':
lookup.c:175: warning: implicit declaration of function `sigaction'
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib  -Wall -D_THREAD_SAFE 
-pthread -g -O2 -MT filelist-in.o -MD -MP -MF ".deps/filelist-in.Tpo" -c -o 
filelist-in.o filelist-in.c; \
then mv -f ".deps/filelist-in.Tpo" ".deps/filelist-in.Po"; else rm -f 
".deps/filelist-in.Tpo"; exit 1; fi
filelist-in.c: In function `parse_main':
filelist-in.c:297: warning: implicit declaration of function `sigaction'
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib  -Wall -D_THREAD_SAFE 
-pthread -g -O2 -MT screen.o -MD -MP -MF ".deps/screen.Tpo" -c -o screen.o 
screen.c; \
then mv -f ".deps/screen.Tpo" ".deps/screen.Po"; else rm -f ".deps/screen.Tpo"; 
exit 1; fi
screen.c: In function `screen_msgq_readable':
screen.c:510: warning: null format string
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib  -Wall -D_THREAD_SAFE 
-pthread -g -O2 -MT search.o -MD -MP -MF ".deps/search.Tpo" -c -o search.o 
search.c; \
then mv -f ".deps/search.Tpo" ".deps/search.Po"; else rm -f ".deps/search.Tpo"; 
exit 1; fi
search.c: In function `handle_search_result':
search.c:596: warning: assignment discards qualifiers from pointer target type
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib  -Wall -D_THREAD_SAFE 
-pthread -g -O2 -MT user.o -MD -MP -MF ".deps/user.Tpo" -c -o user.o user.c; \
then mv -f ".deps/user.Tpo" ".deps/user.Po"; else rm -f ".deps/user.Tpo"; exit 
1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib  -Wall -D_THREAD_SAFE 
-pthread -g -O2 -MT util.o -MD -MP -MF ".deps/util.Tpo" -c -o util.o util.c; \
then mv -f ".deps/util.Tpo" ".deps/util.Po"; else rm -f ".deps/util.Tpo"; exit 
1; fi
util.c: In function `init_i18n':
util.c:360: warning: implicit declaration of function `setlocale'
util.c:360: error: `LC_ALL' undeclared (first use in this function)
util.c:360: error: (Each undeclared identifier is reported only once
util.c:360: error: for each function it appears in.)
util.c:360: warning: comparison between pointer and integer
gmake[3]: *** [util.o] Error 1
gmake[3]: Leaving directory `/usr/home/users/compile/microdc-0.11.1/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/home/users/compile/microdc-0.11.1/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/users/compile/microdc-0.11.1'
gmake: *** [all] Error 2

**********************************************************************************

It pointed me to include <locale.h> to util.c in 0.11.1.

gmake  all-recursive
gmake[1]: Entering directory `/usr/home/users/compile/microdc-0.11.1'
Making all in po
gmake[2]: Entering directory `/usr/home/users/compile/microdc-0.11.1/po'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/home/users/compile/microdc-0.11.1/po'
Making all in lib
gmake[2]: Entering directory `/usr/home/users/compile/microdc-0.11.1/lib'
gmake  all-am
gmake[3]: Entering directory `/usr/home/users/compile/microdc-0.11.1/lib'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/usr/home/users/compile/microdc-0.11.1/lib'
gmake[2]: Leaving directory `/usr/home/users/compile/microdc-0.11.1/lib'
Making all in src
gmake[2]: Entering directory `/usr/home/users/compile/microdc-0.11.1/src'
Making all in common
gmake[3]: Entering directory `/usr/home/users/compile/microdc-0.11.1/src/common'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/usr/home/users/compile/microdc-0.11.1/src/common'
Making all in .
gmake[3]: Entering directory `/usr/home/users/compile/microdc-0.11.1/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../lib  -Wall -D_THREAD_SAFE 
-pthread -g -O2 -MT util.o -MD -MP -MF ".deps/util.Tpo" -c -o util.o util.c; \
then mv -f ".deps/util.Tpo" ".deps/util.Po"; else rm -f ".deps/util.Tpo"; exit 
1; fi
rm -f libmicrodc.a
ar cru libmicrodc.a command.o connection.o variables.o fs.o hub.o huffman.o 
main.o lookup.o filelist-in.o screen.o search.o user.o util.o 
common/libcommon.a ../lib/libgnu.a   
ranlib libmicrodc.a
gmake[3]: Leaving directory `/usr/home/users/compile/microdc-0.11.1/src'
Making all in readline-ui
gmake[3]: Entering directory 
`/usr/home/users/compile/microdc-0.11.1/src/readline-ui'
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib -I../../lib -I../../src  
-Wall -D_THREAD_SAFE -pthread -g -O2 -MT ui.o -MD -MP -MF ".deps/ui.Tpo" -c -o 
ui.o ui.c; \
then mv -f ".deps/ui.Tpo" ".deps/ui.Po"; else rm -f ".deps/ui.Tpo"; exit 1; fi
gcc -Wall -D_THREAD_SAFE -pthread -g -O2   -o microdc  ui.o ../libmicrodc.a 
../common/libcommon.a ../../lib/libgnu.a -lreadline 
../libmicrodc.a(main.o)(.text+0x1e46): In function `mdc_launch':
/usr/home/users/compile/microdc-0.11.1/src/main.c:1272: undefined reference to 
`libiconv_close'
../libmicrodc.a(main.o)(.text+0x1e64):/usr/home/users/compile/microdc-0.11.1/src/main.c:1274:
 undefined reference to `libiconv_close'
../libmicrodc.a(command.o)(.text+0x11ae): In function `cmd_say':
/usr/home/users/compile/microdc-0.11.1/src/command.c:783: undefined reference 
to `iconv_alloc'
../libmicrodc.a(command.o)(.text+0x1293): In function `cmd_msg':
/usr/home/users/compile/microdc-0.11.1/src/command.c:819: undefined reference 
to `iconv_alloc'
../libmicrodc.a(variables.o)(.text+0x5f): In function `var_set_charset':
/usr/home/users/compile/microdc-0.11.1/src/variables.c:310: undefined reference 
to `libiconv_close'
../libmicrodc.a(variables.o)(.text+0x7d):/usr/home/users/compile/microdc-0.11.1/src/variables.c:312:
 undefined reference to `libiconv_close'
../libmicrodc.a(variables.o)(.text+0x16b):/usr/home/users/compile/microdc-0.11.1/src/variables.c:299:
 undefined reference to `libiconv_open'
../libmicrodc.a(variables.o)(.text+0x181):/usr/home/users/compile/microdc-0.11.1/src/variables.c:304:
 undefined reference to `libiconv_open'
../libmicrodc.a(hub.o)(.text+0x9af): In function 
`prepare_chat_string_for_display':
/usr/home/users/compile/microdc-0.11.1/src/hub.c:371: undefined reference to 
`iconv_alloc'
gmake[3]: *** [microdc] Error 1
gmake[3]: Leaving directory 
`/usr/home/users/compile/microdc-0.11.1/src/readline-ui'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/home/users/compile/microdc-0.11.1/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/users/compile/microdc-0.11.1'
gmake: *** [all] Error 2

After looked through all log I decided investigate lib/iconvme.h and 
lib/iconvme.c and changed <iconv.h>
to "/usr/local/include/iconv.h" as I did it above. But it didnt solve the 
problem.

At last, I diff'ed to config.log. The first one was without prefix, the second 
one was with it.
Full diff here - http://st-gib.narod.ru/microdc-0.11.1.config.log.prefix-diff
or http://webfile.ru/741966
Here is the example of it:

@@ -2298,11 +2298,13 @@
 configure:11123: checking for funlockfile
 configure:11210: result: yes
 configure:11306: checking for iconv
-configure:11333: gcc -o conftest -g -O2 -I/usr/local/include  conftest.c  >&5
-/var/tmp//cccodjbD.o(.text+0x16): In function `main':
-/usr/home/users/compile/microdc-0.11.1/conftest.c:101: undefined reference to 
`libiconv_open'
-/var/tmp//cccodjbD.o(.text+0x2b):/usr/home/users/compile/microdc-0.11.1/conftest.c:102:
 undefined referen
ce to `libiconv'
-/var/tmp//cccodjbD.o(.text+0x34):/usr/home/users/compile/microdc-0.11.1/conftest.c:103:
 undefined referen
ce to `libiconv_close'
+configure:11333: gcc -o conftest -g -O2   conftest.c  >&5
+conftest.c:97:19: iconv.h: No such file or directory
+conftest.c: In function `main':
+conftest.c:101: error: syntax error before "cd"
+conftest.c:102: error: `cd' undeclared (first use in this function)
+conftest.c:102: error: (Each undeclared identifier is reported only once
+conftest.c:102: error: for each function it appears in.)
 configure:11339: $? = 1
 configure: failed program was:
 | /* confdefs.h.  */

Any help will be appreciated and sorry for my english.
-------------------------------------------------------------------------------------

Now it's time for a cup of coffee :).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]