microdc-devel
[Top][All Lists]
Advanced

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

[microdc-devel] compile bombs on OpenBSD 3.8


From: Stephen Takacs
Subject: [microdc-devel] compile bombs on OpenBSD 3.8
Date: Sat, 25 Mar 2006 11:31:24 -0500
User-agent: Mutt/1.5.9i

address@hidden(ttyp7:0):~/microdc-0.11.0$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd3.8/3.3.5/specs
Configured with: 
Thread model: single
gcc version 3.3.5 (propolice)
address@hidden(ttyp7:0):~/microdc-0.11.0$ pkg_info|grep ^auto
autoconf-2.59       automatically configure source code on many Un*x platforms
automake-1.4-p6p2   GNU Standards-compliant Makefile generator
address@hidden(ttyp7:0):~/microdc-0.11.0$ ./configure
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... no
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... no
checking for stdint.h... no
checking for unsigned long long... yes
checking build system type... i386-unknown-openbsd3.8
checking host system type... i386-unknown-openbsd3.8
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... no
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... E2BIG
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... no
checking whether strtoimax is declared... no
checking whether strtoumax is declared... no
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.a
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... no
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) no
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) no
checking whether 'long' is 64 bit wide... no
checking whether 'long long' is 64 bit wide... yes
checking for stpcpy... no
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... no
checking whether strtoll is declared... 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... no
checking whether strtoull is declared... 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) no
checking whether NLS is requested... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... no
checking for msgmerge... no
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.a
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.a -L/usr/local/lib 
/usr/local/lib/libiconv.a
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... no
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 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
address@hidden(ttyp7:0):~/microdc-0.11.0$ make
make  all-recursive
Making all in po
Making all in 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
sed -e 's/@''HAVE_LONG_64BIT''@/0/g;s/@''HAVE_LONG_LONG_64BIT@/1/g' < 
./stdint_.h > stdint.h-t
mv stdint.h-t stdint.h
make  all-am
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 memmem.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 stpcpy.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 strtoimax.c
gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/local/include  -g -O2 -c strtoumax.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 memmem.o quote.o 
quotearg.o safe-read.o safe-write.o sig2str.o stpcpy.o strndup.o strnlen.o 
strtoimax.o strtoumax.o vasnprintf.o printf-args.o printf-parse.o asnprintf.o 
xmalloc.o xstrtol.o xstrtoul.o  -L/usr/local/lib -liconv
ar: '-L/usr/local/lib': No such file
ar: '-liconv': No such file
ranlib libgnu.a
Making all in src
Making all in 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
In file included from byteq.c:26:
../../lib/stdint.h:62: warning: redefinition of `int8_t'
/usr/include/machine/types.h:56: warning: `int8_t' previously declared here
../../lib/stdint.h:64: warning: redefinition of `uint8_t'
/usr/include/machine/types.h:58: warning: `uint8_t' previously declared here
../../lib/stdint.h:67: warning: redefinition of `int16_t'
/usr/include/machine/types.h:59: warning: `int16_t' previously declared here
../../lib/stdint.h:69: warning: redefinition of `uint16_t'
/usr/include/machine/types.h:61: warning: `uint16_t' previously declared here
../../lib/stdint.h:72: warning: redefinition of `int32_t'
/usr/include/machine/types.h:62: warning: `int32_t' previously declared here
../../lib/stdint.h:74: warning: redefinition of `uint32_t'
/usr/include/machine/types.h:64: warning: `uint32_t' previously declared here
../../lib/stdint.h:84: warning: redefinition of `int64_t'
/usr/include/machine/types.h:66: warning: `int64_t' previously declared here
../../lib/stdint.h:86: warning: redefinition of `uint64_t'
/usr/include/machine/types.h:70: warning: `uint64_t' previously declared here
../../lib/stdint.h:136: warning: useless keyword or type name in empty 
declaration
../../lib/stdint.h:136: warning: empty declaration
../../lib/stdint.h:137: warning: useless keyword or type name in empty 
declaration
../../lib/stdint.h:137: warning: empty declaration
In file included from byteq.c:26:
../../lib/stdint.h:233:1: warning: "SIZE_MAX" redefined
In file included from /usr/include/sys/limits.h:44,
                 from /usr/include/limits.h:88,
                 from ../../lib/stdint.h:30,
                 from byteq.c:26:
