Re: [arch-general] REG_RIP undeclared

2010-06-21 Thread Lukáš Jirkovský
I still see the problem. Is it possible that it's bug in GCC? Lukas

Re: [arch-general] REG_RIP undeclared

2010-06-06 Thread Lukáš Jirkovský
With this (rather ugly) patch it compiles. I don't see a difference between using this and ucontext.h only… Lukas

Re: [arch-general] REG_RIP undeclared

2010-06-06 Thread Lukáš Jirkovský
On 6 June 2010 18:21, Alexander 'hatred' Drozdoff wrote: > В Sun, 6 Jun 2010 18:06:26 +0200 > Lukáš Jirkovský пишет: > > LJ> 2010/6/6 Lukáš Jirkovský : > LJ> >>> > LJ> >> > LJ> >> Oh, now I see where the problem is. There are several includes named > ucontext.h > LJ> >> > LJ> >> Lukas > LJ> >> >

Re: [arch-general] REG_RIP undeclared

2010-06-06 Thread Alexander 'hatred' Drozdoff
В Sun, 6 Jun 2010 18:06:26 +0200 Lukáš Jirkovský пишет: LJ> 2010/6/6 Lukáš Jirkovský : LJ> >>> LJ> >> LJ> >> Oh, now I see where the problem is. There are several includes named ucontext.h LJ> >> LJ> >> Lukas LJ> >> LJ> > LJ> > OK, that's not the problem. I tried compiling it with -save-temps LJ

Re: [arch-general] REG_RIP undeclared

2010-06-06 Thread Alexander 'hatred' Drozdoff
В Sun, 6 Jun 2010 17:52:49 +0200 Lukáš Jirkovský пишет: LJ> >> LJ> > LJ> > Oh, now I see where the problem is. There are several includes named ucontext.h LJ> > LJ> > Lukas LJ> > LJ> LJ> OK, that's not the problem. I tried compiling it with -save-temps LJ> option passed to gcc and I see that th

Re: [arch-general] REG_RIP undeclared

2010-06-06 Thread Lukáš Jirkovský
2010/6/6 Lukáš Jirkovský : >>> >> >> Oh, now I see where the problem is. There are several includes named >> ucontext.h >> >> Lukas >> > > OK, that's not the problem. I tried compiling it with -save-temps > option passed to gcc and I see that the correct file is included but > for some reason the

Re: [arch-general] REG_RIP undeclared

2010-06-06 Thread Lukáš Jirkovský
>> > > Oh, now I see where the problem is. There are several includes named > ucontext.h > > Lukas > OK, that's not the problem. I tried compiling it with -save-temps option passed to gcc and I see that the correct file is included but for some reason the #ifdef __USE_GNU part is not included eve

Re: [arch-general] REG_RIP undeclared

2010-06-06 Thread Lukáš Jirkovský
2010/6/6 Lukáš Jirkovský : > On 6 June 2010 17:32, Alexander 'hatred' Drozdoff wrote: >> >> On my 64bit this macros defined in /usr/include/sys/ucontext.h >> >> Try at the top of source.c add: >> #define __USE_GNU >> #include >> >> -- >> WBR >> Alexander Drozdov >> FIDO: 2:5045/41.84 >> Site: htt

Re: [arch-general] REG_RIP undeclared

2010-06-06 Thread Lukáš Jirkovský
On 6 June 2010 17:32, Alexander 'hatred' Drozdoff wrote: > > On my 64bit this macros defined in /usr/include/sys/ucontext.h > > Try at the top of source.c add: > #define __USE_GNU > #include > > -- > WBR > Alexander Drozdov > FIDO: 2:5045/41.84 > Site: http://hatred.homelinux.net > Site: http://a

Re: [arch-general] REG_RIP undeclared

2010-06-06 Thread Alexander 'hatred' Drozdoff
В Sun, 6 Jun 2010 16:38:43 +0200 Lukáš Jirkovský пишет: LJ> Hello everyone, LJ> recently I've a problem building rawstudio-svn on x86_64. LJ> Unfortunately it seems that the problem doesn't lie in the rawstudio LJ> itself, because I'm not able to build any older revision which I was LJ> able to b

[arch-general] REG_RIP undeclared

2010-06-06 Thread Lukáš Jirkovský
Hello everyone, recently I've a problem building rawstudio-svn on x86_64. Unfortunately it seems that the problem doesn't lie in the rawstudio itself, because I'm not able to build any older revision which I was able to build before. The error is: application.c: In function ‘segfault_sigaction’: a