You are not logged in.

#1 2011-03-17 14:37:46

jarryson
Member
Registered: 2007-02-18
Posts: 298

OSS kernel modules can not compile in kernel 2.6.38

build failed:

OSS build environment set up for REGPARM kernels

Building module osscore
Failed to compile OSS
/usr/bin/make -C /lib/modules/2.6.38-ARCH-LH/build M=/usr/lib/oss/build modules
make[1]: Entering directory `/usr/src/linux-2.6.38-ARCH-LH'
  CC [M]  /usr/lib/oss/build/osscore.o
/usr/lib/oss/build/osscore.c: In function 'alloc_fop':
/usr/lib/oss/build/osscore.c:964:14: warning: assignment from incompatible pointer type
/usr/lib/oss/build/osscore.c: In function 'oss_pci_read_devpath':
/usr/lib/oss/build/osscore.c:1638:3: warning: return discards qualifiers from pointer target type
/usr/lib/oss/build/osscore.c: In function 'oss_cmn_err':
/usr/lib/oss/build/osscore.c:675:1: warning: the frame size of 1064 bytes is larger than 1024 bytes
  Building modules, stage 2.
  MODPOST 1 modules
FATAL: vmlinux has no symtab?
make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.38-ARCH-LH'
make: *** [default] Error 2

is there any workaround?

Last edited by jarryson (2011-03-17 14:38:32)

Offline

#2 2011-03-17 15:46:23

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: OSS kernel modules can not compile in kernel 2.6.38

Can't reproduce here. oss has built just fine on multiple 2.6.38 rc's as well as the mainline release. I'd say your kernel config and/or package is at fault.

Offline

#3 2011-03-24 13:48:14

jarryson
Member
Registered: 2007-02-18
Posts: 298

Re: OSS kernel modules can not compile in kernel 2.6.38

I finally know why now, build option in PKGBUILD or makepkg.conf should be '!strip', otherwise "vmlinux has no symtab".

Offline

Board footer

Powered by FluxBB