root@Apollo:~/dahdi-freebsd-complete-2.2.1-rc2+2.2.1.1-rc1 # make all make -C freebsd all ===> freebsd (all) ===> freebsd/dahdi (all) cat: /root/dahdi-freebsd-complete-2.2.1-rc2+2.2.1.1-rc1/freebsd/freebsd/dahdi/../...version: No such file or directory make[3]: "/root/dahdi-freebsd-complete-2.2.1-rc2+2.2.1.1-rc1/freebsd/freebsd/dahdi/Makefile" line 11: warning: "/root/dahdi-freebsd-complete-2.2.1-rc2+2.2.1.1-rc1/freebsd/freebsd/dahdi/../../build_tools/make_version /root/dahdi-freebsd-complete-2.2.1-rc2+2.2.1.1-rc1/freebsd/freebsd/dahdi/../.. dahdi/linux" returned non-zero status machine -> /usr/src/sys/amd64/include x86 -> /usr/src/sys/x86/include awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -h Warning: Object directory not changed from original /root/dahdi-freebsd-complete-2.2.1-rc2+2.2.1.1-rc1/freebsd/freebsd/dahdi cc -O2 -pipe -D__KERNEL__ -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/root/dahdi-freebsd-complete-2.2.1-rc2+2.2.1.1-rc1/freebsd/freebsd/dahdi/../../include -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.dahdi-base.o -MTdahdi-base.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -mno-aes -mno-avx -std=iso9899:1999 -c /root/dahdi-freebsd-complete-2.2.1-rc2+2.2.1.1-rc1/freebsd/freebsd/dahdi/../../drivers/dahdi/dahdi-base.c -o dahdi-base.o In file included from /root/dahdi-freebsd-complete-2.2.1-rc2+2.2.1.1-rc1/freebsd/freebsd/dahdi/../../drivers/dahdi/dahdi-base.c:98: In file included from /root/dahdi-freebsd-complete-2.2.1-rc2+2.2.1.1-rc1/freebsd/freebsd/dahdi/../../include/dahdi/kernel.h:50: /root/dahdi-freebsd-complete-2.2.1-rc2+2.2.1.1-rc1/freebsd/freebsd/dahdi/../../include/dahdi/compat/bsd.h:405:9: error: 'memmove' macro redefined [-Werror,-Wmacro-redefined] #define memmove(dst, src, size) bcopy((src), (dst), (size)) ^ /usr/src/sys/sys/systm.h:327:9: note: previous definition is here #define memmove(dest, src, n) __builtin_memmove((dest), (src), (n)) ^ /root/dahdi-freebsd-complete-2.2.1-rc2+2.2.1.1-rc1/freebsd/freebsd/dahdi/../../drivers/dahdi/dahdi-base.c:315:2: error: implicit declaration of function 'taskqueue_enqueue_fast' is invalid in C99 [-Werror,-Wimplicit-function-declaration] taskqueue_enqueue_fast(taskqueue_fast, &sel->task); ^ /root/dahdi-freebsd-complete-2.2.1-rc2+2.2.1.1-rc1/freebsd/freebsd/dahdi/../../drivers/dahdi/dahdi-base.c:315:2: note: did you mean 'taskqueue_enqueue'? /usr/src/sys/sys/taskqueue.h:84:5: note: 'taskqueue_enqueue' declared here int taskqueue_enqueue(struct taskqueue *queue, struct task *task); ^ /root/dahdi-freebsd-complete-2.2.1-rc2+2.2.1.1-rc1/freebsd/freebsd/dahdi/../../drivers/dahdi/dahdi-base.c:4220:17: error: address of array 'spans[i]->devicetype' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion] if (spans[i]->devicetype) ~~ ~~~~~~~~~~^~~~~~~~~~ /root/dahdi-freebsd-complete-2.2.1-rc2+2.2.1.1-rc1/freebsd/freebsd/dahdi/../../drivers/dahdi/dahdi-base.c:4282:17: error: address of array 'spans[i]->devicetype' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion] if (spans[i]->devicetype) ~~ ~~~~~~~~~~^~~~~~~~~~ /root/dahdi-freebsd-complete-2.2.1-rc2+2.2.1.1-rc1/freebsd/freebsd/dahdi/../../drivers/dahdi/dahdi-base.c:9037:13: error: use of undeclared identifier 'D_PSEUDO' .d_flags = D_PSEUDO | D_TRACKCLOSE | D_NEEDMINOR ^ 5 errors generated. *** Error code 1 Stop. make[3]: stopped in /root/dahdi-freebsd-complete-2.2.1-rc2+2.2.1.1-rc1/freebsd/freebsd/dahdi *** Error code 1 *** Error code 1 *** Error code 1 Stop. make: stopped in /root/dahdi-freebsd-complete-2.2.1-rc2+2.2.1.1-rc1 root@Apollo:~/dahdi-freebsd-complete-2.2.1-rc2+2.2.1.1-rc1 #