Skip to contentSkip to conversation

ubuntu15.04 - xenomai3.0.1 - kernel 3.18.20 - build error

Xenomai 박재홍 2 participants 4 messages Feb 3, 2016 – Feb 4, 2016

lore
Share & tools
lore

박재홍

author
#0 lore raw

hello

after ipipe patched, build error

# cd linux-3.18.20
# ../xenomai-3.0.1/scripts/prepare-kernel.sh --arch=x86_64 --ipipe=../ipipe-core-3.18.20-x86-4.patch
# make menuconfig 
-> "Power Management and ACPI options" -- "CPU Frequency scaling" -- "CPU Frequency scaling"
-> "Power Management and ACPI options" -- "ACPI(~) Support" -- "Processor"
-> "Power Management and ACPI options" -- "Cpuidle Driver for Intel Processors"
-> "Power Management and ACPI options" -- "CPU idle PM Support"
-> "Bus options(PCI etc.)" -- "Message Signaled Interrupts (MSI and MSI-X)"
-> "Device Drivers" -- "Input device support" -- "Miscellaneous devices" -- "PC Speaker support"
all disabled

#make

##################error###############################################3

  CC [M]  drivers/net/wireless/rtlwifi/rtl8192ee/trx.o
  CC [M]  drivers/staging/unisys/uislib/uisutils.o
  CC [M]  drivers/usb/misc/lvstest.o
  CC [M]  drivers/uwb/umc-drv.o
  CC [M]  drivers/staging/speakup/thread.o
  CC [M]  drivers/uwb/whci.o
  CC [M]  drivers/net/wireless/rtlwifi/rtl8192se/sw.o
drivers/staging/unisys/uislib/uisutils.c: In function ‘uisctrl_register_req_handler’:
drivers/staging/unisys/uislib/uisutils.c:101:8: error: ‘VERSION’ undeclared (first use in this function)
        VERSION, NULL);
        ^
drivers/staging/unisys/uislib/uisutils.c:101:8: note: each undeclared identifier is reported only once for each function it appears in
drivers/staging/unisys/uislib/uisutils.c: In function ‘uisctrl_register_req_handler_ex’:
drivers/staging/unisys/uislib/uisutils.c:154:19: error: ‘VERSION’ undeclared (first use in this function)
         "uislib", VERSION, NULL);
                   ^

scripts/Makefile.build:257: recipe for target 'drivers/staging/unisys/uislib/uisutils.o' failed make[5]: *** [drivers/staging/unisys/uislib/uisutils.o] Error 1 scripts/Makefile.build:402: recipe for target 'drivers/staging/unisys/uislib' failed make[4]: *** [drivers/staging/unisys/uislib] Error 2
scripts/Makefile.build:402: recipe for target 'drivers/staging/unisys' failed make[3]: *** [drivers/staging/unisys] Error 2
make[3]: *** 끝나지 않은 작업을 기다리고 있습니다....

  CC [M]  drivers/net/wireless/rtlwifi/rtl8192se/table.o
  CC [M]  drivers/staging/speakup/varhandlers.o
  CC [M]  drivers/staging/rtl8723au/os_dep/usb_intf.o
  CC [M]  drivers/usb/misc/sisusbvga/sisusb.o
  LD [M]  drivers/net/wireless/rtlwifi/rtl8192ee/rtl8192ee.o
  CC [M]  drivers/usb/misc/sisusbvga/sisusb_init.o
  CC [M]  drivers/usb/misc/sisusbvga/sisusb_con.o

########################################################################################

help me please

#1 lore raw
Quoted 53 lines · 박재홍

hello

after ipipe patched, build error

# cd linux-3.18.20
# ../xenomai-3.0.1/scripts/prepare-kernel.sh --arch=x86_64 --ipipe=../ipipe-core-3.18.20-x86-4.patch
# make menuconfig 
-> "Power Management and ACPI options" -- "CPU Frequency scaling" -- "CPU Frequency scaling"
-> "Power Management and ACPI options" -- "ACPI(~) Support" -- "Processor"
-> "Power Management and ACPI options" -- "Cpuidle Driver for Intel Processors"
-> "Power Management and ACPI options" -- "CPU idle PM Support"
-> "Bus options(PCI etc.)" -- "Message Signaled Interrupts (MSI and MSI-X)"
-> "Device Drivers" -- "Input device support" -- "Miscellaneous devices" -- "PC Speaker support"
all disabled

#make