/usr/include/machine/limits.h:41:1: warning: this is the location of the 
previous definition
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
In file included from hmap.h:24,
                 from hmap.c:25:
../../lib/stdint.h:62: warning: redefinition of `int8_t'
/usr/include/machine/types.h:56: warning: `int8_t' previously declared here
../../lib/stdint.h:64: warning: redefinition of `uint8_t'
/usr/include/machine/types.h:58: warning: `uint8_t' previously declared here
../../lib/stdint.h:67: warning: redefinition of `int16_t'
/usr/include/machine/types.h:59: warning: `int16_t' previously declared here
../../lib/stdint.h:69: warning: redefinition of `uint16_t'
/usr/include/machine/types.h:61: warning: `uint16_t' previously declared here
../../lib/stdint.h:72: warning: redefinition of `int32_t'
/usr/include/machine/types.h:62: warning: `int32_t' previously declared here
../../lib/stdint.h:74: warning: redefinition of `uint32_t'
/usr/include/machine/types.h:64: warning: `uint32_t' previously declared here
../../lib/stdint.h:84: warning: redefinition of `int64_t'
/usr/include/machine/types.h:66: warning: `int64_t' previously declared here
../../lib/stdint.h:86: warning: redefinition of `uint64_t'
/usr/include/machine/types.h:70: warning: `uint64_t' previously declared here
../../lib/stdint.h:136: warning: useless keyword or type name in empty 
declaration
../../lib/stdint.h:136: warning: empty declaration
../../lib/stdint.h:137: warning: useless keyword or type name in empty 
declaration
../../lib/stdint.h:137: warning: empty declaration
In file included from hmap.h:24,
                 from hmap.c:25:
../../lib/stdint.h:233:1: warning: "SIZE_MAX" redefined
In file included from /usr/include/sys/limits.h:44,
                 from /usr/include/limits.h:88,
                 from ../../lib/stdint.h:30,
                 from hmap.h:24,
                 from hmap.c:25:
/usr/include/machine/limits.h:41:1: warning: this is the location of the 
previous definition
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
In file included from intutil.c:21:
../../lib/stdint.h:136: warning: useless keyword or type name in empty 
declaration
../../lib/stdint.h:136: warning: empty declaration
../../lib/stdint.h:137: warning: useless keyword or type name in empty 
declaration
../../lib/stdint.h:137: warning: empty declaration
In file included from intutil.c:21:
../../lib/stdint.h:233:1: warning: "SIZE_MAX" redefined
In file included from /usr/include/sys/limits.h:44,
                 from /usr/include/limits.h:88,
                 from ../../lib/stdint.h:30,
                 from intutil.c:21:
/usr/include/machine/limits.h:41:1: warning: this is the location of the 
previous definition
intutil.c: In function `uint64_str':
intutil.c:38: error: syntax error before "PRIu64"
intutil.c: In function `uint32_str':
intutil.c:39: error: syntax error before "PRIu32"
intutil.c: In function `uint16_str':
intutil.c:40: error: syntax error before "PRIu16"
intutil.c: In function `uint8_str':
intutil.c:41: error: syntax error before "PRIu8"
intutil.c: In function `int32_str':
intutil.c:42: error: syntax error before "PRIi32"
intutil.c: In function `int64_str':
intutil.c:43: error: syntax error before "PRIi64"
intutil.c: In function `int16_str':
intutil.c:44: error: syntax error before "PRIi16"
intutil.c: In function `int8_str':
intutil.c:45: error: syntax error before "PRIi8"
*** Error code 1

Stop in /home/smt/microdc-0.11.0/src/common.
*** Error code 1

Stop in /home/smt/microdc-0.11.0/src (line 450 of Makefile).
*** Error code 1

Stop in /home/smt/microdc-0.11.0 (line 331 of Makefile).
*** Error code 1

Stop in /home/smt/microdc-0.11.0 (line 243 of Makefile).
address@hidden(ttyp7:0):~/microdc-0.11.0$




reply via email to

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