osscore: Unknown symbol _GLOBAL_OFFSET_TABLE
Posted: Wed Feb 12, 2020 10:41 pm
Hi,
I'm trying to install the GPL version of OSS 4.2 2019 on Gentoo on an VERY old Via ME6000 PC that only supports i585.
I can successfully compile all the OSS sources on Gentoo Kernels 4.19.17 & 4.14.166 and it even detects the Lynx One sound card.
But when soundon tries to load osscore I get:
modprobe: ERROR: could not insert 'osscore': Unknown symbol in module, or unknown parameter (see dmesg)
in dmesg:
[ 3599.432297] osscore: loading out-of-tree module taints kernel.
[ 3599.449386] osscore: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err -2) or (err 0) on the older kernel version
I did the following to install:
tar -xvjf oss-v*.tar.bz2
ADDED "#include <sys/sysmacros.h>" to the list of includes in os_cmd/Linux/ossdetect/ossdetect.c
mkdir /usr/src/oss-build
cd /usr/src/oss-build
sh /root/oss-v*-src-gpl/configure --only-drv=lynxone
make build
make install
Which worked a few years back with kernel 3.xx, what am I doing wrong? Or is there an easier way to install it on Gentoo?
Thanks,
Ian
I'm trying to install the GPL version of OSS 4.2 2019 on Gentoo on an VERY old Via ME6000 PC that only supports i585.
I can successfully compile all the OSS sources on Gentoo Kernels 4.19.17 & 4.14.166 and it even detects the Lynx One sound card.
But when soundon tries to load osscore I get:
modprobe: ERROR: could not insert 'osscore': Unknown symbol in module, or unknown parameter (see dmesg)
in dmesg:
[ 3599.432297] osscore: loading out-of-tree module taints kernel.
[ 3599.449386] osscore: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err -2) or (err 0) on the older kernel version
I did the following to install:
tar -xvjf oss-v*.tar.bz2
ADDED "#include <sys/sysmacros.h>" to the list of includes in os_cmd/Linux/ossdetect/ossdetect.c
mkdir /usr/src/oss-build
cd /usr/src/oss-build
sh /root/oss-v*-src-gpl/configure --only-drv=lynxone
make build
make install
Which worked a few years back with kernel 3.xx, what am I doing wrong? Or is there an easier way to install it on Gentoo?
Thanks,
Ian