Re: [Line6linux-user] Issues compiling under Fedora Core 12
Status: Pre-Alpha
Brought to you by:
mgrabner
From: Markus G. <gr...@ic...> - 2010-04-23 18:24:21
|
Am Freitag 23 April 2010 14:23:14 schrieb SIMON SEDGWICK: > I have been playing with the Planet CCRMA repo's with both CentOS5.4 and > Fedora Core 12 (both 32bit). I can't rebuild line6usb from the SRC RPM on > either of them, even when I have kernel, kernel-devel and kernel-headers > installed. Each time it complains of a missing dependency of > kernel-source, I kind find such an RPM exists, therefore can't satisfy the > dependencies. > > So I built a basic FC12 32bit virtual machine which only has the stock > kernel and the complete dev environment installed. With the source code I > get the following errors: > > [sedgtone@localhost line6usb-0.8.1]$ make install > ./set_revision.sh > make -f Makefile -C /lib/modules/2.6.32.11-99.fc12.i686.PAE/build > CONFIG_LINE6_USB=m SUBDIRS=/home/sedgetone/rpmbuild/SOURCES/line6usb-0.8.1 > modules make[1]: Entering directory > `/usr/src/kernels/2.6.32.11-99.fc12.i686.PAE' CC [M] > /home/sedgetone/rpmbuild/SOURCES/line6usb-0.8.1/audio.o > /home/sedgetone/rpmbuild/SOURCES/line6usb-0.8.1/audio.c: In function > ‘line6_init_audio’: > /home/sedgetone/rpmbuild/SOURCES/line6usb-0.8.1/audio.c:31: error: > implicit declaration of function ‘snd_card_new’ > /home/sedgetone/rpmbuild/SOURCES/line6usb-0.8.1/audio.c:31: warning: > assignment makes pointer from integer without a cast make[2]: *** > [/home/sedgetone/rpmbuild/SOURCES/line6usb-0.8.1/audio.o] Error 1 make[1]: > *** [_module_/home/sedgetone/rpmbuild/SOURCES/line6usb-0.8.1] Error 2 > make[1]: Leaving directory `/usr/src/kernels/2.6.32.11-99.fc12.i686.PAE' > make: *** [default] Error 2 > > I get the same errors on both CentOS and FC. So I'm obviously doing > something wrong but I have no idea what. Can anyone throw some light on > what the errors might be? Version 0.8.1 is quite out of date and not compatible with recent kernels, you might want to try the current revision instead: https://line6linux.svn.sourceforge.net/svnroot/line6linux/driver/trunk However, users reported troubles with the new version, which I'm currently trying to resolve, but it's at least better as a version that doesn't even compile :-) Which Line6 device do you want to use under Linux? Kind regards, Markus -- Markus Grabner - Computer Graphics and Vision Graz University of Technology, Inffeldgasse 16a/II, 8010 Graz, Austria Phone: +43/316/873-5041, Fax: +43/316/873-5050 WWW: http://www.icg.tugraz.at/Members/grabner |