Re: REG_RIP undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



2010/6/6 Lukáš Jirkovský <l.jirkovsky@xxxxxxxxx>:
> On 6 June 2010 17:32, Alexander 'hatred' Drozdoff <adrozdoff@xxxxxxxxx> 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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux