Re: [Xenomai-core] Latest snapshot (182) not compiling (kernel)

2005-11-29 Thread Philippe Gerum

Panagiotis Issaris wrote:

Hi Jan,

On 11/28/05, *Jan Kiszka* <[EMAIL PROTECTED] 
> wrote:


...
 > reference to `__raw_read_unlock'
 > kernel/built-in.o: In function `schedule_event':
 > /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:152:
undefined
 > reference to `__raw_read_lock'
 > /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:158:
undefined
 > reference to `__raw_read_unlock'
 > make[1]: *** [.tmp_vmlinux1] Error 1
 > make: *** [_all] Error 2
 >



ipipe-2.6.14-1.0-11 for x86 and ipipe-2.6.14-1.0-07 for ppc fix this.
Those patches are available from the Xenomai trunk, or from the Adeos dl 
area as usual.


--

Philippe.



Re: [Xenomai-core] Latest snapshot (182) not compiling (kernel)

2005-11-29 Thread Philippe Gerum

Panagiotis Issaris wrote:

Hi Jan,

On 11/28/05, *Jan Kiszka* <[EMAIL PROTECTED] 
> wrote:


...
 > reference to `__raw_read_unlock'
 > kernel/built-in.o: In function `schedule_event':
 > /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:152:
undefined
 > reference to `__raw_read_lock'
 > /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:158:
undefined
 > reference to `__raw_read_unlock'
 > make[1]: *** [.tmp_vmlinux1] Error 1
 > make: *** [_all] Error 2
 >



ipipe-2.6.14-1.0-11 for x86 and ipipe-2.6.14-1.0-07 for ppc fix this.
Those patches are available from the Xenomai trunk, or from the Adeos dl 
area as usual.


--

Philippe.

___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core


Re: [Xenomai-core] Latest snapshot (182) not compiling (kernel)

2005-11-28 Thread Philippe Gerum

Panagiotis Issaris wrote:

Hi Philippe,

On 11/28/05, *Philippe Gerum* <[EMAIL PROTECTED] > 
wrote:


Panagiotis Issaris wrote:
 > Hi,
 >
 > I'm also having issues compiling the latest Xenomai tree.
 >

Mm, dot-config would be great. TIA,

Sorry :)
The problem appears to be gone when disabling the interrupt shield. (An 
excerpt from my config can be found in my reply to Jan's e-mail.)




Confirmed here, there's indeed something fishy. Ok, I will look at this 
asap. Thanks,



With friendly regards,
Takis



--

Philippe.



Re: [Xenomai-core] Latest snapshot (182) not compiling (kernel)

2005-11-28 Thread Panagiotis Issaris
Hi Philippe,On 11/28/05, Philippe Gerum <[EMAIL PROTECTED]> wrote:
Panagiotis Issaris wrote:> Hi,>> I'm also having issues compiling the latest Xenomai tree.>Mm, dot-config would be great. TIA,Sorry :)The problem appears to be gone when disabling the interrupt shield. (An excerpt from my config can be found in my reply to Jan's e-mail.)
With friendly regards,Takis


Re: [Xenomai-core] Latest snapshot (182) not compiling (kernel)

2005-11-28 Thread Panagiotis Issaris
Hi Jan,On 11/28/05, Jan Kiszka <[EMAIL PROTECTED]> wrote:
 ...> reference to `__raw_read_unlock'> kernel/built-in.o: In function `schedule_event':> /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:152: undefined> reference to `__raw_read_lock'
> /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:158: undefined> reference to `__raw_read_unlock'> make[1]: *** [.tmp_vmlinux1] Error 1> make: *** [_all] Error 2>Kernel config...?
Sorry :) ## Real-time sub-system#CONFIG_XENOMAI=yCONFIG_XENO_OPT_NUCLEUS=yCONFIG_XENO_OPT_PERVASIVE=yCONFIG_XENO_OPT_PIPE=yCONFIG_XENO_OPT_PIPE_NRDEV=32CONFIG_XENO_OPT_SYS_HEAPSZ=128
CONFIG_XENO_OPT_ISHIELD=yCONFIG_XENO_OPT_STATS=y# CONFIG_XENO_OPT_DEBUG is not set# CONFIG_XENO_OPT_WATCHDOG is not set## Scalability## CONFIG_XENO_OPT_SCALABLE_SCHED is not set
## Machine#CONFIG_XENO_HW_FPU=yCONFIG_XENO_HW_PERIODIC_TIMER=yCONFIG_XENO_HW_TIMER_LATENCY=0CONFIG_XENO_HW_SCHED_LATENCY=0## NMI watchdog## CONFIG_XENO_HW_NMI_DEBUG_LATENCY is not set
## SMI workaround## CONFIG_XENO_HW_SMI_DETECT_DISABLE is not setCONFIG_XENO_HW_SMI_DETECT=y# CONFIG_XENO_HW_SMI_WORKAROUND is not set## Interfaces#CONFIG_XENO_SKIN_NATIVE=y
CONFIG_XENO_OPT_NATIVE_REGISTRY=yCONFIG_XENO_OPT_NATIVE_REGISTRY_NRSLOTS=512CONFIG_XENO_OPT_NATIVE_PIPE=yCONFIG_XENO_OPT_NATIVE_PIPE_BUFSZ=4096CONFIG_XENO_OPT_NATIVE_SEM=yCONFIG_XENO_OPT_NATIVE_EVENT=y
CONFIG_XENO_OPT_NATIVE_MUTEX=yCONFIG_XENO_OPT_NATIVE_COND=yCONFIG_XENO_OPT_NATIVE_QUEUE=yCONFIG_XENO_OPT_NATIVE_HEAP=yCONFIG_XENO_OPT_NATIVE_ALARM=yCONFIG_XENO_OPT_NATIVE_MPS=yCONFIG_XENO_OPT_NATIVE_INTR=y
CONFIG_XENO_SKIN_POSIX=y# CONFIG_XENO_SKIN_PSOS is not set# CONFIG_XENO_SKIN_UITRON is not set# CONFIG_XENO_SKIN_VRTX is not set# CONFIG_XENO_SKIN_VXWORKS is not set# CONFIG_XENO_SKIN_RTAI is not set
CONFIG_XENO_SKIN_RTDM=y# CONFIG_XENO_SKIN_UVM is not set## Drivers## CONFIG_XENO_DRIVERS_16550A is not set 
Do you happen to have the IRQ shield switched on? May it's a regressionrelated to this per-default-off feature.Indeed! I disabled the IRQ shield and the linking error is gone! Thanks! :)
With friendly regards,Takis


Re: [Xenomai-core] Latest snapshot (182) not compiling (kernel)

2005-11-28 Thread Philippe Gerum

Panagiotis Issaris wrote:

Hi,

I'm also having issues compiling the latest Xenomai tree.



Mm, dot-config would be great. TIA,



On 11/25/05, *Ignacio García Pérez* <[EMAIL PROTECTED]
> wrote:

Hi,

I dunno what's changed, but I updated my xenomai snapshot to the latest
revision (182) and the kernel no longer compiles (fails due to some
xnpod_* undefined symbols).

Revision 179 compiled fine.



I'm using revision 199 on a x86 Ubuntu 5.10 system with GCC 4.0.1 (is 
anyone else using that one?).



  LD  init/built-in.o
  LD  .tmp_vmlinux1
kernel/built-in.o: In function `disengage_irq_shield':
/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:176: 
undefined reference to `__raw_write_lock'
/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:207: 
undefined reference to `__raw_write_unlock'
/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:186: 
undefined reference to `__raw_write_unlock'

kernel/built-in.o: In function `xnshadow_reset_shield':
/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:152: 
undefined reference to `__raw_read_lock'
/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:158: 
undefined reference to `__raw_read_unlock'

kernel/built-in.o: In function `lostage_handler':
/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:152: 
undefined reference to `__raw_read_lock'
/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:158: 
undefined reference to `__raw_read_unlock'

kernel/built-in.o: In function `xnshadow_relax':
/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:152: 
undefined reference to `__raw_read_lock'
/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:158: 
undefined reference to `__raw_read_unlock'

