On Linux suse92-lx 2.6.8-24.18-default, I am getting errors compiling with default options.
GCC - 3.4.2 GNU Make - 3.80 Bison - 1.875 Thoughts ? Help ? # configure --prefix=/tmp checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for cc... cc 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 cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking dependency style of cc... (cached) gcc3 checking for bison... bison -y checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for a BSD-compatible install... /usr/bin/install -c checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for UINT64_MAX in limits.h... yes checking for kstat_open in -lkstat... no checking for pthread_mutex_lock in -lpthread... yes checking for pthread_mutexattr_setrobust_np in -lpthread... no checking for pthread_mutexattr_setpshared in -lpthread... yes checking for pthread_mutexattr_setprotocol in -lpthread... no checking for _lwp_self... no checking for aio_write in -lrt... yes checking for aio_waitn in -lrt... no checking for nanosleep in -lrt... yes checking how to run the C preprocessor... cc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for memory.h... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking procfs.h usability... no checking procfs.h presence... no checking for procfs.h... no checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for struct stat.st_blksize... yes checking for struct stat.st_blocks... yes checking for struct stat.st_rdev... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working volatile... yes checking for ptrdiff_t... yes checking for unistd.h... (cached) yes checking for working chown... yes checking for unistd.h... (cached) yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for _LARGEFILE_SOURCE value needed for large files... 1 checking for fseeko... yes checking type of array argument to getgroups... gid_t checking for getgroups... yes checking for working getgroups... yes checking whether getpgrp requires zero arguments... yes checking whether cc needs -traditional... no checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether lstat accepts an empty string... no checking whether lstat dereferences a symlink specified with a trailing slash... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for stdlib.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for alarm... yes checking for working mktime... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking types of arguments for select... int,fd_set *,struct timeval * checking whether setpgrp takes no argument... yes checking for function prototypes... yes checking whether setvbuf arguments are reversed... no checking return type of signal handlers... void checking whether stat accepts an empty string... no checking for working strcoll... yes checking for strftime... yes checking for working strtod... yes checking for vprintf... yes checking for _doprnt... no checking for basename... yes checking for close... yes checking for signal... yes checking for sigsend... no checking for sleep... yes checking for sprintf... yes checking for strlen... yes checking for strncmp... yes checking for strncpy... yes checking for setrlimit... yes checking for strrchr... yes checking for strstr... yes checking for times... yes checking for unlink... yes checking for vfprintf... yes checking for vsprintf... yes checking for waitpid... yes checking for write... yes checking for stat... yes checking for stralloc... no checking for strcat... yes checking for strcmp... yes checking for strcpy... yes checking for strerror... yes checking for pwrite... yes checking for read... yes checking for execl... yes checking for execname... no checking for exit... yes checking for fflush... yes checking for fork... (cached) yes checking for fork1... no checking for fprintf... yes checking for free... yes checking for fstat... yes checking for fsync... yes checking for getpid... yes checking for kill... yes checking for malloc... yes checking for memcpy... yes checking for memset... yes checking for mmap... yes checking for nice... yes checking for open... yes checking for pread... yes checking for printf... yes checking for pthread_cond_broadcast... yes checking for pthread_cond_init... yes checking for pthread_cond_signal... yes checking for pthread_cond_wait... yes checking for pthread_create... yes checking for pthread_exit... yes checking for pthread_join... yes checking for pthread_mutex_init... yes checking for pthread_mutex_lock... yes checking for pthread_mutex_unlock... yes checking for pthread_rwlock_init... yes checking for pthread_rwlock_rdlock... yes checking for pthread_rwlock_unlock... yes checking for pthread_rwlock_wrlock... yes checking for gethrtime... no checking for ftok... yes checking for semget... yes checking for semop... yes checking for semtimedop... yes checking utility.h usability... no checking utility.h presence... no checking for utility.h... no checking sys/int_limits.h usability... no checking sys/int_limits.h presence... no checking for sys/int_limits.h... no checking libaio.h usability... no checking libaio.h presence... no checking for libaio.h... no checking aio.h usability... yes checking aio.h presence... yes checking for aio.h... yes checking sys/async.h usability... no checking sys/async.h presence... no checking for sys/async.h... no checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking for uint_t... no checking for off64_t... no checking for hrtime_t... no checking for caddr_t... yes checking for cftime... no checking for sigsend... (cached) no checking for mkstemp... yes checking for aiocb64... no checking for SHM_SHARE_MMU... no checking for /proc/stat... yes checking whether to enable the use of rdtsc... no configure: creating ./config.status config.status: creating Makefile config.status: creating filebench/Makefile config.status: creating fastsu/Makefile config.status: creating workloads/Makefile config.status: creating workloads/build/Makefile config.status: creating scripts/Makefile config.status: creating benchpoint/Makefile config.status: creating benchpoint/bin/Makefile config.status: creating benchpoint/config/Makefile config.status: creating benchpoint/functions/Makefile config.status: creating benchpoint/profiles/Makefile config.status: creating config.h config.status: executing depfiles commands # make make all-recursive make[1]: Entering directory `/local/platform/packages/IT/BENCHMARK/src/filebench-1.64' Making all in filebench make[2]: Entering directory `/local/platform/packages/IT/BENCHMARK/src/filebench-1.64/filebench' source='fileobj.c' object='fileobj.o' libtool=no \ depfile='.deps/fileobj.Po' tmpdepfile='.deps/fileobj.TPo' \ depmode=gcc3 /bin/sh ../config/depcomp \ cc -D_REENTRANT -DLINUX_PORT -D_GNU_SOURCE -D__USE_LARGEFILE64 -I. -I. -I.. -I../intl -I -DFILEBENCHDIR=\"/tmp/filebench\" -g -O2 -O -I/usr/include/nptl -DYYDEBUG=1 -c `test -f 'fileobj.c' || echo './'`fileobj.c source='misc.c' object='misc.o' libtool=no \ depfile='.deps/misc.Po' tmpdepfile='.deps/misc.TPo' \ depmode=gcc3 /bin/sh ../config/depcomp \ cc -D_REENTRANT -DLINUX_PORT -D_GNU_SOURCE -D__USE_LARGEFILE64 -I. -I. -I.. -I../intl -I -DFILEBENCHDIR=\"/tmp/filebench\" -g -O2 -O -I/usr/include/nptl -DYYDEBUG=1 -c `test -f 'misc.c' || echo './'`misc.c misc.c: In function `date_var': misc.c:318: warning: passing arg 4 of `strftime' from incompatible pointer type source='procflow.c' object='procflow.o' libtool=no \ depfile='.deps/procflow.Po' tmpdepfile='.deps/procflow.TPo' \ depmode=gcc3 /bin/sh ../config/depcomp \ cc -D_REENTRANT -DLINUX_PORT -D_GNU_SOURCE -D__USE_LARGEFILE64 -I. -I. -I.. -I../intl -I -DFILEBENCHDIR=\"/tmp/filebench\" -g -O2 -O -I/usr/include/nptl -DYYDEBUG=1 -c `test -f 'procflow.c' || echo './'`procflow.c source='threadflow.c' object='threadflow.o' libtool=no \ depfile='.deps/threadflow.Po' tmpdepfile='.deps/threadflow.TPo' \ depmode=gcc3 /bin/sh ../config/depcomp \ cc -D_REENTRANT -DLINUX_PORT -D_GNU_SOURCE -D__USE_LARGEFILE64 -I. -I. -I.. -I../intl -I -DFILEBENCHDIR=\"/tmp/filebench\" -g -O2 -O -I/usr/include/nptl -DYYDEBUG=1 -c `test -f 'threadflow.c' || echo './'`threadflow.c source='utils.c' object='utils.o' libtool=no \ depfile='.deps/utils.Po' tmpdepfile='.deps/utils.TPo' \ depmode=gcc3 /bin/sh ../config/depcomp \ cc -D_REENTRANT -DLINUX_PORT -D_GNU_SOURCE -D__USE_LARGEFILE64 -I. -I. -I.. -I../intl -I -DFILEBENCHDIR=\"/tmp/filebench\" -g -O2 -O -I/usr/include/nptl -DYYDEBUG=1 -c `test -f 'utils.c' || echo './'`utils.c source='flowop.c' object='flowop.o' libtool=no \ depfile='.deps/flowop.Po' tmpdepfile='.deps/flowop.TPo' \ depmode=gcc3 /bin/sh ../config/depcomp \ cc -D_REENTRANT -DLINUX_PORT -D_GNU_SOURCE -D__USE_LARGEFILE64 -I. -I. -I.. -I../intl -I -DFILEBENCHDIR=\"/tmp/filebench\" -g -O2 -O -I/usr/include/nptl -DYYDEBUG=1 -c `test -f 'flowop.c' || echo './'`flowop.c source='flowop_library.c' object='flowop_library.o' libtool=no \ depfile='.deps/flowop_library.Po' tmpdepfile='.deps/flowop_library.TPo' \ depmode=gcc3 /bin/sh ../config/depcomp \ cc -D_REENTRANT -DLINUX_PORT -D_GNU_SOURCE -D__USE_LARGEFILE64 -I. -I. -I.. -I../intl -I -DFILEBENCHDIR=\"/tmp/filebench\" -g -O2 -O -I/usr/include/nptl -DYYDEBUG=1 -c `test -f 'flowop_library.c' || echo './'`flowop_library.c flowop_library.c: In function `flowoplib_aiowrite': flowop_library.c:489: warning: passing arg 1 of `aio_write64' from incompatible pointer type flowop_library.c: In function `flowoplib_aiowait': flowop_library.c:584: warning: passing arg 1 of `aio_error64' from incompatible pointer type flowop_library.c:591: warning: passing arg 1 of `aio_return64' from incompatible pointer type source='ipc.c' object='ipc.o' libtool=no \ depfile='.deps/ipc.Po' tmpdepfile='.deps/ipc.TPo' \ depmode=gcc3 /bin/sh ../config/depcomp \ cc -D_REENTRANT -DLINUX_PORT -D_GNU_SOURCE -D__USE_LARGEFILE64 -I. -I. -I.. -I../intl -I -DFILEBENCHDIR=\"/tmp/filebench\" -g -O2 -O -I/usr/include/nptl -DYYDEBUG=1 -c `test -f 'ipc.c' || echo './'`ipc.c ipc.c: In function `ipc_malloc': ipc.c:399: warning: assignment makes integer from pointer without a cast source='vars.c' object='vars.o' libtool=no \ depfile='.deps/vars.Po' tmpdepfile='.deps/vars.TPo' \ depmode=gcc3 /bin/sh ../config/depcomp \ cc -D_REENTRANT -DLINUX_PORT -D_GNU_SOURCE -D__USE_LARGEFILE64 -I. -I. -I.. -I../intl -I -DFILEBENCHDIR=\"/tmp/filebench\" -g -O2 -O -I/usr/include/nptl -DYYDEBUG=1 -c `test -f 'vars.c' || echo './'`vars.c source='stats.c' object='stats.o' libtool=no \ depfile='.deps/stats.Po' tmpdepfile='.deps/stats.TPo' \ depmode=gcc3 /bin/sh ../config/depcomp \ cc -D_REENTRANT -DLINUX_PORT -D_GNU_SOURCE -D__USE_LARGEFILE64 -I. -I. -I.. -I../intl -I -DFILEBENCHDIR=\"/tmp/filebench\" -g -O2 -O -I/usr/include/nptl -DYYDEBUG=1 -c `test -f 'stats.c' || echo './'`stats.c stats.c: In function `stats_snap': stats.c:440: warning: assignment makes integer from pointer without a cast source='eventgen.c' object='eventgen.o' libtool=no \ depfile='.deps/eventgen.Po' tmpdepfile='.deps/eventgen.TPo' \ depmode=gcc3 /bin/sh ../config/depcomp \ cc -D_REENTRANT -DLINUX_PORT -D_GNU_SOURCE -D__USE_LARGEFILE64 -I. -I. -I.. -I../intl -I -DFILEBENCHDIR=\"/tmp/filebench\" -g -O2 -O -I/usr/include/nptl -DYYDEBUG=1 -c `test -f 'eventgen.c' || echo './'`eventgen.c eventgen.c: In function `eventgen_thread': eventgen.c:39: warning: integer constant is too large for "unsigned long" type source='fileset.c' object='fileset.o' libtool=no \ depfile='.deps/fileset.Po' tmpdepfile='.deps/fileset.TPo' \ depmode=gcc3 /bin/sh ../config/depcomp \ cc -D_REENTRANT -DLINUX_PORT -D_GNU_SOURCE -D__USE_LARGEFILE64 -I. -I. -I.. -I../intl -I -DFILEBENCHDIR=\"/tmp/filebench\" -g -O2 -O -I/usr/include/nptl -DYYDEBUG=1 -c `test -f 'fileset.c' || echo './'`fileset.c bison -y -d parser_gram.y 5 rules never reduced parser_gram.y: warning: 2 useless nonterminals and 5 useless rules parser_gram.y:163.45-55: warning: useless nonterminal: string_list parser_gram.y:152.14-18: warning: useless nonterminal: value parser_gram.y:383.14-389.1: warning: useless rule: string_list: FSV_VARIABLE parser_gram.y:390.3-406.1: warning: useless rule: string_list: string_list FSK_SEPLST FSV_VARIABLE parser_gram.y:920.8-32: warning: useless rule: value: FSV_VAL_INT parser_gram.y:921.3-26: warning: useless rule: value: FSV_STRING parser_gram.y:922.3-31: warning: useless rule: value: FSV_VAL_BOOLEAN conflicts: 2 shift/reduce, 340 reduce/reduce parser_gram.y:975.1-26: warning: rule never reduced because of conflicts: attrs_define_fileset: FSA_SIZE parser_gram.y:976.3-28: warning: rule never reduced because of conflicts: attrs_define_fileset: FSA_PATH parser_gram.y:978.3-36: warning: rule never reduced because of conflicts: attrs_define_fileset: FSA_PREALLOC parser_gram.y:988.2-37: warning: rule never reduced because of conflicts: attrs_define_thread: FSA_INSTANCES parser_gram.y:1014.5-1019.1: warning: rule never reduced because of conflicts: attr_value: FSV_STRING parser_gram.y:1023.5-1028.1: warning: rule never reduced because of conflicts: attr_value: FSV_VARIABLE source='parser_gram.c' object='parser_gram.o' libtool=no \ depfile='.deps/parser_gram.Po' tmpdepfile='.deps/parser_gram.TPo' \ depmode=gcc3 /bin/sh ../config/depcomp \ cc -D_REENTRANT -DLINUX_PORT -D_GNU_SOURCE -D__USE_LARGEFILE64 -I. -I. -I.. -I../intl -I -DFILEBENCHDIR=\"/tmp/filebench\" -g -O2 -O -I/usr/include/nptl -DYYDEBUG=1 -c `test -f 'parser_gram.c' || echo './'`parser_gram.c parser_gram.y: In function `yyparse': parser_gram.y:900: error: `FILEBENCHDIR' undeclared (first use in this function) parser_gram.y:900: error: (Each undeclared identifier is reported only once parser_gram.y:900: error: for each function it appears in.) make[2]: *** [parser_gram.o] Error 1 make[2]: Leaving directory `/local/platform/packages/IT/BENCHMARK/src/filebench-1.64/filebench' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/local/platform/packages/IT/BENCHMARK/src/filebench-1.64' make: *** [all] Error 2 This message posted from opensolaris.org _______________________________________________ perf-discuss mailing list perf-discuss@opensolaris.org