[arch-general] REG_RIP undeclared

Lukáš Jirkovský l.jirkovsky at gmail.com
Sun Jun 6 11:38:10 EDT 2010


2010/6/6 Lukáš Jirkovský <l.jirkovsky at gmail.com>:
> On 6 June 2010 17:32, Alexander 'hatred' Drozdoff <adrozdoff at gmail.com> 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 <sys/ucontext.h>
>>
>> --
>> WBR
>> Alexander Drozdov
>> FIDO: 2:5045/41.84
>> Site: http://hatred.homelinux.net
>> Site: http://archlinux.org.ru
>>
>
> Hi Alexander,
> the code you suggest is already here but it doesn't work.
>
> To be honest I didn't look into the ucontext.h code before so I
> interpreted the results grep returned as making an alias to the
> already defined name. The enum defined in ucontext.h looks functional
> so I don't have any idea what's going on.
>

Oh, now I see where the problem is. There are several includes named ucontext.h

Lukas


More information about the arch-general mailing list