kernel/built-in.o: In function `schedule_event':
/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:152: 
undefined reference to `__raw_read_lock'
/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:158: 
undefined reference to `__raw_read_unlock'

make[1]: *** [.tmp_vmlinux1] Error 1
make: *** [_all] Error 2


With friendly regards,
Takis




___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core



--

Philippe.



Re: [Xenomai-core] Latest snapshot (182) not compiling (kernel)

2005-11-28 Thread Jan Kiszka
Panagiotis Issaris wrote:
> Hi,
> 
> I'm also having issues compiling the latest Xenomai tree.
> 
> 
> On 11/25/05, Ignacio García Pérez <[EMAIL PROTECTED] > wrote:
>> Hi,
>>
>> I dunno what's changed, but I updated my xenomai snapshot to the latest
>> revision (182) and the kernel no longer compiles (fails due to some
>> xnpod_* undefined symbols).
>>
>> Revision 179 compiled fine.
> 
> 
> 
> I'm using revision 199 on a x86 Ubuntu 5.10 system with GCC 4.0.1 (is anyone
> else using that one?).
> 
> 
>   LD  init/built-in.o
>   LD  .tmp_vmlinux1
> kernel/built-in.o: In function `disengage_irq_shield':
> /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:176: undefined
> reference to `__raw_write_lock'
> /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:207: undefined
> reference to `__raw_write_unlock'
> /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:186: undefined
> reference to `__raw_write_unlock'
> kernel/built-in.o: In function `xnshadow_reset_shield':
> /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:152: undefined
> reference to `__raw_read_lock'
> /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:158: undefined
> reference to `__raw_read_unlock'
> kernel/built-in.o: In function `lostage_handler':
> /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:152: undefined
> reference to `__raw_read_lock'
> /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:158: undefined
> reference to `__raw_read_unlock'
> kernel/built-in.o: In function `xnshadow_relax':
> /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:152: undefined
> reference to `__raw_read_lock'
> /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:158: undefined
> reference to `__raw_read_unlock'
> kernel/built-in.o: In function `schedule_event':
> /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:152: undefined
> reference to `__raw_read_lock'
> /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:158: undefined
> reference to `__raw_read_unlock'
> make[1]: *** [.tmp_vmlinux1] Error 1
> make: *** [_all] Error 2
> 

Kernel config...?

Do you happen to have the IRQ shield switched on? May it's a regression
related to this per-default-off feature.

Jan



signature.asc
Description: OpenPGP digital signature


Re: [Xenomai-core] Latest snapshot (182) not compiling (kernel)

2005-11-28 Thread Panagiotis Issaris
Hi,I'm also having issues compiling the latest Xenomai tree.On 11/25/05, Ignacio García Pérez
 <[EMAIL PROTECTED]
> wrote:Hi,I dunno what's changed, but I updated my xenomai snapshot to the latest
revision (182) and the kernel no longer compiles (fails due to somexnpod_* undefined symbols).Revision 179 compiled fine.I'm using revision 199 on a x86 Ubuntu 5.10 system with GCC 
4.0.1 (is anyone else using that one?).  LD  init/built-in.o  LD  .tmp_vmlinux1kernel/built-in.o: In function `disengage_irq_shield':/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:176: undefined reference to `__raw_write_lock'
/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:207: undefined reference to `__raw_write_unlock'/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:186: undefined reference to `__raw_write_unlock'
kernel/built-in.o: In function `xnshadow_reset_shield':/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:152: undefined reference to `__raw_read_lock'/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:158: undefined reference to `__raw_read_unlock'
kernel/built-in.o: In function `lostage_handler':/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:152: undefined reference to `__raw_read_lock'/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:158: undefined reference to `__raw_read_unlock'
kernel/built-in.o: In function `xnshadow_relax':/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:152: undefined reference to `__raw_read_lock'/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:158: undefined reference to `__raw_read_unlock'
kernel/built-in.o: In function `schedule_event':/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:152: undefined reference to `__raw_read_lock'/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:158: undefined reference to `__raw_read_unlock'
make[1]: *** [.tmp_vmlinux1] Error 1make: *** [_all] Error 2With friendly regards,Takis



Re: [Xenomai-core] Latest snapshot (182) not compiling (kernel)

2005-11-28 Thread Philippe Gerum

Panagiotis Issaris wrote:

Hi Philippe,

On 11/28/05, *Philippe Gerum* <[EMAIL PROTECTED] > 
wrote:


Panagiotis Issaris wrote:
 > Hi,
 >
 > I'm also having issues compiling the latest Xenomai tree.
 >

Mm, dot-config would be great. TIA,

Sorry :)
The problem appears to be gone when disabling the interrupt shield. (An 
excerpt from my config can be found in my reply to Jan's e-mail.)




Confirmed here, there's indeed something fishy. Ok, I will look at this 
asap. Thanks,



With friendly regards,
Takis



--

Philippe.

___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core


Re: [Xenomai-core] Latest snapshot (182) not compiling (kernel)

2005-11-28 Thread Panagiotis Issaris
Hi Philippe,On 11/28/05, Philippe Gerum <[EMAIL PROTECTED]> wrote:
Panagiotis Issaris wrote:> Hi,>> I'm also having issues compiling the latest Xenomai tree.>Mm, dot-config would be great. TIA,Sorry :)The problem appears to be gone when disabling the interrupt shield. (An excerpt from my config can be found in my reply to Jan's e-mail.)
With friendly regards,Takis
___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core


Re: [Xenomai-core] Latest snapshot (182) not compiling (kernel)

