FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 04-14-2011, 12:21 PM
Jeffrey Katz
 
Default Highpoint RocketRaid rr62x won't build on Natty

Per https://help.ubuntu.com/community/RocketRaid

DKMS make.log for rr62x-1.1 for kernel 2.6.38-8-generic (x86_64)


Wed Apr 13 08:44:03 PDT 2011
make: Entering directory `/var/lib/dkms/rr62x/1.1/build/product/rr62x/linux'
make[1]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic'



Â* CC [M]Â* /var/lib/dkms/rr62x/1.1/build/product/rr62x/linux/.build/os_linux.o
In file included from /var/lib/dkms/rr62x/1.1/build/product/rr62x/linux/.build/os_linux.c:6:0:
/var/lib/dkms/rr62x/1.1/build/osm/linux/osm_linux.h:12:26: fatal error: linux/config.h: No such file or directory



compilation terminated.
make[2]: *** [/var/lib/dkms/rr62x/1.1/build/product/rr62x/linux/.build/os_linux.o] Error 1
make[1]: *** [_module_/var/lib/dkms/rr62x/1.1/build/product/rr62x/linux/.build] Error 2


make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'

make: *** [rr62x.ko] Error 2
make: Leaving directory `/var/lib/dkms/rr62x/1.1/build/product/rr62x/linux'


If one removes the include in osm_linux.h referring to the config.h file one gets:



DKMS make.log for rr62x-1.1 for kernel 2.6.38-8-generic (x86_64)
Wed Apr 13 09:12:24 PDT 2011
make: Entering directory `/var/lib/dkms/rr62x/1.1/build/product/rr62x/linux'
make[1]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic'


Â* CC [M]Â* /var/lib/dkms/rr62x/1.1/build/product/rr62x/linux/.build/os_linux.o
/var/lib/dkms/rr62x/1.1/build/product/rr62x/linux/.build/os_linux.c: In function ‘refresh_sd_flags’:
/var/lib/dkms/rr62x/1.1/build/product/rr62x/linux/.build/os_linux.c:263:7: error: too few arguments to function ‘blkdev_get’


include/linux/fs.h:2055:12: note: declared here
make[2]: *** [/var/lib/dkms/rr62x/1.1/build/product/rr62x/linux/.build/os_linux.o] Error 1
make[1]: *** [_module_/var/lib/dkms/rr62x/1.1/build/product/rr62x/linux/.build] Error 2


make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
make: *** [rr62x.ko] Error 2
make: Leaving directory `/var/lib/dkms/rr62x/1.1/build/product/rr62x/linux'


Is there a patch for this problem available?




--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 04-14-2011, 12:52 PM
Tim Gardner
 
Default Highpoint RocketRaid rr62x won't build on Natty

On 04/14/2011 06:21 AM, Jeffrey Katz wrote:

Per https://help.ubuntu.com/community/RocketRaid

DKMS make.log for rr62x-1.1 for kernel 2.6.38-8-generic (x86_64)
Wed Apr 13 08:44:03 PDT 2011
make: Entering directory `/var/lib/dkms/rr62x/1.1/
build/product/rr62x/linux'
make[1]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic'
CC [M]
/var/lib/dkms/rr62x/1.1/build/product/rr62x/linux/.build/os_linux.o
In file included from
/var/lib/dkms/rr62x/1.1/build/product/rr62x/linux/.build/os_linux.c:6:0:
/var/lib/dkms/rr62x/1.1/build/osm/linux/osm_linux.h:12:26: fatal error:
linux/config.h: No such file or directory
compilation terminated.
make[2]: ***
[/var/lib/dkms/rr62x/1.1/build/product/rr62x/linux/.build/os_linux.o] Error
1
make[1]: ***
[_module_/var/lib/dkms/rr62x/1.1/build/product/rr62x/linux/.build] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
make: *** [rr62x.ko] Error 2
make: Leaving directory `/var/lib/dkms/rr62x/1.1/build/product/rr62x/linux'


If one removes the include in osm_linux.h referring to the config.h file one
gets:

DKMS make.log for rr62x-1.1 for kernel 2.6.38-8-generic (x86_64)
Wed Apr 13 09:12:24 PDT 2011
make: Entering directory `/var/lib/dkms/rr62x/1.1/build/product/rr62x/linux'
make[1]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic'
CC [M]
/var/lib/dkms/rr62x/1.1/build/product/rr62x/linux/.build/os_linux.o
/var/lib/dkms/rr62x/1.1/build/product/rr62x/linux/.build/os_linux.c: In
function ‘refresh_sd_flags’:
/var/lib/dkms/rr62x/1.1/build/product/rr62x/linux/.build/os_linux.c:263:7:
error: too few arguments to function ‘blkdev_get’
include/linux/fs.h:2055:12: note: declared here
make[2]: ***
[/var/lib/dkms/rr62x/1.1/build/product/rr62x/linux/.build/os_linux.o] Error
1
make[1]: ***
[_module_/var/lib/dkms/rr62x/1.1/build/product/rr62x/linux/.build] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
make: *** [rr62x.ko] Error 2
make: Leaving directory `/var/lib/dkms/rr62x/1.1/build/product/rr62x/linux'


Is there a patch for this problem available?




The bane of existence for an external driver. You should contact the
package maintainer. Look at the last 2 or 3 entries in debian/changelog.


rtg
--
Tim Gardner tim.gardner@canonical.com

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 05-20-2011, 07:59 AM
Andy Whitcroft
 
Default Highpoint RocketRaid rr62x won't build on Natty

On Thu, Apr 14, 2011 at 05:21:20AM -0700, Jeffrey Katz wrote:
> Per https://help.ubuntu.com/community/RocketRaid
>
> DKMS make.log for rr62x-1.1 for kernel 2.6.38-8-generic (x86_64)
> Wed Apr 13 08:44:03 PDT 2011
> make: Entering directory `/var/lib/dkms/rr62x/1.1/
> build/product/rr62x/linux'
> make[1]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic'
> CC [M]
> /var/lib/dkms/rr62x/1.1/build/product/rr62x/linux/.build/os_linux.o
> In file included from
> /var/lib/dkms/rr62x/1.1/build/product/rr62x/linux/.build/os_linux.c:6:0:
> /var/lib/dkms/rr62x/1.1/build/osm/linux/osm_linux.h:12:26: fatal error:
> linux/config.h: No such file or directory

I think this file has changed name. generated/autoconf.h or something.
From what I can see this changes in v2.6.33 of mainline, so the driver
must be pretty out of date.

This would be something to report to the driver maintainer though.

-apw

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 11:11 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org