From owner-freebsd-current@FreeBSD.ORG Wed Apr 12 12:20:02 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A6A916A400 for ; Wed, 12 Apr 2006 12:20:02 +0000 (UTC) (envelope-from x.ramirez@xifra.es) Received: from correo2.acens.net (correo2.acens.net [217.116.0.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6719D43D48 for ; Wed, 12 Apr 2006 12:20:00 +0000 (GMT) (envelope-from x.ramirez@xifra.es) Received: (qmail 17046 invoked from network); 12 Apr 2006 12:19:59 -0000 Received: from unknown (HELO pcxavier) ([80.34.155.192]) (envelope-sender ) by correo2.acens.net (qmail-ldap-1.03) with SMTP for ; 12 Apr 2006 12:19:59 -0000 From: "xavier" To: "'xavier'" , "'Matthew Jacob'" , "'Julian Elischer'" Date: Wed, 12 Apr 2006 14:19:58 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <20060412110148.4EB1943D73@mx1.FreeBSD.org> Thread-Index: AcZdsK1QhFBqgAGrQd2gr4pbL4hZFAAbIkpwAAN/ZqA= X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Message-Id: <20060412122000.6719D43D48@mx1.FreeBSD.org> Cc: freebsd-current@freebsd.org, mjacob@freebsd.org Subject: RE: mpt driver in version 4.11 for LSI SAS 1068 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Apr 2006 12:20:02 -0000 Oops sorry, I did not get the last version in current, once I got the last version everything to work as expected thanks -----Mensaje original----- I tried the steps you gave me copying the mpt files to version 4.11 and updating the conf/files but no success. These are the steps I followed. 1. There was a compiler error on '...'. I am currently using gcc version 2.95.3. Do I have to upgrade to a new version? I fixed this problem adding 'args' before '...' and changing __VA_ARGS__ with de keyboard 'args'. It seems this gcc is not fully iso compliant 2. I also removed MOD_QUISCE from mpt.c. It seems this functionality has been added after 4.11 and is not defined so I decided to comment this because will never be called 3. Now I get the following error that I don't know how to address. Can you give a hint on this? cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -mpreferred-stack-boundary=2 /usr/src/sys/dev/mpt/mpt.c In file included from /usr/src/sys/dev/mpt/mpt.h:124, from /usr/src/sys/dev/mpt/mpt.c:97: /usr/src/sys/sys/rman.h:54: syntax error before `bus_space_tag_t' /usr/src/sys/dev/mpt/mpt.c: In function `mpt_sysctl_attach': /usr/src/sys/dev/mpt/mpt.c:1995: warning: implicit declaration of function `device_get_sysctl_ctx' /usr/src/sys/dev/mpt/mpt.c:1995: warning: initialization makes pointer from integer without a cast /usr/src/sys/dev/mpt/mpt.c:1996: warning: implicit declaration of function `device_get_sysctl_tree' /usr/src/sys/dev/mpt/mpt.c:1996: warning: initialization makes pointer from integer without a cast *** Error code 1 Stop in /usr/obj/usr/src/sys/MARIAN. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Thanks _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"