compile problems for Nat'l Instruments software - help, anyone?
Hello all! I am new here (and pretty new to Linux, for that matter) and was referred here for some assistance. Recently I built an AMD Sempron machine for my lab and installed SuSE 10.0 x86_64. I want to install and run National Instruments software (LabVIEW, NIDAQmx) to control my DAQ PCI card. There is a problem, however, with the compiling of the NI-KAL kernel module, upon which the rest of the installation seems to depend. The "./configure" script that I need to run prior to my "make" checks for a file called /usr/src/linux/include/asm/asm_offsets.h and returns an "kernel not configured correctly" error. I do not seem to have this file and find no indication that my kernel (2.6.13-15.7) is even supposed to. Can anyone tell me what this means, or if it is even possible to make the file myself? jonathan
Hi Jonathan, please install the kernel-source package which contains the kernel development tree. - José Luis Jonathan Puthoff wrote:
Hello all! I am new here (and pretty new to Linux, for that matter) and was referred here for some assistance.
Recently I built an AMD Sempron machine for my lab and installed SuSE 10.0 x86_64. I want to install and run National Instruments software (LabVIEW, NIDAQmx) to control my DAQ PCI card. There is a problem, however, with the compiling of the NI-KAL kernel module, upon which the rest of the installation seems to depend. The "./configure" script that I need to run prior to my "make" checks for a file called /usr/src/linux/include/asm/asm_offsets.h and returns an "kernel not configured correctly" error. I do not seem to have this file and find no indication that my kernel (2.6.13-15.7) is even supposed to. Can anyone tell me what this means, or if it is even possible to make the file myself?
jonathan
* Jonathan Puthoff (jputhoff@wisc.edu) [20060208 17:11]:
rest of the installation seems to depend. The "./configure" script that I need to run prior to my "make" checks for a file called /usr/src/linux/include/asm/asm_offsets.h and returns an "kernel not configured correctly" error.
Install the kernel-source rpm, then do cd /usr/src/linux make cloneconfig make prepare-all That should be all that's needed for the NI softwafre install. Philipp
On Wednesday 08 February 2006 17:11, Jonathan Puthoff wrote:
Hello all! I am new here (and pretty new to Linux, for that matter) and was referred here for some assistance.
Recently I built an AMD Sempron machine for my lab and installed SuSE 10.0 x86_64. I want to install and run National Instruments software (LabVIEW, NIDAQmx) to control my DAQ PCI card. There is a problem, however, with the compiling of the NI-KAL kernel module, upon which the rest of the installation seems to depend. The "./configure" script that I need to run prior to my "make" checks for a file called /usr/src/linux/include/asm/asm_offsets.h
The configure script is broken. Standard way to get the includes for the current kernel is /lib/modules/`uname -r`/build/include
and returns an "kernel not configured correctly" error. I do not seem to have this file and find no indication that my kernel (2.6.13-15.7) is even supposed to. Can anyone tell me what this means, or if it is even possible to make the file myself?
Read /usr/src/linux/README.SUSE -Andi
Hi, I've got an HP NX6125 notebook (Turion64 ML-34, ATI chipset, SuSE 10 AMD64, 2.6.13-15.8-default). The machine works well, except suspend and some powersaved related stuff. With the latest kernel, I get the following kind of messages: Feb 12 16:05:57 farkas [powersave]: DIAG (handleHWEventRequest:129) ACPI Event: 'processor C000 00000080 00000000' ignore buttons: no Feb 12 16:05:57 farkas [powersave]: DIAG (handleHWEventRequest:256) unassigned HW event, using [other]. type 'processor' dev_name 'C000' port '00000080' count '00000000' Feb 12 16:06:30 farkas kernel: APIC error on CPU0: 40(40) Feb 12 16:14:34 farkas kernel: APIC error on CPU0: 40(40) Feb 12 16:17:40 farkas [powersave]: DIAG (handleHWEventRequest:129) ACPI Event: 'processor C000 00000080 00000002' ignore buttons: no Feb 12 16:17:40 farkas [powersave]: DIAG (handleHWEventRequest:256) unassigned HW event, using [other]. type 'processor' dev_name 'C000' port '00000080' count '00000002' Feb 12 16:17:40 farkas [powersave]: DIAG (handleHWEventRequest:129) ACPI Event: 'processor C000 00000080 00000000' ignore buttons: no Feb 12 16:17:40 farkas [powersave]: DIAG (handleHWEventRequest:256) unassigned HW event, using [other]. type 'processor' dev_name 'C000' port '00000080' count '00000000' Feb 12 16:17:41 farkas [powersave]: DIAG (handleHWEventRequest:129) ACPI Event: 'processor C000 00000080 00000002' ignore buttons: no Feb 12 16:17:41 farkas [powersave]: DIAG (handleHWEventRequest:256) unassigned HW event, using [other]. type 'processor' dev_name 'C000' port '00000080' count '00000002' Feb 12 16:17:41 farkas [powersave]: DIAG (handleHWEventRequest:129) ACPI Event: 'processor C000 00000080 00000000' ignore buttons: no Feb 12 16:17:41 farkas [powersave]: DIAG (handleHWEventRequest:256) unassigned HW event, using [other]. type 'processor' dev_name 'C000' port '00000080' count '00000000' Feb 12 16:17:41 farkas [powersave]: DIAG (handleHWEventRequest:129) ACPI Event: 'processor C000 00000080 00000002' ignore buttons: no Feb 12 16:17:41 farkas [powersave]: DIAG (handleHWEventRequest:256) unassigned HW event, using [other]. type 'processor' dev_name 'C000' port '00000080' count '00000002' Feb 12 16:17:41 farkas [powersave]: DIAG (handleHWEventRequest:129) ACPI Event: 'processor C000 00000080 00000000' ignore buttons: no Feb 12 16:17:41 farkas [powersave]: DIAG (handleHWEventRequest:256) unassigned HW event, using [other]. type 'processor' dev_name 'C000' port '00000080' count '00000000' In general, powersave is not stable on the machine, It does not poll the temperature automatically, turns on fans (if the temperature is high enough) only if the temeperature is read manually eg. via powersave -T. Sometimes it cannot even turn on the fans. Otherwise, the setup seems to be fine: # powersave -T Thermal Device no. 0: Temperature: 32 Critical: 100 Passive: 60 Thermal Device no. 1: Temperature: 57 Critical: 100 Passive: 90 Thermal Device no. 2: Temperature: 51 Critical: 95 Passive: 88 Active 0: 80 Active 1: 75 Active 2: 65 Active 3: 58 There are 4 reported fans: # ls /proc/acpi/fan/ . .. C260 C261 C262 C263 # cat /proc/acpi/fan/C26?/* status: off status: off status: off status: off Is there any way to make powesaved doing a better job? Thanks! Best wishes, Ödön -- Ödön Farkas Research associate professor Deparment of Organic Chemistry, Institute of Chemistry, Eötvös Loránd University, Budapest Address: 1/A Pázmány Péter sétány, H-1117 Budapest, Hungary Phone: +36-1-372-2570 Cell phone: +36-30-255-3111 Fax: +36-1-372-2620 URL: http://organ.elte.hu/farkas
participants (5)
-
Andi Kleen
-
Jonathan Puthoff
-
Jose Luis Ricardo Chavez
-
Philipp Thomas
-
Ödön Farkas