2005-11-28 Thread Panagiotis Issaris
Hi Jan,On 11/28/05, Jan Kiszka <[EMAIL PROTECTED]> wrote:
 ...> reference to `__raw_read_unlock'> kernel/built-in.o: In function `schedule_event':> /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:152: undefined> reference to `__raw_read_lock'
> /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:158: undefined> reference to `__raw_read_unlock'> make[1]: *** [.tmp_vmlinux1] Error 1> make: *** [_all] Error 2>Kernel config...?
Sorry :) ## Real-time sub-system#CONFIG_XENOMAI=yCONFIG_XENO_OPT_NUCLEUS=yCONFIG_XENO_OPT_PERVASIVE=yCONFIG_XENO_OPT_PIPE=yCONFIG_XENO_OPT_PIPE_NRDEV=32CONFIG_XENO_OPT_SYS_HEAPSZ=128
CONFIG_XENO_OPT_ISHIELD=yCONFIG_XENO_OPT_STATS=y# CONFIG_XENO_OPT_DEBUG is not set# CONFIG_XENO_OPT_WATCHDOG is not set## Scalability## CONFIG_XENO_OPT_SCALABLE_SCHED is not set
## Machine#CONFIG_XENO_HW_FPU=yCONFIG_XENO_HW_PERIODIC_TIMER=yCONFIG_XENO_HW_TIMER_LATENCY=0CONFIG_XENO_HW_SCHED_LATENCY=0## NMI watchdog## CONFIG_XENO_HW_NMI_DEBUG_LATENCY is not set
## SMI workaround## CONFIG_XENO_HW_SMI_DETECT_DISABLE is not setCONFIG_XENO_HW_SMI_DETECT=y# CONFIG_XENO_HW_SMI_WORKAROUND is not set## Interfaces#CONFIG_XENO_SKIN_NATIVE=y
CONFIG_XENO_OPT_NATIVE_REGISTRY=yCONFIG_XENO_OPT_NATIVE_REGISTRY_NRSLOTS=512CONFIG_XENO_OPT_NATIVE_PIPE=yCONFIG_XENO_OPT_NATIVE_PIPE_BUFSZ=4096CONFIG_XENO_OPT_NATIVE_SEM=yCONFIG_XENO_OPT_NATIVE_EVENT=y
CONFIG_XENO_OPT_NATIVE_MUTEX=yCONFIG_XENO_OPT_NATIVE_COND=yCONFIG_XENO_OPT_NATIVE_QUEUE=yCONFIG_XENO_OPT_NATIVE_HEAP=yCONFIG_XENO_OPT_NATIVE_ALARM=yCONFIG_XENO_OPT_NATIVE_MPS=yCONFIG_XENO_OPT_NATIVE_INTR=y
CONFIG_XENO_SKIN_POSIX=y# CONFIG_XENO_SKIN_PSOS is not set# CONFIG_XENO_SKIN_UITRON is not set# CONFIG_XENO_SKIN_VRTX is not set# CONFIG_XENO_SKIN_VXWORKS is not set# CONFIG_XENO_SKIN_RTAI is not set
CONFIG_XENO_SKIN_RTDM=y# CONFIG_XENO_SKIN_UVM is not set## Drivers## CONFIG_XENO_DRIVERS_16550A is not set 
Do you happen to have the IRQ shield switched on? May it's a regressionrelated to this per-default-off feature.Indeed! I disabled the IRQ shield and the linking error is gone! Thanks! :)
With friendly regards,Takis
___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core


Re: [Xenomai-core] Latest snapshot (182) not compiling (kernel)

2005-11-28 Thread Philippe Gerum

Panagiotis Issaris wrote:

Hi,

I'm also having issues compiling the latest Xenomai tree.



Mm, dot-config would be great. TIA,



On 11/25/05, *Ignacio García Pérez* <[EMAIL PROTECTED] 
> wrote:


Hi,

I dunno what's changed, but I updated my xenomai snapshot to the latest
revision (182) and the kernel no longer compiles (fails due to some
xnpod_* undefined symbols).

Revision 179 compiled fine.



I'm using revision 199 on a x86 Ubuntu 5.10 system with GCC 4.0.1 (is 
anyone else using that one?).



  LD  init/built-in.o
  LD  .tmp_vmlinux1
kernel/built-in.o: In function `disengage_irq_shield':
/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:176: 
undefined reference to `__raw_write_lock'
/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:207: 
undefined reference to `__raw_write_unlock'
/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:186: 
undefined reference to `__raw_write_unlock'

kernel/built-in.o: In function `xnshadow_reset_shield':
/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:152: 
undefined reference to `__raw_read_lock'
/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:158: 
undefined reference to `__raw_read_unlock'

