Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Apr 2006 13:01:46 +0200
From:      "xavier" <x.ramirez@xifra.es>
To:        "'Matthew Jacob'" <lydianconcepts@gmail.com>, "'Julian Elischer'" <julian@elischer.org>
Cc:        freebsd-current@freebsd.org, mjacob@freebsd.org
Subject:   RE: mpt driver in version 4.11 for LSI SAS 1068
Message-ID:  <20060412110148.4EB1943D73@mx1.FreeBSD.org>
In-Reply-To: <7579f7fb0604111438p36903593g26c2f0e04a788cf0@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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






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