From owner-freebsd-questions@FreeBSD.ORG Thu Aug 30 06:58:15 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2E8F16A417 for ; Thu, 30 Aug 2007 06:58:15 +0000 (UTC) (envelope-from cblasius@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.freebsd.org (Postfix) with ESMTP id 3ACE413C474 for ; Thu, 30 Aug 2007 06:58:15 +0000 (UTC) (envelope-from cblasius@gmail.com) Received: by nf-out-0910.google.com with SMTP id k4so339375nfd for ; Wed, 29 Aug 2007 23:57:50 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=NS/3EB1e9yhFGAfFC1Fhncc++fAaSBDc2VBvPsOD5iXKYHOIaOOJYEUuTAVmpp/X9oajtQ4qcBCFDPXLC8hlPIgy/cuAR6C4naFtUIlcVjVt9ZkK5x4Bt5c4fZozLw9YKnqezAd/Qf3eaA76WbbFAQpg3QwgpfhlGz1Izh54rTw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=kqxJlsbr5uI1zOt1ZBtbDBkCepbSznU6ZosflX2BvUZFawCL4vQFuHpV+Ta31EtzRNX17yq2sEfwf4KXrCL8EjgDf9kzwx19vaPZRyiMtH8jB/7EWxfsnLIucLxjNrwnWFtdWEu/Cx9NqjID61YpAyp2I2ROlD6tUwd5m/pz7hs= Received: by 10.86.77.5 with SMTP id z5mr174168fga.1188457070799; Wed, 29 Aug 2007 23:57:50 -0700 (PDT) Received: from xdsl-5405.zgora.dialog.net.pl ( [84.40.169.29]) by mx.google.com with ESMTPS id d13sm338392fka.2007.08.29.23.57.46 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 29 Aug 2007 23:57:47 -0700 (PDT) From: Zbigniew Komarnicki To: freebsd-questions@freebsd.org Date: Thu, 30 Aug 2007 08:57:43 +0200 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200708300857.43982.cblasius@gmail.com> Subject: Compile kernel - stable 6 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Aug 2007 06:58:15 -0000 Hello, I compile today kernel and obtain the following error. I something missing in my kernel file MYKER or is error in file tdfx_linux.c or tdfx_linux.h (see below for more): /usr/src/sys/modules/3dfx_linux/../../dev/tdfx/tdfx_linux.c In file included from @/dev/tdfx/tdfx_linux.h:36, from /usr/src/sys/modules/3dfx_linux/../../dev/tdfx/tdfx_linux.c:37: ./machine/../linux/linux_proto.h:744: error: syntax error before "l_timer_t" ./machine/../linux/linux_proto.h:744: error: `l_timer_t' undeclared here (not in a function) The source tree was synced yesterday by csup. Thanks in advance. Zbigniew ========= the output ============== ===> 3dfx_linux (all) cc -O2 -pipe -march=athlon -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src /sys/MYKER/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit= 8000 -fno-common -I/usr/obj/usr/src/sys/MYKER -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /usr/src/sys/modules/3dfx_linux/../../dev/tdfx/tdfx_linux.c In file included from @/dev/tdfx/tdfx_linux.h:36, from /usr/src/sys/modules/3dfx_linux/../../dev/tdfx/tdfx_linux.c:37: ./machine/../linux/linux_proto.h:744: error: syntax error before "l_timer_t" ./machine/../linux/linux_proto.h:744: error: `l_timer_t' undeclared here (not in a function) ./machine/../linux/linux_proto.h:744: error: syntax error before ')' token ./machine/../linux/linux_proto.h:744: error: syntax error before ')' token ./machine/../linux/linux_proto.h:747: error: syntax error before "l_timer_t" ./machine/../linux/linux_proto.h:752: error: syntax error before "l_timer_t" ./machine/../linux/linux_proto.h:756: error: syntax error before "l_timer_t" ./machine/../linux/linux_proto.h:759: error: syntax error before "l_timer_t" ./machine/../linux/linux_proto.h:817: error: syntax error before "l_mqd_t" ./machine/../linux/linux_proto.h:817: error: `l_mqd_t' undeclared here (not in a function) ./machine/../linux/linux_proto.h:824: error: syntax error before "l_mqd_t" ./machine/../linux/linux_proto.h:831: error: syntax error before "l_mqd_t" ./machine/../linux/linux_proto.h:835: error: syntax error before "l_mqd_t" *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error