kernel/built-in.o: In function `lostage_handler':
/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:152: 
undefined reference to `__raw_read_lock'
/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:158: 
undefined reference to `__raw_read_unlock'

kernel/built-in.o: In function `xnshadow_relax':
/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:152: 
undefined reference to `__raw_read_lock'
/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:158: 
undefined reference to `__raw_read_unlock'

kernel/built-in.o: In function `schedule_event':
/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:152: 
undefined reference to `__raw_read_lock'
/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:158: 
undefined reference to `__raw_read_unlock'

make[1]: *** [.tmp_vmlinux1] Error 1
make: *** [_all] Error 2


With friendly regards,
Takis




___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core



--

Philippe.

___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core


Re: [Xenomai-core] Latest snapshot (182) not compiling (kernel)

2005-11-28 Thread Jan Kiszka
Panagiotis Issaris wrote:
> Hi,
> 
> I'm also having issues compiling the latest Xenomai tree.
> 
> 
> On 11/25/05, Ignacio García Pérez <[EMAIL PROTECTED] > wrote:
>> Hi,
>>
>> I dunno what's changed, but I updated my xenomai snapshot to the latest
>> revision (182) and the kernel no longer compiles (fails due to some
>> xnpod_* undefined symbols).
>>
>> Revision 179 compiled fine.
> 
> 
> 
> I'm using revision 199 on a x86 Ubuntu 5.10 system with GCC 4.0.1 (is anyone
> else using that one?).
> 
> 
>   LD  init/built-in.o
>   LD  .tmp_vmlinux1
> kernel/built-in.o: In function `disengage_irq_shield':
> /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:176: undefined
> reference to `__raw_write_lock'
> /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:207: undefined
> reference to `__raw_write_unlock'
> /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:186: undefined
> reference to `__raw_write_unlock'
> kernel/built-in.o: In function `xnshadow_reset_shield':
> /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:152: undefined
> reference to `__raw_read_lock'
> /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:158: undefined
> reference to `__raw_read_unlock'
> kernel/built-in.o: In function `lostage_handler':
> /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:152: undefined
> reference to `__raw_read_lock'
> /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:158: undefined
> reference to `__raw_read_unlock'
> kernel/built-in.o: In function `xnshadow_relax':
> /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:152: undefined
> reference to `__raw_read_lock'
> /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:158: undefined
> reference to `__raw_read_unlock'
> kernel/built-in.o: In function `schedule_event':
> /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:152: undefined
> reference to `__raw_read_lock'
> /usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:158: undefined
> reference to `__raw_read_unlock'
> make[1]: *** [.tmp_vmlinux1] Error 1
> make: *** [_all] Error 2
> 

Kernel config...?

Do you happen to have the IRQ shield switched on? May it's a regression
related to this per-default-off feature.

Jan



signature.asc
Description: OpenPGP digital signature
___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core


Re: [Xenomai-core] Latest snapshot (182) not compiling (kernel)

2005-11-28 Thread Panagiotis Issaris
Hi,I'm also having issues compiling the latest Xenomai tree.On 11/25/05, Ignacio García Pérez
 <[EMAIL PROTECTED]
> wrote:Hi,I dunno what's changed, but I updated my xenomai snapshot to the latest
revision (182) and the kernel no longer compiles (fails due to somexnpod_* undefined symbols).Revision 179 compiled fine.I'm using revision 199 on a x86 Ubuntu 5.10 system with GCC 
4.0.1 (is anyone else using that one?).  LD  init/built-in.o  LD  .tmp_vmlinux1kernel/built-in.o: In function `disengage_irq_shield':/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:176: undefined reference to `__raw_write_lock'
/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:207: undefined reference to `__raw_write_unlock'/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:186: undefined reference to `__raw_write_unlock'
kernel/built-in.o: In function `xnshadow_reset_shield':/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:152: undefined reference to `__raw_read_lock'/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:158: undefined reference to `__raw_read_unlock'
kernel/built-in.o: In function `lostage_handler':/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:152: undefined reference to `__raw_read_lock'/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:158: undefined reference to `__raw_read_unlock'
kernel/built-in.o: In function `xnshadow_relax':/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:152: undefined reference to `__raw_read_lock'/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:158: undefined reference to `__raw_read_unlock'
kernel/built-in.o: In function `schedule_event':/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:152: undefined reference to `__raw_read_lock'/usr/local/src/linux-2.6.14/kernel/xenomai/nucleus/shadow.c:158: undefined reference to `__raw_read_unlock'
make[1]: *** [.tmp_vmlinux1] Error 1make: *** [_all] Error 2With friendly regards,Takis

___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core