Date: Thu, 20 Mar 2014 21:30:12 GMT From: pkg-fallout-builder@FreeBSD.org To: michaels@sdf.lonestar.org Cc: pkg-fallout@FreeBSD.org Subject: [REL - 10i386-default][audio/emu10kx] Failed for emu10kx-20051021 in build Message-ID: <201403202130.s2KLUC0U011229@beefy1.isc.freebsd.org>
next in thread | raw e-mail | index | archive | help
You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: michaels@sdf.lonestar.org Last committer: mat@FreeBSD.org Ident: $FreeBSD: head/audio/emu10kx/Makefile 340722 2014-01-22 17:00:46Z mat $ Log URL: http://beefy1.isc.freebsd.org/bulk/10i386-default/2014-03-20_12h05m42s/logs/emu10kx-20051021.log Build URL: http://beefy1.isc.freebsd.org/bulk/10i386-default/2014-03-20_12h05m42s Log: ====>> Building audio/emu10kx build started at Thu Mar 20 21:30:08 UTC 2014 port directory: /usr/ports/audio/emu10kx building for: FreeBSD 10i386-default-job-19 10.0-RELEASE FreeBSD 10.0-RELEASE i386 maintained by: michaels@sdf.lonestar.org Makefile ident: $FreeBSD: head/audio/emu10kx/Makefile 340722 2014-01-22 17:00:46Z mat $ Poudriere version: 3.1-pre ---Begin Environment--- UNAME_m=i386 UNAME_p=i386 OSVERSION=1000510 UNAME_v=FreeBSD 10.0-RELEASE UNAME_r=10.0-RELEASE BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 MASTERMNT=/usr/local/poudriere/data/build/10i386-default/ref PKG_EXT=txz tpid=7904 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk PKGNG=1 PKGNAME=emu10kx-20051021 PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f PKG_ADD=/usr/local/sbin/pkg-static add PWD=/root MASTERNAME=10i386-default USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes PKG_VERSION=/poudriere/pkg-static version PKG_BIN=/usr/local/sbin/pkg-static ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTALL_LIB="install -s -o root -g wheel -m 444" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install -o root -g wheel -m 444" --End MAKE_ENV-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/emu10kx DOCSDIR=/usr/local/share/doc/emu10kx EXAMPLESDIR=/usr/local/share/examples/emu10kx WWWDIR=/usr/local/www/emu10kx ETCDIR=/usr/local/etc/emu10kx --End SUB_LIST-- ---Begin make.conf--- ARCH=i386 MACHINE=i386 MACHINE_ARCH=i386 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles #### /usr/local/etc/poudriere.d/make.conf #### WITH_PKGNG=yes NO_RESTRICTED=yes DISABLE_MAKE_JOBS=poudriere ---End make.conf--- ===> Cleaning for emu10kx-20051021 =======================<phase: check-config >============================ =========================================================================== =======================<phase: pkg-depends >============================ ===> emu10kx-20051021 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg ===> Installing existing package /packages/All/pkg-1.2.7.txz Installing pkg-1.2.7... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of emu10kx-20051021 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> Fetching all distfiles required by emu10kx-20051021 for building =========================================================================== =======================<phase: checksum >============================ ===> Fetching all distfiles required by emu10kx-20051021 for building => SHA256 Checksum OK for emu10kx-2005-10-21.tar.bz2. =========================================================================== =======================<phase: extract-depends>============================ =========================================================================== =======================<phase: extract >============================ ===> Fetching all distfiles required by emu10kx-20051021 for building ===> Extracting for emu10kx-20051021 => SHA256 Checksum OK for emu10kx-2005-10-21.tar.bz2. =========================================================================== =======================<phase: patch-depends >============================ =========================================================================== =======================<phase: patch >============================ ===> Patching for emu10kx-20051021 ===> Applying FreeBSD patches for emu10kx-20051021 =========================================================================== =======================<phase: build-depends >============================ =========================================================================== =======================<phase: lib-depends >============================ =========================================================================== =======================<phase: configure >============================ ===> Configuring for emu10kx-20051021 =========================================================================== =======================<phase: build >============================ ===> Building for emu10kx-20051021 Warning: Object directory not changed from original /wrkdirs/usr/ports/audio/emu10kx/work/emu10kx-2005-10-21 @ -> /usr/src/sys machine -> /usr/src/sys/i386/include x86 -> /usr/src/sys/x86/include awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h awk -f @/tools/makeobjops.awk @/isa/isa_if.m -h awk -f @/tools/makeobjops.awk @/dev/sound/pcm/channel_if.m -h awk -f @/tools/makeobjops.awk @/dev/sound/pcm/ac97_if.m -h awk -f @/tools/makeobjops.awk @/dev/sound/pcm/mixer_if.m -h awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h bc -l /wrkdirs/usr/ports/audio/emu10kx/work/emu10kx-2005-10-21/scripts/mixer-l2l >emu10kx-vol-exp.h bc -l /wrkdirs/usr/ports/audio/emu10kx/work/emu10kx-2005-10-21/scripts/mixer-lin >emu10kx-vol-lin.h bc -l /wrkdirs/usr/ports/audio/emu10kx/work/emu10kx-2005-10-21/scripts/mixer-sq >emu10kx-vol-sq.h cc -O2 -pipe -fno-strict-aliasing -DEMU10KX_MAJOR=201 -D_KERNEL -DKLD_MODULE -nostdinc -I/wrkdirs/usr/ports/audio/emu10kx/work/emu10kx-2005-10-21 -I. -I. -I@ -I@/contrib/altq -fno-common -g -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wmissing-variable-declarations -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-array-bounds -c emu10kx.c In file included from emu10kx.c:50: In file included from @/sys/mutex.h:40: In file included from @/sys/pcpu.h:46: @/sys/vmmeter.h:186:50: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] return (cnt.v_free_count + cnt.v_cache_count < vm_pageout_wakeup_thresh); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. cc -O2 -pipe -fno-strict-aliasing -DEMU10KX_MAJOR=201 -D_KERNEL -DKLD_MODULE -nostdinc -I/wrkdirs/usr/ports/audio/emu10kx/work/emu10kx-2005-10-21 -I. -I. -I@ -I@/contrib/altq -fno-common -g -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wmissing-variable-declarations -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-array-bounds -c emu10kx-fx.c In file included from emu10kx-fx.c:42: In file included from @/sys/mutex.h:40: In file included from @/sys/pcpu.h:46: @/sys/vmmeter.h:186:50: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] return (cnt.v_free_count + cnt.v_cache_count < vm_pageout_wakeup_thresh); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. cc -O2 -pipe -fno-strict-aliasing -DEMU10KX_MAJOR=201 -D_KERNEL -DKLD_MODULE -nostdinc -I/wrkdirs/usr/ports/audio/emu10kx/work/emu10kx-2005-10-21 -I. -I. -I@ -I@/contrib/altq -fno-common -g -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wmissing-variable-declarations -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-array-bounds -c emu10kx-dev.c In file included from emu10kx-dev.c:34: In file included from @/sys/conf.h:44: In file included from @/sys/eventhandler.h:34: In file included from @/sys/mutex.h:40: In file included from @/sys/pcpu.h:46: @/sys/vmmeter.h:186:50: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] return (cnt.v_free_count + cnt.v_cache_count < vm_pageout_wakeup_thresh); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ emu10kx-dev.c:291:10: warning: cast from 'caddr_t' (aka 'char *') to 'struct emu10kx_mixer_page *' increases required alignment from 1 to 4 [-Wcast-align] page = (struct emu10kx_mixer_page *)addr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ emu10kx-dev.c:295:10: warning: cast from 'caddr_t' (aka 'char *') to 'struct emu10kx_mixer_page *' increases required alignment from 1 to 4 [-Wcast-align] page = (struct emu10kx_mixer_page *)addr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ emu10kx-dev.c:329:9: warning: cast from 'caddr_t' (aka 'char *') to 'struct emu10kx_mixer_ctl *' increases required alignment from 1 to 4 [-Wcast-align] ctl = (struct emu10kx_mixer_ctl *)addr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ emu10kx-dev.c:377:9: warning: cast from 'caddr_t' (aka 'char *') to 'struct emu10kx_mixer_ctl *' increases required alignment from 1 to 4 [-Wcast-align] ctl = (struct emu10kx_mixer_ctl *)addr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ emu10kx-dev.c:457:14: warning: cast from 'caddr_t' (aka 'char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] ampvalue = (int *)addr; ^~~~~~~~~~~ emu10kx-dev.c:468:14: warning: cast from 'caddr_t' (aka 'char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] cardmode = (int *)addr; ^~~~~~~~~~~ emu10kx-dev.c:472:14: warning: cast from 'caddr_t' (aka 'char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] cardmode = (int *)addr; ^~~~~~~~~~~ emu10kx-dev.c:476:14: warning: cast from 'caddr_t' (aka 'char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] cardmode = (int *)addr; ^~~~~~~~~~~ emu10kx-dev.c:480:14: warning: cast from 'caddr_t' (aka 'char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] cardmode = (int *)addr; ^~~~~~~~~~~ emu10kx-dev.c:485:8: warning: cast from 'caddr_t' (aka 'char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] ir = (int *)addr; ^~~~~~~~~~~ emu10kx-dev.c:495:9: warning: cast from 'caddr_t' (aka 'char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] dbg = (int *)addr; ^~~~~~~~~~~ emu10kx-dev.c:503:12: warning: cast from 'caddr_t' (aka 'char *') to 'struct emu10kx_params *' increases required alignment from 1 to 4 [-Wcast-align] params = (struct emu10kx_params *)addr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ emu10kx-dev.c:523:10: warning: cast from 'caddr_t' (aka 'char *') to 'struct emu10kx_peek *' increases required alignment from 1 to 4 [-Wcast-align] peek = (struct emu10kx_peek *)addr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ emu10kx-dev.c:535:10: warning: cast from 'caddr_t' (aka 'char *') to 'struct emu10kx_peek *' increases required alignment from 1 to 4 [-Wcast-align] peek = (struct emu10kx_peek *)addr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ emu10kx-dev.c:545:10: warning: cast from 'caddr_t' (aka 'char *') to 'struct emu10kx_peek *' increases required alignment from 1 to 4 [-Wcast-align] peek = (struct emu10kx_peek *)addr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ emu10kx-dev.c:558:10: warning: cast from 'caddr_t' (aka 'char *') to 'struct emu10kx_peek *' increases required alignment from 1 to 4 [-Wcast-align] peek = (struct emu10kx_peek *)addr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ emu10kx-dev.c:571:10: warning: cast from 'caddr_t' (aka 'char *') to 'struct emu10kx_peek *' increases required alignment from 1 to 4 [-Wcast-align] peek = (struct emu10kx_peek *)addr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ emu10kx-dev.c:613:39: warning: implicit declaration of function 'unit2minor' is invalid in C99 [-Wimplicit-function-declaration] sc->cdev = make_dev(&emu10kx_cdevsw, unit2minor(unit), UID_ROOT, GID_WHEEL, 0640, "emu10kx%d", unit); ^ 19 warnings generated. cc -O2 -pipe -fno-strict-aliasing -DEMU10KX_MAJOR=201 -D_KERNEL -DKLD_MODULE -nostdinc -I/wrkdirs/usr/ports/audio/emu10kx/work/emu10kx-2005-10-21 -I. -I. -I@ -I@/contrib/altq -fno-common -g -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wmissing-variable-declarations -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-array-bounds -c emu10kx-rm.c In file included from emu10kx-rm.c:42: In file included from @/sys/mutex.h:40: In file included from @/sys/pcpu.h:46: @/sys/vmmeter.h:186:50: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] return (cnt.v_free_count + cnt.v_cache_count < vm_pageout_wakeup_thresh); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. cc -O2 -pipe -fno-strict-aliasing -DEMU10KX_MAJOR=201 -D_KERNEL -DKLD_MODULE -nostdinc -I/wrkdirs/usr/ports/audio/emu10kx/work/emu10kx-2005-10-21 -I. -I. -I@ -I@/contrib/altq -fno-common -g -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wmissing-variable-declarations -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-array-bounds -c emu10kx-mixer.c In file included from emu10kx-mixer.c:46: In file included from @/sys/mutex.h:40: In file included from @/sys/pcpu.h:46: @/sys/vmmeter.h:186:50: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] return (cnt.v_free_count + cnt.v_cache_count < vm_pageout_wakeup_thresh); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. cc -O2 -pipe -fno-strict-aliasing -DEMU10KX_MAJOR=201 -D_KERNEL -DKLD_MODULE -nostdinc -I/wrkdirs/usr/ports/audio/emu10kx/work/emu10kx-2005-10-21 -I. -I. -I@ -I@/contrib/altq -fno-common -g -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wmissing-variable-declarations -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-array-bounds -c emu10kx-pcm.c In file included from emu10kx-pcm.c:42: In file included from @/sys/mutex.h:40: In file included from @/sys/pcpu.h:46: @/sys/vmmeter.h:186:50: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] return (cnt.v_free_count + cnt.v_cache_count < vm_pageout_wakeup_thresh); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ emu10kx-pcm.c:132:12: warning: unused variable 'right' [-Wunused-variable] int left, right, mute; ^ emu10kx-pcm.c:132:19: warning: unused variable 'mute' [-Wunused-variable] int left, right, mute; ^ emu10kx-pcm.c:132:6: warning: unused variable 'left' [-Wunused-variable] int left, right, mute; ^ emu10kx-pcm.c:302:1: warning: missing field 'refs' initializer [-Wmissing-field-initializers] AC97_DECLARE(emu_ac97); ^ @/dev/sound/pcm/ac97.h:86:35: note: expanded from macro 'AC97_DECLARE' #define AC97_DECLARE(name) static DEFINE_CLASS(name, name ## _methods, sizeof(struct kobj)) ^ @/sys/kobj.h:114:49: note: expanded from macro 'DEFINE_CLASS' #define DEFINE_CLASS(name, methods, size) \ ^ @/sys/kobj.h:125:31: note: expanded from macro '\ DEFINE_CLASS_0' #name, methods, size, NULL \ ^ emu10kx-pcm.c:926:2: warning: pointer type mismatch ('int (*)(kobj_t, void *, uint32_t)' and 'channel_setspeed_t *' (aka 'u_int32_t (*)(kobj_t, void *, u_int32_t)')) [-Wpointer-type-mismatch] KOBJMETHOD(channel_setspeed, emupchan_setspeed), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @/sys/kobj.h:98:32: note: expanded from macro 'KOBJMETHOD' { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } ^ ~~~~~~~~~~~~~~~~ emu10kx-pcm.c:927:2: warning: pointer type mismatch ('int (*)(kobj_t, void *, uint32_t)' and 'channel_setblocksize_t *' (aka 'u_int32_t (*)(kobj_t, void *, u_int32_t)')) [-Wpointer-type-mismatch] KOBJMETHOD(channel_setblocksize, emupchan_setblocksize), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @/sys/kobj.h:98:32: note: expanded from macro 'KOBJMETHOD' { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } ^ ~~~~~~~~~~~~~~~~ emu10kx-pcm.c:929:2: warning: pointer type mismatch ('int (*)(kobj_t, void *)' and 'channel_getptr_t *' (aka 'u_int32_t (*)(kobj_t, void *)')) [-Wpointer-type-mismatch] KOBJMETHOD(channel_getptr, emupchan_getptr), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @/sys/kobj.h:98:32: note: expanded from macro 'KOBJMETHOD' { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } ^ ~~~~~~~~~~~~~~~~ emu10kx-pcm.c:933:1: warning: missing field 'refs' initializer [-Wmissing-field-initializers] CHANNEL_DECLARE(emupchan); ^ @/dev/sound/pcm/channel.h:444:38: note: expanded from macro 'CHANNEL_DECLARE' #define CHANNEL_DECLARE(name) static DEFINE_CLASS(name, name ## _methods, sizeof(struct kobj)) ^ @/sys/kobj.h:114:49: note: expanded from macro 'DEFINE_CLASS' #define DEFINE_CLASS(name, methods, size) \ ^ @/sys/kobj.h:125:31: note: expanded from macro '\ DEFINE_CLASS_0' #name, methods, size, NULL \ ^ emu10kx-pcm.c:980:54: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'int' [-Wint-conversion] if (sndbuf_alloc(ch->buffer, sc->card->parent_dmat, NULL, sc->card->bufsz) != 0) ^~~~ @/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ @/dev/sound/pcm/buffer.h:69:64: note: passing argument to parameter 'dmaflags' here int sndbuf_alloc(struct snd_dbuf *b, bus_dma_tag_t dmatag, int dmaflags, unsigned int size); ^ emu10kx-pcm.c:1125:2: warning: pointer type mismatch ('int (*)(kobj_t, void *, uint32_t)' and 'channel_setspeed_t *' (aka 'u_int32_t (*)(kobj_t, void *, u_int32_t)')) [-Wpointer-type-mismatch] KOBJMETHOD(channel_setspeed, emurchan_setspeed), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @/sys/kobj.h:98:32: note: expanded from macro 'KOBJMETHOD' { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } ^ ~~~~~~~~~~~~~~~~ emu10kx-pcm.c:1126:2: warning: pointer type mismatch ('int (*)(kobj_t, void *, uint32_t)' and 'channel_setblocksize_t *' (aka 'u_int32_t (*)(kobj_t, void *, u_int32_t)')) [-Wpointer-type-mismatch] KOBJMETHOD(channel_setblocksize, emurchan_setblocksize), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @/sys/kobj.h:98:32: note: expanded from macro 'KOBJMETHOD' { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } ^ ~~~~~~~~~~~~~~~~ emu10kx-pcm.c:1128:2: warning: pointer type mismatch ('int (*)(kobj_t, void *)' and 'channel_getptr_t *' (aka 'u_int32_t (*)(kobj_t, void *)')) [-Wpointer-type-mismatch] KOBJMETHOD(channel_getptr, emurchan_getptr), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @/sys/kobj.h:98:32: note: expanded from macro 'KOBJMETHOD' { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } ^ ~~~~~~~~~~~~~~~~ emu10kx-pcm.c:1132:1: warning: missing field 'refs' initializer [-Wmissing-field-initializers] CHANNEL_DECLARE(emurchan); ^ @/dev/sound/pcm/channel.h:444:38: note: expanded from macro 'CHANNEL_DECLARE' #define CHANNEL_DECLARE(name) static DEFINE_CLASS(name, name ## _methods, sizeof(struct kobj)) ^ @/sys/kobj.h:114:49: note: expanded from macro 'DEFINE_CLASS' #define DEFINE_CLASS(name, methods, size) \ ^ @/sys/kobj.h:125:31: note: expanded from macro '\ DEFINE_CLASS_0' #name, methods, size, NULL \ ^ 14 warnings generated. ld -d -warn-common -r -d -o snd_emu10kx.kld emu10kx.o emu10kx-fx.o emu10kx-dev.o emu10kx-rm.o emu10kx-mixer.o emu10kx-pcm.o :> export_syms awk -f /sys/conf/kmod_syms.awk snd_emu10kx.kld export_syms | xargs -J% objcopy % snd_emu10kx.kld ld -Bshareable -d -warn-common -o snd_emu10kx.ko.debug snd_emu10kx.kld objcopy --only-keep-debug snd_emu10kx.ko.debug snd_emu10kx.ko.symbols objcopy --strip-debug --add-gnu-debuglink=snd_emu10kx.ko.symbols snd_emu10kx.ko.debug snd_emu10kx.ko ===> emuctrl (all) Warning: Object directory not changed from original /wrkdirs/usr/ports/audio/emu10kx/work/emu10kx-2005-10-21/emuctrl cc -O2 -pipe -fno-strict-aliasing -g -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wmissing-variable-declarations -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -c emuctrl.c emuctrl.c:180:6: error: no previous extern declaration for non-static variable 'ops' [-Werror,-Wmissing-variable-declarations] char ops[0x10][8] = { ^ emuctrl.c:198:6: error: no previous extern declaration for non-static variable 'voice_reg' [-Werror,-Wmissing-variable-declarations] char voice_reg[0x7f][19] = { ^ 2 errors generated. *** Error code 1 Stop. make[2]: stopped in /wrkdirs/usr/ports/audio/emu10kx/work/emu10kx-2005-10-21/emuctrl *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/audio/emu10kx/work/emu10kx-2005-10-21 *** Error code 1 Stop. make: stopped in /usr/ports/audio/emu10kx ===> Cleaning for emu10kx-20051021
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403202130.s2KLUC0U011229>