Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-20-2014, 06:39 AM
|
#1
|
Member
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 331
Rep:
|
OSS build fail
Hi
I wanted to try OSS on my Slackware-current install - OSS is really good on FreeBSD.
I get this error using the Slackbuild - can someone help me please work out what went wrong?
Code:
Open Sound System starting Thu Mar 20 09:49:56 GMT 2014
OSS version: 4.2 (b 2008/201403200938)
Kernel version: 3.10.30
Kernel vermagic:
Relinking OSS kernel modules for
OSS build environment set up for REGPARM kernels
Building module osscore
Failed to compile OSS
make -C /lib/modules/3.10.30/build M=/usr/lib64/oss/build modules
make[1]: Entering directory `/usr/src/linux-3.10.30'
CC [M] /usr/lib64/oss/build/osscore.o
/usr/lib64/oss/build/osscore.c: In function 'init_proc_fs':
/usr/lib64/oss/build/osscore.c:287:8: error: implicit declaration of function 'create_proc_entry' [-Werror=implicit-function-declaration]
create_proc_entry ("opensound", 0700 | S_IFDIR, NULL)) == NULL)
^
/usr/lib64/oss/build/osscore.c:286:22: warning: assignment makes pointer from integer without a cast [enabled by default]
if ((oss_proc_root =
^
/usr/lib64/oss/build/osscore.c:293:26: warning: assignment makes pointer from integer without a cast [enabled by default]
if ((oss_proc_devfiles =
^
/usr/lib64/oss/build/osscore.c:300:20: error: dereferencing pointer to incomplete type
oss_proc_devfiles->proc_fops = &oss_proc_operations;
^
/usr/lib64/oss/build/osscore.c: In function 'alloc_fop':
/usr/lib64/oss/build/osscore.c:964:14: warning: assignment from incompatible pointer type [enabled by default]
fop->fsync = oss_no_fsync;
^
/usr/lib64/oss/build/osscore.c: In function 'oss_pci_read_devpath':
/usr/lib64/oss/build/osscore.c:1638:3: warning: return discards 'const' qualifier from pointer target type [enabled by default]
return dev_name(&dip->pcidev->dev);
^
In file included from include/linux/kernel.h:12:0,
from include/linux/cache.h:4,
from include/linux/time.h:4,
from include/linux/stat.h:18,
from include/linux/module.h:10,
from /usr/lib64/oss/build/osscore.c:15:
/usr/lib64/oss/build/osscore.c: In function 'oss_fp_check':
include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
(void)(&__dummy == &__dummy2); \
^
include/linux/irqflags.h:73:3: note: in expansion of macro 'typecheck'
typecheck(unsigned long, flags); \
^
include/linux/irqflags.h:112:3: note: in expansion of macro 'raw_local_save_flags'
raw_local_save_flags(flags); \
^
/usr/lib64/oss/build/osscore.c:1862:3: note: in expansion of macro 'local_save_flags'
local_save_flags (flags_reg);
^
include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
(void)(&__dummy == &__dummy2); \
^
include/linux/irqflags.h:78:3: note: in expansion of macro 'typecheck'
typecheck(unsigned long, flags); \
^
include/linux/irqflags.h:102:7: note: in expansion of macro 'raw_irqs_disabled_flags'
if (raw_irqs_disabled_flags(flags)) { \
^
/usr/lib64/oss/build/osscore.c:1864:3: note: in expansion of macro 'local_irq_restore'
local_irq_restore (flags_reg);
^
include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
(void)(&__dummy == &__dummy2); \
^
include/linux/irqflags.h:68:3: note: in expansion of macro 'typecheck'
typecheck(unsigned long, flags); \
^
include/linux/irqflags.h:103:4: note: in expansion of macro 'raw_local_irq_restore'
raw_local_irq_restore(flags); \
^
/usr/lib64/oss/build/osscore.c:1864:3: note: in expansion of macro 'local_irq_restore'
local_irq_restore (flags_reg);
^
include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
(void)(&__dummy == &__dummy2); \
^
include/linux/irqflags.h:68:3: note: in expansion of macro 'typecheck'
typecheck(unsigned long, flags); \
^
include/linux/irqflags.h:107:4: note: in expansion of macro 'raw_local_irq_restore'
raw_local_irq_restore(flags); \
^
/usr/lib64/oss/build/osscore.c:1864:3: note: in expansion of macro 'local_irq_restore'
local_irq_restore (flags_reg);
^
include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
(void)(&__dummy == &__dummy2); \
^
include/linux/irqflags.h:73:3: note: in expansion of macro 'typecheck'
typecheck(unsigned long, flags); \
^
include/linux/irqflags.h:112:3: note: in expansion of macro 'raw_local_save_flags'
raw_local_save_flags(flags); \
^
/usr/lib64/oss/build/osscore.c:1866:3: note: in expansion of macro 'local_save_flags'
local_save_flags (flags_reg);
^
include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
(void)(&__dummy == &__dummy2); \
^
include/linux/irqflags.h:78:3: note: in expansion of macro 'typecheck'
typecheck(unsigned long, flags); \
^
include/linux/irqflags.h:102:7: note: in expansion of macro 'raw_irqs_disabled_flags'
if (raw_irqs_disabled_flags(flags)) { \
^
/usr/lib64/oss/build/osscore.c:1871:3: note: in expansion of macro 'local_irq_restore'
local_irq_restore (flags_reg);
^
include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
(void)(&__dummy == &__dummy2); \
^
include/linux/irqflags.h:68:3: note: in expansion of macro 'typecheck'
typecheck(unsigned long, flags); \
^
include/linux/irqflags.h:103:4: note: in expansion of macro 'raw_local_irq_restore'
raw_local_irq_restore(flags); \
^
/usr/lib64/oss/build/osscore.c:1871:3: note: in expansion of macro 'local_irq_restore'
local_irq_restore (flags_reg);
^
include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
(void)(&__dummy == &__dummy2); \
^
include/linux/irqflags.h:68:3: note: in expansion of macro 'typecheck'
typecheck(unsigned long, flags); \
^
include/linux/irqflags.h:107:4: note: in expansion of macro 'raw_local_irq_restore'
raw_local_irq_restore(flags); \
^
/usr/lib64/oss/build/osscore.c:1871:3: note: in expansion of macro 'local_irq_restore'
local_irq_restore (flags_reg);
^
include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
(void)(&__dummy == &__dummy2); \
^
include/linux/irqflags.h:73:3: note: in expansion of macro 'typecheck'
typecheck(unsigned long, flags); \
^
include/linux/irqflags.h:112:3: note: in expansion of macro 'raw_local_save_flags'
raw_local_save_flags(flags); \
^
/usr/lib64/oss/build/osscore.c:1873:3: note: in expansion of macro 'local_save_flags'
local_save_flags (flags_reg);
^
cc1: some warnings being treated as errors
make[2]: *** [/usr/lib64/oss/build/osscore.o] Error 1
make[1]: *** [_module_/usr/lib64/oss/build] Error 2
make[1]: Leaving directory `/usr/src/linux-3.10.30'
make: *** [default] Error 2
Last edited by Bazzaah; 03-20-2014 at 06:40 AM.
|
|
|
03-20-2014, 09:09 AM
|
#2
|
Senior Member
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,860
|
Where did you find a slackbuild for -current? If you are using the 14.1 Slackbuild, you will have to either patch the oss source to compile against the new kernel version in current or find a version of the oss source that compiles against the 3.10.30 kernel.
You could also contact the Slackbuild maintainer (listed in the oss.info file) for any tips.
|
|
|
03-20-2014, 09:32 AM
|
#3
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,796
|
Just tested on Slackware64-14.1 VM using sbopkg and it built fine
Quote:
SUMMARY LOG
Using the SBo repository for Slackware 14.1
Queue Process: Download, build, and install
oss:
MD5SUM check for ender.zip ... OK
Building package oss-4.2.2008-x86_64-1_SBo.tgz ... OK
Installing package oss-4.2.2008-x86_64-1_SBo.tgz ... OK
|
|
|
|
03-20-2014, 09:52 AM
|
#4
|
Member
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 331
Original Poster
Rep:
|
Thanks.
I'll set up stable installation and see if it's something I've done on current.
willysr - it does seem to build fine with sbopkg but fails on the reboot as it inserts the module (should have made that clearer in my op).
If it fails on 14.1, I'll mail Dugan Chen.
|
|
|
03-20-2014, 10:41 AM
|
#5
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,796
|
It could be due to kernel changes in current
Even though they shared the same base (3.10), but lots have happened between .17 and .30
|
|
|
03-20-2014, 12:18 PM
|
#6
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
Look on the 4Front web forums for the kernel version patch. You will have to patch OSS post install to get it to build the driver upon the initial loading.
|
|
1 members found this post helpful.
|
03-20-2014, 01:12 PM
|
#7
|
Senior Member
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223
Rep:
|
That is odd, I am running kernel 3.13.6 (downloaded off kernel.org and compiled it manually) and OSS build fine here.
oss:
MD5SUM check for ender.zip ... OK
Building package oss-4.2.2008-x86_64-1_SBo.tgz ... OK
Installing package oss-4.2.2008-x86_64-1_SBo.tgz ... OK
pedro@darkstar:~$ uname -a
Linux darkstar 3.13.6 #1 SMP PREEMPT Tue Mar 11 19:58:18 BRT 2014 x86_64 AMD FX(tm)-6300 Six-Core Processor AuthenticAMD GNU/Linux
|
|
|
03-20-2014, 01:22 PM
|
#8
|
Member
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 331
Original Poster
Rep:
|
Quote:
Originally Posted by ReaperX7
Look on the 4Front web forums for the kernel version patch. You will have to patch OSS post install to get it to build the driver upon the initial loading.
|
posted in error
Last edited by Bazzaah; 03-20-2014 at 01:26 PM.
|
|
|
03-21-2014, 02:23 AM
|
#9
|
LQ Guru
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,351
|
Quote:
Originally Posted by Bazzaah
If it fails on 14.1, I'll mail Dugan Chen.
|
I'm reading the thread.
I'll look into it this weekend. And for sure, I'll follow ReaperX7's advice on where to start looking.
|
|
|
03-21-2014, 03:22 AM
|
#10
|
Member
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 331
Original Poster
Rep:
|
Quote:
Originally Posted by dugan
I'm reading the thread.
I'll look into it this weekend. And for sure, I'll follow ReaperX7's advice on where to start looking.
|
Good to know, thanks!
|
|
|
03-24-2014, 02:19 AM
|
#11
|
LQ Guru
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,351
|
I just submitted a SlackBuild for 4.2.009.
The following is from the release notes:
Quote:
- fixes for Linux 3.2 kernel interface changes
|
So: I assume that this should resolve the issue.
I've also found that the only browser that works with OSS4 is Opera. Neither Firefox nor Chromium do.
|
|
1 members found this post helpful.
|
03-24-2014, 03:05 AM
|
#12
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,796
|
Now it's already on my branch
just waiting for the next public update to become available in the repository
|
|
|
03-24-2014, 09:56 AM
|
#13
|
Member
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 331
Original Poster
Rep:
|
Thanks Dugan - will try this out later.
|
|
|
All times are GMT -5. The time now is 12:59 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|