Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Jan 2015 10:34:37 -0800
From:      Dennis Glatting <dg@pki2.com>
To:        freebsd-questions@freebsd.org
Subject:   Problem compiling 276627.
Message-ID:  <1420310077.47797.272.camel@pki2.com>

next in thread | raw e-mail | index | archive | help
While compiling an and64 kernel:

cc  -O2 -pipe  -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE
-nostdinc  -I/usr/src/sys/modules/iscsi/../../ofed/include
-DHAVE_KERNEL_OPTION_HEADERS
-include /disk-2/obj/usr/src/sys/PENFORD-FreeBSD10-amd64/opt_global.h
-I. -I@ -I@/contrib/altq -fno-common -g -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer
-I/disk-2/obj/usr/src/sys/PENFORD-FreeBSD10-amd64  -mno-aes -mno-avx
-mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
-gdwarf-2 -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
-Wno-error-unused-function
-c /usr/src/sys/modules/iscsi/../../dev/iscsi//icl.c
/usr/src/sys/modules/iscsi/../../dev/iscsi//icl.c:155:1: error: static
declaration of
      'icl_pdu_new' follows non-static declaration
icl_pdu_new(struct icl_conn *ic, int flags)
^
@/dev/iscsi/icl.h:60:18: note: previous declaration is here
struct icl_pdu          *icl_pdu_new(struct icl_conn *ic, int flags);
                         ^
1 error generated.
*** Error code 1






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1420310077.47797.272.camel>