Ask Your Question
1

Getting line6 Pod to work with rpmbuild

asked 2012-03-05 10:04:42 -0500

Rendagar gravatar image

Hello all,

I've been trying to get fedora 16 to recognice my line 6 PODxt which I have connected via USB. I've been vollowing the RPM installation instructions found at this site however I'm already running into a problem at using:

$ rpmbuild -tb line6usb-0.8.1.tar.bz2

This throws the error

error: Failed build dependencies: kernel-source is needed by line6usb-0.8.1-1.x86_64

I noticed this kernel-source was defined in the line6usb.spec file as a dependency I also read that rpmbuild previously did not check for dependencies so I thought it might be an error due to changes in rpmbuild. Trying to get around the error I tried

$ rpmbuild -tb --nodeps line6usb-0.8.1.tar.bz2

Now this also fails and I get a lot of text of which I'm not sure whether I should post it. Therefore I'll post the past part where I think things go south. The output is:

make[1]: Entering directory `/usr/src/kernels/3.2.7-1.fc16.x8664'

_CC [M] /home/Rendagar/rpmbuild/BUILD/line6usb-0.8.1/audio.o

/home/Rendagar/rpmbuild/BUILD/line6usb-0.8.1/audio.c: In function 'line6init_audio':

/home/Rendagar/rpmbuild/BUILD/line6usb-0.8.1/audio.c:31:2: error: implicit _declaration of function 'sndcardnew' [-Werror=implicit-function-declaration]_

/home/Rendagar/rpmbuild/BUILD/line6usb-0.8.1/audio.c:31:55: error: 'THISMODULE' _undeclared (first use in this function)

/home/Rendagar/rpmbuild/BUILD/line6usb-0.8.1/audio.c:31:55: note: each undeclaredidentifier is reported only once for each function it appears in

cc1: some warnings being treated as errors

make[2]: *** [/home/Rendagar/rpmbuild/BUILD/line6usb-0.8.1/audio.o] Error 1

make[1]: *** [module/home/Rendagar/rpmbuild/BUILD/line6usb-0.8.1] Error 2

make[1]: Leaving directory `/usr/src/kernels/3.2.7-1.fc16.x8664'_

make: *** [default] Error 2

error: Bad exit status from /var/tmp/rpm-tmp.dGgiGW (%build)

To me it seems as though there is something wrong in /audio.c but that would be strange because I have seen ppl use the podxt on linux. Does anyone have any idea what I could try to get things working?

Thanks in advance,

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-03-05 16:29:14 -0500

mooninite gravatar image

The "kernel-source" package is called "kernel-devel" in Fedora. Try running "yum install kernel-devel" and rebuild the package.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-03-05 10:04:42 -0500

Seen: 522 times

Last updated: Mar 05 '12