##################error###############################################3

  CC [M]  drivers/net/wireless/rtlwifi/rtl8192ee/trx.o
  CC [M]  drivers/staging/unisys/uislib/uisutils.o
  CC [M]  drivers/usb/misc/lvstest.o
  CC [M]  drivers/uwb/umc-drv.o
  CC [M]  drivers/staging/speakup/thread.o
  CC [M]  drivers/uwb/whci.o
  CC [M]  drivers/net/wireless/rtlwifi/rtl8192se/sw.o
drivers/staging/unisys/uislib/uisutils.c: In function ‘uisctrl_register_req_handler’:
drivers/staging/unisys/uislib/uisutils.c:101:8: error: ‘VERSION’ undeclared (first use in this function)
        VERSION, NULL);
        ^
drivers/staging/unisys/uislib/uisutils.c:101:8: note: each undeclared identifier is reported only once for each function it appears in
drivers/staging/unisys/uislib/uisutils.c: In function ‘uisctrl_register_req_handler_ex’:
drivers/staging/unisys/uislib/uisutils.c:154:19: error: ‘VERSION’ undeclared (first use in this function)
         "uislib", VERSION, NULL);
                   ^

scripts/Makefile.build:257: recipe for target 'drivers/staging/unisys/uislib/uisutils.o' failed make[5]: *** [drivers/staging/unisys/uislib/uisutils.o] Error 1 scripts/Makefile.build:402: recipe for target 'drivers/staging/unisys/uislib' failed make[4]: *** [drivers/staging/unisys/uislib] Error 2
scripts/Makefile.build:402: recipe for target 'drivers/staging/unisys' failed make[3]: *** [drivers/staging/unisys] Error 2
make[3]: *** 끝나지 않은 작업을 기다리고 있습니다....

  CC [M]  drivers/net/wireless/rtlwifi/rtl8192se/table.o
  CC [M]  drivers/staging/speakup/varhandlers.o
  CC [M]  drivers/staging/rtl8723au/os_dep/usb_intf.o
  CC [M]  drivers/usb/misc/sisusbvga/sisusb.o
  LD [M]  drivers/net/wireless/rtlwifi/rtl8192ee/rtl8192ee.o
  CC [M]  drivers/usb/misc/sisusbvga/sisusb_init.o
  CC [M]  drivers/usb/misc/sisusbvga/sisusb_con.o
Quoted 3 lines

########################################################################################

help me please

Hi,

assuming you do not need it, could you try and disable the option:
CONFIG_UNISYSSPAR
?

Regards.

Signature · 2 lines
					    Gilles.
https://click-hack.org
#2 lore raw
In reply to 박재홍
Quoted 7 lines · 박재홍

hello

after ipipe patched, build error

# cd linux-3.18.20
Quoted 8 lines
# ../xenomai-3.0.1/scripts/prepare-kernel.sh --arch=x86_64 --ipipe=../ipipe-core-3.18.20-x86-4.patch
# make menuconfig 
-> "Power Management and ACPI options" -- "CPU Frequency scaling" -- "CPU Frequency scaling"
-> "Power Management and ACPI options" -- "ACPI(~) Support" -- "Processor"
-> "Power Management and ACPI options" -- "Cpuidle Driver for Intel Processors"
-> "Power Management and ACPI options" -- "CPU idle PM Support"
-> "Bus options(PCI etc.)" -- "Message Signaled Interrupts (MSI and MSI-X)"

Enabling MSI/MSI-X is recommended, as it helps avoiding irqs lines to be shared between real-time and non real-time drivers.

Signature · 2 lines
					    Gilles.
https://click-hack.org
#3 lore raw
Quoted 17 lines · Gilles Chanteperdrix
Quoted 7 lines · 박재홍

hello

after ipipe patched, build error

# cd linux-3.18.20
Quoted 8 lines
# ../xenomai-3.0.1/scripts/prepare-kernel.sh --arch=x86_64 --ipipe=../ipipe-core-3.18.20-x86-4.patch
# make menuconfig 
-> "Power Management and ACPI options" -- "CPU Frequency scaling" -- "CPU Frequency scaling"
-> "Power Management and ACPI options" -- "ACPI(~) Support" -- "Processor"
-> "Power Management and ACPI options" -- "Cpuidle Driver for Intel Processors"
-> "Power Management and ACPI options" -- "CPU idle PM Support"
-> "Bus options(PCI etc.)" -- "Message Signaled Interrupts (MSI and MSI-X)"
Quoted 2 lines

Enabling MSI/MSI-X is recommended, as it helps avoiding irqs lines to be shared between real-time and non real-time drivers.

If you are interesting in testing rapidly xenomai on an x86 machine, you could try the live cd:

http://xenomai.org/~gch/xeno-live.iso

Signature · 2 lines
					    Gilles.
https://click-hack.org