Having trouble compiling netmap kernel module
Hey everyone,
First time poster here. Hopefully this question isn't too stupid but I've been having a hard time figuring this out.
I'm trying to install the netmap drivers for Arch. I've downloaded the header files through pacman, but the configure script for netmap spits out an error stating it requires the full kernel source.
This is where I'm unsure of what to do. I've gone to kernel.org and downloaded this tar ball: http://mirrors.kernel.org/archlinux/sou … src.tar.gz
I unpacked it to /usr/src/ and, as instructed in the configure script's error, I run the script with an option to point to the kernel source as such:
./configure --kernel-sources=/usr/src/linux/
********************************** ERROR **********************************
*** Cannot find full kernel sources.
*** We need the full kernel sources to build the netmap-enabled drivers.
*** Please note that most distributions provide separate packages for kernel
*** headers and sources. Once you know the path to kernel sources, you can
*** rerun this script with the additional
*** --kernel-sources=/path/to/sources
*** option.
*** If you are only interested in VALE and pipes, you can rerun the script
*** now with the '--no-drivers' option. Hardware devices will then be accessed
*** via a generic adapter at reduced performance."
*** Current configuration values:
*** kernel directory /lib/modules/3.18.6-1-ARCH/build
*** [/usr/lib/modules/3.18.6-1-ARCH/build]
*** linux version 31206 [3.18.6]
*** module file netmap.ko
*** subsystems generic monitor pipe vale
*** no-drivers
But it keeps giving me the same error! Did I not download the kernel source? I feel like I'm so close...
- Cory
Last edited by burning_flag (2015-03-19 05:28:36)
Step by Step to fix your Mac
Similar Messages
-
I'm having trouble with the develop module in LR5.4. Any adjustments are taking effect, but only viewable in the filmstrip, not on the main photo. The navigator will go grey, as does the main area too. This applies to all edits done in develop module. I have posted several times on the forum with no responses to address this, and have seen others with the same issue. I have even gone as far as to do a complete re-install of LR5, with no success. I'm at a loss, and I depend on it for so much editing. Please help.
Reset your preferences file: Resetting (or 'Trashing') the Lightroom Preferences file - Lightroom Forums
Report back if that doesn't work. -
I am a total newbie at programming and I am having trouble compiling. In the MS-DOS prompt, I located the folder where my .java file is located and typed the following:
javac SampleProgram.java
I received a "Bad command or file name" error. I am typing the names correctly. I am using Java 2 SDK, Standard Edition Version 1.3.1. Am I doing something wrong?
Thanks for any help.That should fix it. The problem is that DOS needs to know where to find the executable files like javac.exe
You can either set the path temporarily by typing
SET PATH=.;c:\jdk1.3.1\bin
at the command prompt each time you open a command window, or you can set it more permanently by adding it to your startup config. This will depend on your OS. On win 98 for example, there is an AUTOEXEC.BAT (usually with a SET PATH command already present). You could open this in notepad to add/change:
SET PATH=C:\WINDOWS
to
SET PATH=C:\WINDOWS;.;C:\JDK1.3.1\BIN
Reboot to make the changes take effect. Other OS's may have a special dialog to set this kind of command.
Hope this helps some. -
Having trouble with this kernel panic
Hi everyone. I've been having kernel panics for the past few months and I've been having trouble figuring out what's causing it.
I have an early 2011 15" MacBook Pro, with a quad core 2GHz i7
My OS is 10.8.2
Here is the most recent panic:
Interval Since Last Panic Report: 2700 sec
Panics Since Last Report: 1
Anonymous UUID: D636001D-4751-46AF-931B-D57E9A0E8962
Fri Nov 16 17:45:29 2012
panic(cpu 6 caller 0xffffff8006eb7bd5): Kernel trap at 0xffffff80070ef7f8, type 13=general protection, registers:
CR0: 0x000000008001003b, CR2: 0x000000010e49c000, CR3: 0x0000000009892000, CR4: 0x00000000000606e0
RAX: 0xffffff802a67eaa0, RBX: 0xf7ffff80401e1ec8, RCX: 0x0000000009000000, RDX: 0xffffff80401e6a28
RSP: 0xffffff81d830bd10, RBP: 0xffffff81d830bd30, RSI: 0x0000000000000002, RDI: 0xf7ffff80401e1ec8
R8: 0x0000000000000001, R9: 0x0000000000000000, R10: 0xffffff802b985808, R11: 0x0000000000000010
R12: 0x00000000331919d3, R13: 0xffffff80274ceb70, R14: 0x0000000000000002, R15: 0xffffff802a67eaa0
RFL: 0x0000000000010246, RIP: 0xffffff80070ef7f8, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0x000000010e49c000, Error code: 0x0000000000000000, Fault CPU: 0x6
Backtrace (CPU 6), Frame : Return Address
0xffffff81d830b9b0 : 0xffffff8006e1d626
0xffffff81d830ba20 : 0xffffff8006eb7bd5
0xffffff81d830bbf0 : 0xffffff8006ece4ed
0xffffff81d830bc10 : 0xffffff80070ef7f8
0xffffff81d830bd30 : 0xffffff8007106045
0xffffff81d830bd60 : 0xffffff8006eee797
0xffffff81d830bdd0 : 0xffffff8007105e4b
0xffffff81d830be80 : 0xffffff8006efa3bf
0xffffff81d830beb0 : 0xffffff8006ef3af7
0xffffff81d830bf10 : 0xffffff8006f03eee
0xffffff81d830bf30 : 0xffffff8007272fc6
0xffffff81d830bf60 : 0xffffff8006e3dcde
0xffffff81d830bfb0 : 0xffffff8006eb26b7
BSD process name corresponding to current thread: kernel_task
Mac OS version:
12C60
Kernel version:
Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64
Kernel UUID: 69A5853F-375A-3EF4-9247-478FD0247333
Kernel slide: 0x0000000006c00000
Kernel text base: 0xffffff8006e00000
System model name: MacBookPro8,2 (Mac-94245A3940C91C80)
System uptime in nanoseconds: 3054737506995
last loaded kext at 1140684625770: com.apple.filesystems.smbfs 1.8 (addr 0xffffff7f891d6000, size 229376)
last unloaded kext at 208356032253: com.apple.driver.AppleUSBUHCI 5.2.5 (addr 0xffffff7f877d0000, size 65536)
loaded kexts:
com.apple.filesystems.smbfs 1.8
com.apple.driver.AppleHWSensor 1.9.5d0
com.apple.filesystems.ntfs 3.10
com.apple.filesystems.autofs 3.0
com.apple.iokit.IOBluetoothSerialManager 4.0.9f33
com.apple.driver.AudioAUUC 1.60
com.apple.driver.AGPM 100.12.69
com.apple.driver.AppleMikeyHIDDriver 122
com.apple.driver.AppleUpstreamUserClient 3.5.10
com.apple.driver.AppleHDA 2.3.1f2
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.kext.AMDFramebuffer 8.0.0
com.apple.driver.AppleMikeyDriver 2.3.1f2
com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport 4.0.9f33
com.apple.AMDRadeonAccelerator 1.0.0
com.apple.driver.AppleIntelHD3000Graphics 8.0.0
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.SMCMotionSensor 3.0.2d6
com.apple.driver.AppleSMCPDRC 1.0.0
com.apple.driver.ApplePolicyControl 3.2.11
com.apple.driver.AppleSMCLMU 2.0.2d0
com.apple.driver.AppleLPC 1.6.0
com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
com.apple.driver.AppleIntelSNBGraphicsFB 8.0.0
com.apple.driver.AppleMuxControl 3.2.11
com.apple.driver.AppleMCCSControl 1.0.33
com.apple.driver.AppleUSBTCButtons 235.4
com.apple.driver.AppleUSBTCKeyboard 235.4
com.apple.driver.AppleIRController 320.15
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 34
com.apple.iokit.SCSITaskUserClient 3.5.1
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage 2.2.2
com.apple.driver.AppleUSBHub 5.2.5
com.apple.driver.AppleSDXC 1.2.2
com.apple.iokit.AppleBCM5701Ethernet 3.2.5b3
com.apple.driver.AppleFWOHCI 4.9.6
com.apple.driver.AirPort.Brcm4331 602.15.22
com.apple.driver.AppleAHCIPort 2.4.1
com.apple.driver.AppleUSBEHCI 5.4.0
com.apple.driver.AppleEFINVRAM 1.6.1
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleACPIButtons 1.6
com.apple.driver.AppleRTC 1.5
com.apple.driver.AppleHPET 1.7
com.apple.driver.AppleSMBIOS 1.9
com.apple.driver.AppleACPIEC 1.6
com.apple.driver.AppleAPIC 1.6
com.apple.driver.AppleIntelCPUPowerManagementClient 196.0.0
com.apple.nke.applicationfirewall 4.0.39
com.apple.security.quarantine 2
com.apple.driver.AppleIntelCPUPowerManagement 196.0.0
com.apple.kext.triggers 1.0
com.apple.iokit.IOSerialFamily 10.0.6
com.apple.driver.DspFuncLib 2.3.1f2
com.apple.iokit.IOAudioFamily 1.8.9fc10
com.apple.kext.OSvKernDSPLib 1.6
com.apple.iokit.IOSurface 86.0.3
com.apple.iokit.IOBluetoothFamily 4.0.9f33
com.apple.iokit.AppleBluetoothHCIControllerUSBTransport 4.0.9f33
com.apple.iokit.IOAcceleratorFamily 19.0.26
com.apple.driver.AppleSMBusPCI 1.0.10d0
com.apple.iokit.IOFireWireIP 2.2.5
com.apple.driver.AppleHDAController 2.3.1f2
com.apple.iokit.IOHDAFamily 2.3.1f2
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.driver.IOPlatformPluginFamily 5.2.0d16
com.apple.driver.AppleSMC 3.1.4d2
com.apple.kext.AMD6000Controller 8.0.0
com.apple.kext.AMDSupport 8.0.0
com.apple.driver.AppleGraphicsControl 3.2.11
com.apple.driver.AppleBacklightExpert 1.0.4
com.apple.iokit.IONDRVSupport 2.3.5
com.apple.driver.AppleSMBusController 1.0.10d0
com.apple.iokit.IOGraphicsFamily 2.3.5
com.apple.driver.AppleThunderboltDPInAdapter 1.8.5
com.apple.driver.AppleThunderboltDPAdapterFamily 1.8.5
com.apple.driver.AppleThunderboltPCIDownAdapter 1.2.5
com.apple.driver.AppleUSBMultitouch 235.7
com.apple.iokit.IOUSBHIDDriver 5.2.5
com.apple.driver.AppleUSBMergeNub 5.2.5
com.apple.driver.AppleUSBComposite 5.2.5
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.5.1
com.apple.iokit.IOBDStorageFamily 1.7
com.apple.iokit.IODVDStorageFamily 1.7.1
com.apple.iokit.IOCDStorageFamily 1.7.1
com.apple.iokit.IOAHCISerialATAPI 2.5.0
com.apple.iokit.IOSCSIArchitectureModelFamily 3.5.1
com.apple.driver.AppleThunderboltNHI 1.6.0
com.apple.iokit.IOThunderboltFamily 2.1.1
com.apple.iokit.IOUSBUserClient 5.2.5
com.apple.iokit.IOEthernetAVBController 1.0.2b1
com.apple.iokit.IOFireWireFamily 4.5.5
com.apple.iokit.IO80211Family 500.15
com.apple.iokit.IONetworkingFamily 3.0
com.apple.iokit.IOAHCIFamily 2.2.1
com.apple.iokit.IOUSBFamily 5.4.0
com.apple.driver.AppleEFIRuntime 1.6.1
com.apple.iokit.IOHIDFamily 1.8.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 220
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.DiskImages 344
com.apple.iokit.IOStorageFamily 1.8
com.apple.driver.AppleKeyStore 28.21
com.apple.driver.AppleACPIPlatform 1.6
com.apple.iokit.IOPCIFamily 2.7.2
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.corecrypto 1.0
Model: MacBookPro8,2, BootROM MBP81.0047.B27, 4 processors, Intel Core i7, 2 GHz, 16 GB, SMC 1.69f3
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 512 MB
Graphics: AMD Radeon HD 6490M, AMD Radeon HD 6490M, PCIe, 256 MB
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1333 MHz, 0x029E, 0x434D534F384758334D314131333333433920
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1333 MHz, 0x029E, 0x434D534F384758334D314131333333433920
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 (5.106.98.81.22)
Bluetooth: Version 4.0.9f33 10885, 2 service, 18 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: WDC WD7500BPKT-80PK4T0, 750.16 GB
Serial ATA Device: MATSHITADVD-R UJ-898
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfd100000 / 2
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd110000 / 3
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8509, 0xfa200000 / 3
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfa100000 / 2
USB Device: BRCM2070 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 5
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821a, 0xfa113000 / 8
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0245, 0xfa120000 / 4
Any help would be greatly appreciated. Thanks!
Edit: I forgot to mention that I already did several memory tests on the RAM, and have wiped and reinstalled the OS and the problem persists.Step by Step to fix your Mac
-
How to compile a kernel module without recompiling the whole kernel?
Hi,
I'm pretty sure my question is a bit newbish, still I haven't been able to found any information/solution to my problem in 3days.
The kernel I use doesn't come with the module I need for my hardware and I would like to know if there's a way to compile it without having to make a new kernel myself (since compiling the kernel takes ages on my machine).
Even if your answer is a "Let me Google that for you", I'm so desperate that I'll be happy to see it.
Thank you all in advance for your answers!Do you have a /proc/config.gz that you could use? Otherwise I don't know. I mean, many modules should be compilable simply with the system-installed kernel headers, but not all native modules might follow that rule.
Unfortunatel most of what you find on the web talks about how to create new modules which can be compild against the installed kernel tree, not about how to compile one of the native kernel modules against it.
Actually, try what those links suggest.
Skip the configuration part, and just do:
make -C /lib/modules/`uname -r`/build M=$(PWD)/drivers/video modules
(maybe `make -C /lib/modules/`uname -r`/build M=$(PWD)/drivers/video clean` first )
EDIT: Meh, that uses your config and won't build that driver... there must be some way though
EDIT2: Try:
make -C /lib/modules/`uname -r`/build M=$(PWD)/drivers/video modules CONFIG_FB_VT8623=m CONFIG_FB_SVGALIB=m
The problem though is, that they might have removed some of the dependencies of the module, so if it doesn't compile, you'll have to recompile the kernel.
Good thing is though, you can use their .config as base (found in /usr/src/linux-..../.config)
You can also check if your config "supports" your module by putting it into the kernel source tree, running `make menuconfig` and typing /8623 and pressing enter.
The last line in that screen should read:
Selects: <list of options>
As long as all of those options are either =y or =m, you're good. SVGALIB can be =n because it's part of drivers/video/ and you can compile it together with your module.
Last edited by Blµb (2012-03-02 15:14:16) -
Compile radeonfb kernel module
what I want to do, is to compile just radeonfb as a module (so that I could use it), without rebuilding anything else because the entire kernel takes way too long (like an hour or so).
How about this possibility;
a pkgbuild that builds the module seperately off of cvs or whatever the kernel is hosted on, (so that the 40 MB tarball doesn't have to get downloaded?)
not sure exactly how that works out, but it's probably possible, or is it all just not worth the effort?Do you have a /proc/config.gz that you could use? Otherwise I don't know. I mean, many modules should be compilable simply with the system-installed kernel headers, but not all native modules might follow that rule.
Unfortunatel most of what you find on the web talks about how to create new modules which can be compild against the installed kernel tree, not about how to compile one of the native kernel modules against it.
Actually, try what those links suggest.
Skip the configuration part, and just do:
make -C /lib/modules/`uname -r`/build M=$(PWD)/drivers/video modules
(maybe `make -C /lib/modules/`uname -r`/build M=$(PWD)/drivers/video clean` first )
EDIT: Meh, that uses your config and won't build that driver... there must be some way though
EDIT2: Try:
make -C /lib/modules/`uname -r`/build M=$(PWD)/drivers/video modules CONFIG_FB_VT8623=m CONFIG_FB_SVGALIB=m
The problem though is, that they might have removed some of the dependencies of the module, so if it doesn't compile, you'll have to recompile the kernel.
Good thing is though, you can use their .config as base (found in /usr/src/linux-..../.config)
You can also check if your config "supports" your module by putting it into the kernel source tree, running `make menuconfig` and typing /8623 and pressing enter.
The last line in that screen should read:
Selects: <list of options>
As long as all of those options are either =y or =m, you're good. SVGALIB can be =n because it's part of drivers/video/ and you can compile it together with your module.
Last edited by Blµb (2012-03-02 15:14:16) -
[Mini-HOWTO] RPMs needed to compile a kernel-module on / for VM Server
In reply to the question I've asked a couple of days ago in this forum
Compile module for Oracle VM Server
I tried to do it myself, since no answer was given.
And it turned out to be fairly easy afterward too!
Just install these RPM-packages from an Oracle Enterprise Linux v5 i386 distribution (v5, NOT v5U1!) in this order:
kernel-headers-2.6.18-8.el5.i386.rpm
glibc-headers-2.5-12.i386.rpm
glibc-devel-2.5-12.i386.rpm
libgomp-4.1.1-52.el5.i386.rpm
cpp-4.1.1-52.el5.i386.rpm
gcc-4.1.1-52.el5.i386.rpmThese 6 RPMs and finally the
kernel-ovs-devel-2.6.18-8.1.6.0.18.el5 RPM, to be found on the VM Server-CD you've burned from the downloaded ISO.
Hope this helps!
At least I was able to recompile the qla2xxx-modules from the HP-provided sources.
Message was updated by:
hbokhobasically it is the same thing as build a normal kernel module i think. some packages need to be installed first for e.g. the kernel source and development packages.
refer to, (just some google results)
http://www.eece.maine.edu/~sheaff/module.html
http://tldp.org/LDP/lkmpg/2.6/html/index.html
The system I installed the OVS on has a network chip
that is not supported by the kernel in OVS 2.1. I
found the source code for the module, but does anyone
have a clue how to set up an environment so I can
compile the module in a way that it'll be accepted on
the OVS server. I downloaded the Source OVS CD, but
I'm not quite sure what to do from there. Anybody has
some hints? -
Trouble compiling sleepycat perl module for dbxml on win32
I'm trying to compile the perl module for Oracle DB XML with no luck so far. I've added nmake and cl to my path using the vcvars32 script. But running 'perl Makefile.PL -config.win32' produces:
Note (probably harmless): No library found for DB
Note (probably harmless): No library found for XML
Note (probably harmless): No library found for 2.3.10/lib
Note (probably harmless): No library found for -llibdb45
Writing Makefile for Sleepycat::Db
Note (probably harmless): No library found for DB
Note (probably harmless): No library found for XML
Note (probably harmless): No library found for 2.3.10/lib
Note (probably harmless): No library found for -llibdbxml23
Note (probably harmless): No library found for -llibdb45
Note (probably harmless): No library found for -lxerces-c_2
Note (probably harmless): No library found for -lxqilla10
Writing Makefile for Sleepycat::DbXml
Writing Makefile for Sleepycat::DbXml
That might not be a problem, although I think all of those libraries are included with the dbxml download. In any case, running nmake fails:
Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.
nmake -f Makefile all -nologo
cp Db.pod ..\blib\lib\Sleepycat\Db.pod
cp DbEnv.pod ..\blib\lib\Sleepycat\DbEnv.pod
cp DbTxn.pod ..\blib\lib\Sleepycat\DbTxn.pod
cp Db.pm ..\blib\lib\Sleepycat\Db.pm
cp Dbc.pod ..\blib\lib\Sleepycat\Dbc.pod
cp Dbt.pod ..\blib\lib\Sleepycat\Dbt.pod
C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -noprototypes -C++ -ty
pemap ../typemap -typemap C:\Perl\lib\ExtUtils\typemap Db.xs > Db.xsc && C:\Per
l\bin\perl.exe -MExtUtils::Command -e mv Db.xsc Db.c
cl -TP /EHsc -c -IC:/Berkeley DB XML 2.3.10/include -nologo -EHsc -GF
-W3 -MD -O1 -Gd -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL
IMPLICITCONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -nologo
-DVERSION=\"2.003\" -DXS_VERSION=\"2.003\" "-IC:\Perl\lib\CORE" Db.c
DB
c1xx : fatal error C1083: Cannot open source file: 'DB': No such file or directo
ry
XML
c1xx : fatal error C1083: Cannot open source file: 'XML': No such file or direct
ory
include
c1xx : fatal error C1083: Cannot open source file: '2.3.10/include': No such fil
e or directory
Db.c
Db.xs(7) : fatal error C1083: Cannot open include file: 'db_cxx.h': No such file
or directory
Generating Code...
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\nmake.EXE"' : return code '0x2'
Stop.
Any ideas what I'm doing wrong?I figured it out. I discovered that the developer tools weren't installed by default on the Darwin OS. I downloaded them from the Apple site, installed the dmg file and then installed the required Perl modules and then it worked beautifully.
The problem was that the modules couldn't make properly when being installed.
Fun Fun
Donna -
FDM mail app - having trouble compiling 1.6 anyone have 1.6 package??
Hi... sorry to be writing about fdm again.
http://aur.archlinux.org/packages.php?ID=7806
I'm having trouble getting 1.6 installed.
I'm still hoping that the bug fixes in the recently release update for tdb might spark an ARCH version of fdm 1.6.
I need fdm 1.6 as the current version 1.4-1 does some weird things with gmail and it's about 16 moths old. There's been a version 1.6 since xmas.
Anyways, sorry to be wimpering.
Anyone have a 1.6 working?
Last edited by yvonney (2009-03-07 09:01:54)I can now use ABS well enough.
Noticed the bug repor and now that tdb has just been updated, and, I assume the bug is gone... I'm wondering:
- should I wait for new version 1.6 to show up?
- If anyone has a PKGBUILD for 1.6 that will work just lke it will when the package is updated to 1.6 and in AUR.
I think that if I were to just download the package and install I'd not only lose the pacman sync ability (wouldn't I?) and that also the locations for the files would be a bit off, and then there's that tip I got (thanks!) about "make -j1".
hmmm... really need the 1.6 bug fixes.
Of course, there's lots else to do.... and I'm very patient...! hehehe
Just loving mutt and looking forward to fdm 1.6
um, obviously! -
Compiling Modified Kernel Module
Hi,
I want to recompile the cx231xx USB tv capture card driver to include a small modification to the driver code. This driver can be found in src/drivers/media/video/cx231xx
Is there any way I can grab the current v4l source tree for arch and compile it?
I have tried compiling a custom kernel with the source code modified after the download/patching but it aborts the compile halfway through. This is time-consuming as my laptop takes 3 hours to get to the abort...
I previously built and installed my own v4l-tree on Ubuntu to use this modification (enables output instead of blue screen with no sync signal). However the source tree I used does not compile with the newer kernel in arch.
Thanks,
PhilIt is part of the kernel already, but I need to modify the driver to enable the output. (I use it with Amateur Television Receivers.)
I have tried several of methods, but none seem to work:
I installed the kernel26-headers, so have a tree at /usr/src/linux-2.6.37-ARCH/
I put a Makefile in /usr/src/linux-2.6.37-ARCH/drivers/media/video/cx231xx/Makefile:
--EDIT: There are no code files in the module directory, where do I get these??
obj-m = cx231xx.o
KVERSION = $(shell uname -r)
all:
make -C /lib/modules/$(KVERSION)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(KVERSION)/build M=$(PWD) clean
and now I try:
[root@#blanked# linux-2.6.37-ARCH]# make M=drivers/media/video/cx231xx/
make[1]: *** No rule to make target `drivers/media/video/cx231xx/cx231xx.c', needed by `drivers/media/video/cx231xx/cx231xx.o'. Stop.
make: *** [_module_drivers/media/video/cx231xx] Error 2
Last edited by craagmeister (2011-03-11 14:21:58) -
I'm having trouble with ABS kernel build
I built a kernel, as per https://wiki.archlinux.org/index.php/Cu … n_with_ABS . It seemed pretty straight forward.
The goal was to set CONFIG_PREEMPT=n so I could compile and native install ZFS. I managed to get the kernel compiled and installed with the modification.
Now, when I run configure on the SPL, I get the following error:
checking kernel source version... Not found
configure: error: *** Cannot find UTS_RELEASE definition.
It looks like I've done something wrong on the kernel build but I don't know what.I'm sorry I didn't see this before, but anyway I'm leaving this here in case someone else finds this through a search.
I encountered this error while configuring spl as well, though I had not built my own kernel. The definitions are provided by the kernel26-headers package.
For those interested in trying out zfs, there is as of 2011-05-31 an issue with zfs-0.6.0-rc4 + the Archlinux kernel (2.6.37 and 2.6.38 confirmed), that causes a deadlock when writing to a zfs pool, effectively making zfs unusable. There seems to be a way of configuring oneself out of this by recompiling the kernel. I shall update if I manage to get it to work.
More info here: https://github.com/behlendorf/zfs/issues/167 -
Having trouble compiling libdrm
checking for PTHREADSTUBS... configure: error: Package requirements (pthread-stubs) were not met:
No package 'pthread-stubs' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables PTHREADSTUBS_CFLAGS
and PTHREADSTUBS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Would anyone know how to fix this? I'm having horrible slowness with the intel driver, so i thought id compile it and see if that helps..but I get this error when trying to compile libdrm.uploaded pkgbuilds if you want them:
http://konni.giev.de/intel/
if you are lazy, there are packages as well.
ps: those pkgbuilds are far from perfect (basically i just replaced the version in the ones from abs) but seem to work -
Having trouble booting ArchCK kernel
i tried the one in the repositories, as well as compiling it with ABS (and optimizing for K7 and turning SMP off).
the kernel loads, and messages start spewing on the screen as usual, and it freezes on the following line.
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
and my computer freezes there. i need to do a hard reboot to get control back.
my grub entry is:
root /boot/vmlinuz26archck root=/dev/hda7 ro video=vesafb:1024x768-32@70
initrd /boot/initramfs-2.6.15-archck.img
any ideas? thanks!* bump *
i can confirm that this problem still occurs with 2.6.16.beyond4.1-1, with a full initramfs image
this is what i see on the screen (type-pasted):
PREFETCH window: d5d00000-ddcfffff
PCI: Bus 2, cardbus bridge: 0000
:00:0a.0
IO window: 00001000-000010ff
IO window: 000
01400-000014ff
PREFETCH window: 20000000-21ffffff
MEM window: 22000000-23ffffff
PCI: Found IRQ 10 for device 000
0:00:0a.0
PCI: Sharing IRQ 10 with 000:00:11.5
apm: BIOS versio
n 1.2 Flags 0x03 (Driver version 1.16ac)
apm: overridden by ACPI.
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries:
1024 (order 0, 4096 bytes)
Installing knfsd (copyright (C) 1996 [email protected]).
Initializing Cry
ptographic API
io scheduler noop registerd
io scheduler anticipartory registered -
HELP! Having Trouble Compiling my Programs
I am designing an application based solely on java, where the user is allowed to choose from a list of selected programs and then see the corresponding code in a textarea. I have my code entering into the textarea fine but when i want the code inside the textarea to compile and eventually execute, i cannot get it to work. i have the 'compile' and 'run' as buttons on my toolbar.
below i have included a web site address describing what i would like to do. It works on much the same basis except i am not using turtle graphics. i would appreciate some feedback on this, and some code would be an added bonus to tackle my problem. i have spent hours on this problem but still no further.
http://www.otherwise.com/Jurtle.html
I have also been looking at the classpath and making changes but still no luck. i have decided to include this as well as it might be the root to the problem. My programs are compiling fine in JCreator, but thats using jdk1.3.1, and as you can see from the code below i am now using jdk1.4 in JBuilder. This shouldn't cause an overlap problem should it?
Below is some of the code i have been working on:
public void jButtonCompile_actionPerformed(ActionEvent e) {
try {
String[] execArray = new String[7];
String classpath = new String();
execArray[0] = "c:/JBuilderX/jdk1.4/bin/javac.exe";
execArray[1] = "-deprecation";
execArray[2] = "-classpath";
execArray[3] = classpath.toString();
execArray[4] = "-sourcepath";
execArray[5] = "c:/Thesis/lib";
execArray[6] = "GUIcolor.java";
Process p = Runtime.getRuntime().exec(execArray);
catch (IOException ex) {
System.out.println(ex);
}.;C:\PROGRA~1\JMF21~1.1\lib\sound.jar;C:\PROGRA~1\JMF21~1.1\lib\jmf.jar;C:\JBuilderX\jdk1.4\src.jar;C:\JBuilderX\jdk1.4\lib\tools.jar;Give this a look:
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
MOD -
Having trouble Compiling using Textpad editor???
Hi, I Knew to java as well as computers and I need help? I downloaded the java kit and was using textpad as a text editor and every time i tried to compile it said it couldn't find my file, even though I just finished typing it??? Even when I to run in textpad it gives me the same message it gives everyone else "exception in "main" thread etc.; What is this classpath stuff? What do i do with it? If anyone can e-mail me or post the typing and steps on the forum I will very appreciative.Thanks again for your help. e-mail is [email protected]
I'll rephrase my description.
For win98:
1)Click start button
2)Click Run and Type msconfig
3) Select Autoexec tab and click 'New' if CLASSPATH variable is not present.
4) For new entry key in "CLASSPATH=C:\<jdk directory>\jre\lib\rt.jar"
* your jdk directory will either be jdk1.3 or jdk1.2
Click Ok and Reboot
For win2k or XP
1)Right click on my computer icon on your desktop
2)Select Properties
3)Click on the advanced tab
4)Click on environment variables
5)Under system variables at the bottom click 'New' if CLASSPATH variable is not present
6)For varibale name key in CLASSPATH
7)For variable value key in C:\<jdk directory>\jre\lib\rt.jar
* your jdk directory will either be jdk1.3 or jdk1.2
Click ok and You do not need to reboot
You should be able to compile your java code in textpad after completion of the appropriate steps above.
Maybe you are looking for
-
Mac Pro very slow with NAS (network attached storage) after OSX Update
*Hello,* **I seem to have a rather unknown problem because after hours of google'ing I found nothing.** **I'm working on a late 2008 Mac Pro with the 8 core Nehalem processor and 12 gigs of ram and some other hardware like a Blackmagic Decklink HD ex
-
Slow SQL output when table alias is NOT used in order by clause
Hi guys, My query is based on Oracle 9208 I have a table TAB1 with 68000 records with transaction_id as the primary key in this table (unique index). I have another TAB2 with the same number of records again with transaction_id in this table (foreign
-
How to get first 50 records from database using cmp beans 2.0?
does any body know how i should write ejb-statment to do that? thanks winnicki
-
Question about Java RMI/JNDI/IIOP and Linux IPCHAINS.
IPChains only recognises, per se, three protocols -TCP -UDIP -ICMP as I grasp things. Can one mention IIOP directly in an IPCHAINS firewall, or is one forced to allow one particular IP, by protocol and Port number? What is recommended for RMI and JND
-
i've downloade your flashplayer 11 and have had to get rid of it because it's not compatible with windows 8. when willyou have the correct flash player released?