microdc-devel
[Top][All Lists]
Advanced

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

[microdc-devel] compilation error under freebsd 6


From: stgib
Subject: [microdc-devel] compilation error under freebsd 6
Date: Wed, 11 Jan 2006 20:34:29 +0300
User-agent: nail 11.25 7/29/05

Hi, my name is:
FreeBSD 6.0-STABLE FreeBSD 6.0-STABLE #0: Tue Jan 10 21:09:34 MSK 2006
with custom kernel of course.

I've already searched for some tips through Mailing list,
Google, Google groups and found nothing useful. So, I decided
to drop log here.

Compilation either 0.11.0 or 0.11.1 or with readline 5 from ports
gives me same errors as you can see below.
But wait, config.log here - http://www.megaupload.com/?d=5ZTZSAW5
or http://rapidshare.de/files/10821532/config.log.html
or http://webfile.ru/738282
or http://st-gib.narod.ru/microdc-0.11.1.config.log

------------compilation log------------------------
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for working alloca.h... no
checking for alloca... yes
checking whether system is Windows or MSDOS... no
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking for an ANSI C-conforming const... yes
checking for mbstate_t... yes
checking for C/C++ restrict keyword... __restrict
checking for IPv4 sockets... yes
checking for IPv6 sockets... yes
checking for inline... inline
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for sys/types.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking whether getdelim is declared... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long_only... yes
checking whether optreset is declared... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking build system type... i386-unknown-freebsd6.0
checking host system type... i386-unknown-freebsd6.0
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether memmem is declared... yes
checking whether <limits.h> defines MIN and MAX... no
checking whether <sys/param.h> defines MIN and MAX... yes
checking for iswprint... yes
checking for mbsinit... yes
checking for mblen... yes
checking for mbrlen... yes
checking for mempcpy... no
checking for tzset... yes
checking for isascii... yes
checking for ssize_t... yes
checking for inttypes.h... yes
checking whether strdup is declared... yes
checking for strftime... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking whether time.h and sys/time.h may both be included... yes
checking for struct tm.tm_gmtoff... yes
checking whether strnlen is declared... no
checking for long long... yes
checking for EOVERFLOW... yes
checking for signed... yes
checking for long double... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for size_t... yes
checking for intmax_t... yes
checking whether strtoimax is declared... yes
checking whether strtoumax is declared... yes
checking for error_at_line... no
checking for working GNU fnmatch... no
checking whether getenv is declared... yes
checking for btowc... yes
checking for mbsrtowcs... yes
checking for mempcpy... (cached) no
checking for wmemchr... yes
checking for wmemcpy... yes
checking for wmempcpy... no
checking for wchar.h... (cached) yes
checking for wctype.h... (cached) yes
checking whether free (NULL) is known to work... yes
checking for library containing getaddrinfo... none required
checking for library containing gethostbyname... none required
checking for library containing getservbyname... none required
checking for getaddrinfo... yes
checking for gai_strerror... yes
checking whether getaddrinfo is declared... yes
checking whether freeaddrinfo is declared... yes
checking whether gai_strerror is declared... yes
checking for struct addrinfo... yes
checking for getdelim... no
checking for flockfile... yes
checking for funlockfile... yes
checking for gethostname... yes
checking whether getline is declared... no
checking for getline... no
checking for getdelim... (cached) no
checking for flockfile... (cached) yes
checking for funlockfile... (cached) yes
checking for iconv... yes
checking how to link with libiconv... /usr/local/lib/libiconv.so -Wl,-rpath 
-Wl,/usr/local/lib
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t 
*inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for memmem... yes
checking for mbstate_t... (cached) yes
checking whether mbrtowc and mbstate_t are properly declared... yes
checking for C/C++ restrict keyword... (cached) __restrict
checking for sig2str... no
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for socklen_t... yes
checking for ssize_t... (cached) yes
checking sys/inttypes.h usability... no
checking sys/inttypes.h presence... no
checking for sys/inttypes.h... no
checking for stdint.h... (cached) yes
checking for stpcpy... yes
checking for strdup... yes
checking for strndup... no
checking for working strnlen... no
checking whether <inttypes.h> defines strtoimax as a macro... no
checking for strtoimax... yes
checking for strtol... yes
checking for strtoll... yes
checking for strtoul... yes
checking for strtoull... yes
checking whether <inttypes.h> defines strtoumax as a macro... no
checking for strtoumax... yes
checking whether localtime_r is compatible with its POSIX signature... yes
checking for vasnprintf... no
checking for ptrdiff_t... yes
checking for snprintf... yes
checking for wcslen... yes
checking for vasprintf... yes
checking for stdint.h... (cached) yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/bin/msgmerge
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether NLS is requested... yes
checking for GNU gettext in libc... no
checking for iconv... (cached) yes
checking how to link with libiconv... /usr/local/lib/libiconv.so -Wl,-rpath 
-Wl,/usr/local/lib
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /usr/local/lib/libintl.so -Wl,-rpath 
-Wl,/usr/local/lib
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for ranlib... ranlib
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for cc_r... gcc
checking for the GNU Readline library... found
checking readline.h usability... no
checking readline.h presence... no
checking for readline.h... no
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking whether readline supports history... yes
checking history.h usability... no
checking history.h presence... no
checking for history.h... no
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking for _rl_mark_modified_lines... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking for comparison_fn_t... no
checking for struct sigaction.sa_restorer... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating lib/Makefile
config.status: creating src/Makefile
config.status: creating src/common/Makefile
config.status: creating src/readline-ui/Makefile
config.status: creating rpm/microdc.spec
config.status: creating slackware/microdc.SlackBuild
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
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 `filelist_open':
filelist-in.c:231: error: storage size of 'st' isn't known
filelist-in.c:239: warning: implicit declaration of function `stat'
filelist-in.c:231: warning: unused variable `st'
filelist-in.c: In function `parse_main':
filelist-in.c:296: warning: implicit declaration of function `sigaction'
gmake[3]: *** [filelist-in.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
-------------------------end---------------------------------------

after adding #include <sys/stat.h> to src/filelist-in.c I've encountered next 
error:

-------------------------------------------------------------------
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 -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
util.c:67: warning: "struct sockaddr_in" declared inside parameter list
util.c:67: warning: its scope is only this definition or declaration, which is 
probably not what you want
util.c: In function `parse_ip_and_port':
util.c:75: error: dereferencing pointer to incomplete type
util.c:79: error: dereferencing pointer to incomplete type
util.c:81: error: dereferencing pointer to incomplete type
util.c:81: error: dereferencing pointer to incomplete type
util.c:84: error: dereferencing pointer to incomplete type
util.c:87: error: dereferencing pointer to incomplete type
util.c:87: error: `AF_INET' undeclared (first use in this function)
util.c:87: error: (Each undeclared identifier is reported only once
util.c:87: error: for each function it appears in.)
util.c: At top level:
util.c:212: warning: "struct sockaddr_in" declared inside parameter list
util.c: In function `sockaddr_in_str':
util.c:217: error: dereferencing pointer to incomplete type
util.c:220: error: dereferencing pointer to incomplete type
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
-------------------------------------------------------------------

I'm not a coder, so I don't know what to do next.
Any help will be appreciated.




reply via email to

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